Changeset 2707 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 19, 2019, 8:28:30 PM (5 years ago)
Author:
lfita
Message:

Making use of new file name from DataSetSection_multidims in `getvalues_lonlat'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2694 r2707  
    1483814838    vals = dnames[1] + ',' + str(mappairs[1]) + ',' + str(mappairs[1]) + ',1@'
    1483914839    vals = vals + dnames[0] + ',' + str(mappairs[0]) + ',' + str(mappairs[0]) + ',1'
     14840    vals = vals + ',False'
    1484014841
    1484114842    DataSetSection_multidims(vals, ncfile, 'all')
    14842     of = ncfile.split('.')[0] + '_' +  dnames[1] + '_B' + str(mappairs[1]) + '-E' +  \
    14843       str(mappairs[1]) + '-I1_' + dnames[0] + '_B' + str(mappairs[0]) + '-E' +       \
    14844       str(mappairs[0]) + '-I1.nc'
    14845 
    14846     sub.call(['mv',of,ofile])
     14843    sub.call(['mv','newfile_multidims.nc',ofile])
    1484714844
    1484814845    onc = NetCDFFile(ofile, 'a')
Note: See TracChangeset for help on using the changeset viewer.