Changeset 1406 in lmdz_wrf for trunk/tools
- Timestamp:
- Jan 12, 2017, 3:50:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var.py
r1375 r1406 38 38 ## e.g. $ nc_var.py -o VarVal_FillValue -S '0.,eq,std' -f new_lai2D.nc -v LAI 39 39 ## e.g. # nc_var.py -o rm_FillValue -f new_ORCHIDEE_13PFTmap_2010_cmpi6_LUH2v2h.nc -S 0 -v mask 40 ## e.g. # nc_var.py -o curve_section -f /home/lluis/PY/test.nc -S 'gridline,x,y,8.,8.,16.,16.,32' -v all 40 41 41 42 from optparse import OptionParser … … 65 66 # compute_tevolboxtraj: Function to compute tevolboxtraj: temporal evolution at a given point along a box following a trajectory 66 67 # computevar_model: Function to provide the way to compute a CF-variable providing its name 68 # curve_section: Function to provide a section of a file following a given curve 67 69 # DatesFiles: Function to find different time values on a series of WRF files in a folder 68 70 # DataSetSection: Function to get a section (values along a dimension) of a given data-set … … 158 160 'compute_opersvarsfiles', \ 159 161 'compute_opervaralltime', 'compute_opervartimes', 'compute_tevolboxtraj', \ 160 'computevar_model', ' DatesFiles',\162 'computevar_model', 'curve_section', 'DatesFiles', \ 161 163 'DataSetSection', 'DataSetSection_multidims', 'DataSetSection_multivars', \ 162 164 'DYNAMICO_toCF', 'dimToUnlimited', 'dimVar_creation', \ … … 291 293 elif oper == 'computevar_model': 292 294 ncvar.computevar_model(opts.values, opts.ncfile) 295 elif oper == 'curve_section': 296 ncvar.curve_section(opts.values, opts.ncfile, opts.varname) 293 297 elif oper == 'DataSetSection': 294 298 ncvar.DataSetSection(opts.values, opts.ncfile)
Note: See TracChangeset
for help on using the changeset viewer.