Changeset 1866 in lmdz_wrf


Ignore:
Timestamp:
Mar 26, 2018, 7:40:05 PM (7 years ago)
Author:
lfita
Message:

Changing listing character for values in 'CFmorzization' to ';'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1865 r1866  
    2324323243          (http://cmip-pcmdi.llnl.gov/cmip5/output_req.html#metadata)
    2324423244
    23245         values=[dimvarns]:[globattrfile]:[projectfile]:[extrafiles]
     23245        values=[dimvarns];[globattrfile];[projectfile];[extrafiles]
    2324623246          [dimvarns]: ',' separated list for identification of axes, dimensions and
    2324723247            variable-dimensions as '[AXIS]|[dimn]|[vardimn]'
     
    2331623316        quit()
    2331723317
    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(',')
    2332523325
    2332623326    exonc = []
Note: See TracChangeset for help on using the changeset viewer.