Changeset 4218 for exist


Ignore:
Timestamp:
23/09/08 09:42:49 (11 years ago)
Author:
cbyrom
Message:

Finish adding details of all the subtype vocab terms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgUtils/vocabtermdata.py

    r4217 r4218  
    4242    DE_TERM = "DE" 
    4343     
     44    # dpt subtypes 
    4445    LIDAR_TERM = "dgLidar" 
    4546    RADAR_TERM = "dgRadar" 
     
    4950    SPECTROMETER_TERM = "dgSpectrometer" 
    5051    MASS_SPECTROMETER_TERM = "dgMassSpectrometer" 
    51      
     52    MET_SENSOR_TERM = "dgMetSensor" 
     53    DOAS_TERM = "dgDOAS" 
     54    ASOZ_TERM = "dgASOZ" 
     55    RADIOMETER_TERM = "dgRadiometer" 
     56    FAGE_TERM = "dgFAGE" 
     57    IMAGER_TERM = "dgImager" 
     58    FILTER_TERM = "dgFilter" 
     59    PARTICLE_COUNTER_TERM = "dgParticleCounter" 
     60    SAMPLER_TERM = "dgSampler" 
     61    OTHER_INSTRUMENT_TYPE_TERM = "dgOtherInstrumentType" 
     62    MODEL_TERM = "dgModel" 
     63    INSTRUMENT_TERM = "dgInstrument" 
     64     
     65    # de subtypes 
    5266    SIMULATION_TERM = "dgSimulation" 
    5367    ANALYSIS_TERM = "dgAnalysis" 
    5468    MEASUREMENT_TERM = "dgMeasurement" 
    5569     
     70    # activity subtypes 
    5671    DATA_COLLECTION_TERM = "dgDataCollection" 
    5772    DATA_PROJECT_TERM = "dgDataProject" 
     
    6277    FUNDING_PROGRAM_TERM = "dgFundingProgram" 
    6378     
     79    # obs subtypes 
    6480    STATIONARY_PLATFORM_TERM = "dgStationaryPlatform" 
    6581    MOVING_PLATFORM_TERM = "dgMovingPlatform" 
     
    85101                 FILE_BROWSER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/N041', '9', title = 'File Browser'), 
    86102                 CSML_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/N021', '1'), 
    87                  ACTIVITY_TERM:VocabTermItem('Activity - NOT YET SET UP', 'Activity', title = 'Activity'), 
    88                  DPT_TERM:VocabTermItem('DPT - NOT YET SET UP', 'DPT', title = 'Data Production Tool'), 
    89                  OBS_TERM:VocabTermItem('OBS - NOT YET SET UP', 'OBS', title = 'Observation Station'), 
    90                  GRANULE_TERM:VocabTermItem('GRAN - NOT YET SET UP', 'GRAN', title = 'Data Granule'), 
    91                  DE_TERM:VocabTermItem('DE - NOT YET SET UP', 'DE', title = 'Data Entity'), 
     103                 ACTIVITY_TERM:VocabTermItem('Activity - NOT YET SET UP', ACTIVITY_TERM, title = 'Activity'), 
     104                 DPT_TERM:VocabTermItem('DPT - NOT YET SET UP', DPT_TERM, title = 'Data Production Tool'), 
     105                 OBS_TERM:VocabTermItem('OBS - NOT YET SET UP', OBS_TERM, title = 'Observation Station'), 
     106                 GRANULE_TERM:VocabTermItem('GRAN - NOT YET SET UP', GRANULE_TERM, title = 'Data Granule'), 
     107                 DE_TERM:VocabTermItem('DE - NOT YET SET UP', DE_TERM, title = 'Data Entity'), 
     108                  
    92109                 LIDAR_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG02', title = LIDAR_TERM), 
    93110                 RADAR_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG03', title = RADAR_TERM), 
     
    97114                 SPECTROMETER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG07', title = SPECTROMETER_TERM), 
    98115                 MASS_SPECTROMETER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG08', title = MASS_SPECTROMETER_TERM), 
     116                 MET_SENSOR_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG09', title = _TERM), 
     117                 DOAS_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG10', title = DOAS_TERM), 
     118                 ASOZ_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG11', title = ASOZ_TERM), 
     119                 RADIOMETER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG12', title = RADIOMETER_TERM), 
     120                 FAGE_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG13', title = FAGE_TERM), 
     121                 IMAGER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG14', title = IMAGER_TERM), 
     122                 FILTER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG15', title = FILTER_TERM), 
     123                 PARTICLE_COUNTER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG16', title = PARTICLE_COUNTER_TERM), 
     124                 SAMPLER_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG17', title = SAMPLER_TERM), 
     125                 OTHER_INSTRUMENT_TYPE_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG99', title = OTHER_INSTRUMENT_TYPE_TERM), 
     126                 MODEL_TERM:VocabTermItem('dgModel - NOT YET SET UP', MODEL_TERM, title = MODEL_TERM), 
     127                 INSTRUMENT_TERM:VocabTermItem('dgInstrument - NOT YET SET UP', INSTRUMENT_TERM, title = INSTRUMENT_TERM), 
     128                  
    99129                 SIMULATION_TERM:VocabTermItem('NOT YET SET UP', SIMULATION_TERM, title = SIMULATION_TERM), 
    100130                 ANALYSIS_TERM:VocabTermItem('NOT YET SET UP', ANALYSIS_TERM, title = ANALYSIS_TERM), 
     
    116146                 AIRCRAFT_TERM:VocabTermItem('NOT YET SET UP', AIRCRAFT_TERM, title = AIRCRAFT_TERM), 
    117147                 SATELLITE_TERM:VocabTermItem('NOT YET SET UP', SATELLITE_TERM, title = SATELLITE_TERM), 
    118                  COMPUTER_TERM:VocabTermItem('NOT YET SET UP', COMPUTER_TERM, title = COMPUTER_TERM), 
    119                   
    120                  #_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG09', title = _TERM), 
    121                  #_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG10', title = _TERM), 
    122                  #_TERM:VocabTermItem('http://vocab.ndg.nerc.ac.uk/term/C330', 'NG1', title = _TERM), 
     148                 COMPUTER_TERM:VocabTermItem('NOT YET SET UP', COMPUTER_TERM, title = COMPUTER_TERM) 
    123149                 } 
    124  
    125      
    126              #'dgMetSensor':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG09', 
    127              #'dgDOAS':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG10', 
    128              #'dgASOZ':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG11', 
    129              #'dgRadiometer':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG12', 
    130              #'dgFAGE':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG13', 
    131              #'dgImager':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG14', 
    132              #'dgFilter':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG15', 
    133              #'dgParticleCounter':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG16', 
    134              #'dgSampler':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG17', 
    135              #'dgOtherInstrumentType':'http://vocab.ndg.nerc.ac.uk/term/C330/0/NG99', 
    136              #'dgModel':'dgModel - NOT YET SET UP', 
    137              #'dgInstrument':'dgInstrument - NOT YET SET UP' 
    138150 
    139151 
     
    146158                        TERM_DATA[SONDE_TERM], TERM_DATA[NAVIGATION_TERM], \ 
    147159                        TERM_DATA[GAS_CHROMATOGRAPH_TERM], TERM_DATA[SPECTROMETER_TERM], \ 
    148                         TERM_DATA[MASS_SPECTROMETER_TERM] 
     160                        TERM_DATA[MASS_SPECTROMETER_TERM], 
     161                        TERM_DATA[MET_SENSOR_TERM], TERM_DATA[DOAS_TERM], 
     162                        TERM_DATA[ASOZ_TERM], TERM_DATA[RADIOMETER_TERM], 
     163                        TERM_DATA[FAGE_TERM], TERM_DATA[IMAGER_TERM], 
     164                        TERM_DATA[FILTER_TERM], TERM_DATA[PARTICLE_COUNTER_TERM], 
     165                        TERM_DATA[SAMPLER_TERM], TERM_DATA[OTHER_INSTRUMENT_TYPE_TERM], 
     166                        TERM_DATA[MODEL_TERM], TERM_DATA[INSTRUMENT_TERM] 
    149167                        ], 
    150  
    151168                     DE_TERM: [ 
    152169                        TERM_DATA[SIMULATION_TERM], TERM_DATA[ANALYSIS_TERM], \ 
Note: See TracChangeset for help on using the changeset viewer.