Changeset 859 in lmdz_wrf for trunk/tools/nc_var_tools.py
- Timestamp:
- Jun 17, 2016, 5:43:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r858 r859 15137 15137 diagvars = gen.CFvar_DIAGvar(varname) 15138 15138 15139 # print ' ' + fname + ': Lluis; diagvars:', diagvars 15139 15140 computevarmod = [] 15140 15141 if modelvars is not None: … … 15154 15155 if gen.searchInlist(ncvars,cvar): alltrue = True 15155 15156 else: 15156 if gen.searchInlist(ncvars,combovar): alltrue = True 15157 # print ' ' + fname + ': Lluis; combovar:', combovar[0],' is:',gen.searchInlist(ncvars,combovar[0]) 15158 if gen.searchInlist(ncvars,combovar[0]): alltrue = True 15157 15159 15158 15160 if alltrue: computevardiag.append(combovar) 15161 # print ' ' + fname + ': Lluis; alltrue:', alltrue, 'computevardiag:', computevardiag 15159 15162 15160 15163 if len(computevardiag) < 1: computevardiag = None … … 15200 15203 return varmod, vardiag 15201 15204 15202 #computevar_model('huss', '/home/lluis/PY/wrfout_d01_2001-11-11_00:00:00') 15205 #computevar_model('cll', '/home/lluis/PY/wrfout_d01_2001-11-11_00:00:00') 15206 #quit() 15203 15207 15204 15208 class ModelChar(object):
Note: See TracChangeset
for help on using the changeset viewer.