Changeset 2470 in lmdz_wrf for trunk/tools
- Timestamp:
- Apr 24, 2019, 7:33:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var.py
r2404 r2470 75 75 ## e.g. # nc_var.py -o compress_data -S 'XLAND:Time|0:single,1:X|west_east|XLONG,Y|south_north|XLAT' -f wrfout_d01_1995-01-01_00:00:00 -v T2,LU_INDEX,Times 76 76 ## e.g. # nc_var.py -o CFfile_creation -S 'lon|360,lat|180,time|None@20:global' -v 'tas#time;lat;lon#f#None,time#time#f8#units|seconds!since!1949-12-01!00:00:00|S' -f newCF.nc 77 ## e.g. # nc_var.py -o CFfile_fixTime -f tasmin_Amon_BNU-ESM_historical_r1i1p1_185001-200512_lonlatbox.nc -S 'setCalendar;setRefDate,19491201000000' -v time 77 78 78 79 from optparse import OptionParser … … 92 93 # CDO_toCF: Function to pass a CDO output file to CF-conventions 93 94 # CFfile_creation: Operation to create a file folowing CF-conventions 95 # CFfile_fixTime: Operation to fix a netCDF file with a time axis folowing CF-conventions, but 96 # with a wrong set-up following a set of available operations 94 97 # CFmorzization: Function to provide a CF-compilation version of a variable within a file 95 98 # chdimname: Changing the name of the dimension … … 231 234 232 235 operations=['addDim', 'addVar', 'addvals', 'area_weighted', 'CDO_toCF', \ 233 'CFfile_creation', 'CF morzization', 'chdimname', 'changevartype',\234 'ch eckallvars', 'checkAllValues', 'checkNaNs',\236 'CFfile_creation', 'CFfile_fixTime', 'CFmorzization', 'chdimname', \ 237 'changevartype', 'checkallvars', 'checkAllValues', 'checkNaNs', \ 235 238 'chgtimestep', 'chvarname', 'cleaning_varsfile', 'compress_data', \ 236 239 'compute_deaccum', 'compute_opersvarsfiles', \ … … 356 359 elif oper == 'CFfile_creation': 357 360 ncvar.CFfile_creation(opts.values, opts.ncfile, opts.varname) 361 elif oper == 'CFfile_fixTime': 362 ncvar.CFfile_fixTime(opts.values, opts.ncfile, opts.varname) 358 363 elif oper == 'CFmorzization': 359 364 ncvar.CFmorzization(opts.values, opts.ncfile, opts.varname)
Note: See TracChangeset
for help on using the changeset viewer.