Changeset 1866 in lmdz_wrf
- Timestamp:
- Mar 26, 2018, 7:40:05 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1865 r1866 23243 23243 (http://cmip-pcmdi.llnl.gov/cmip5/output_req.html#metadata) 23244 23244 23245 values=[dimvarns] :[globattrfile]:[projectfile]:[extrafiles]23245 values=[dimvarns];[globattrfile];[projectfile];[extrafiles] 23246 23246 [dimvarns]: ',' separated list for identification of axes, dimensions and 23247 23247 variable-dimensions as '[AXIS]|[dimn]|[vardimn]' … … 23316 23316 quit() 23317 23317 23318 expectargs = '[dimvarns] :[globattrfilen]:[projectfile]:[extrafiles]'23319 gen.check_arguments(fname, values, expectargs, ' :')23320 23321 dimvarns = values.split(' :')[0].split(',')23322 globalattrfilen = values.split(' :')[1]23323 projfilen = values.split(' :')[2]23324 extrafiles = values.split(' :')[3].split(',')23318 expectargs = '[dimvarns];[globattrfilen];[projectfile];[extrafiles]' 23319 gen.check_arguments(fname, values, expectargs, ';') 23320 23321 dimvarns = values.split(';')[0].split(',') 23322 globalattrfilen = values.split(';')[1] 23323 projfilen = values.split(';')[2] 23324 extrafiles = values.split(';')[3].split(',') 23325 23325 23326 23326 exonc = []
Note: See TracChangeset
for help on using the changeset viewer.