Changeset 313 for CCCC


Ignore:
Timestamp:
02/04/15 16:13:26 (5 years ago)
Author:
mjuckes
Message:

Allow degree as unit for spatial_resolution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/ceda_cc/config_c4.py

    r307 r313  
    442442               'cdm_data_type':utils.listControl( 'cdm_data_type', lrdr.getSimpleList( 'threddsDataType.txt', bit=0 ) ), \ 
    443443               'time_coverage_duration':utils.patternControl( 'time_coverage_duration',  'ISO8601 duration', cls='ISO',examples=['P1Y'] ), \ 
    444                'spatial_resolution':utils.patternControl( 'spatial_resolution',  '([0-9]+(.[0-9]+){0,1})[\s]*(km|m).*', examples=['20km','1 km at nadir'] ), \ 
     444               'spatial_resolution':utils.patternControl( 'spatial_resolution',  '([0-9]+(.[0-9]+){0,1})[\s]*(km|m|degree).*', examples=['20km','1 km at nadir'] ), \ 
    445445               'project':utils.listControl( 'project', ['Climate Change Initiative - European Space Agency','CLIPC'] ), \ 
    446446               'cciProject':utils.listControl( 'cciproject', cciProjectList ), \ 
Note: See TracChangeset for help on using the changeset viewer.