Changeset 859 in lmdz_wrf for trunk/tools/nc_var_tools.py


Ignore:
Timestamp:
Jun 17, 2016, 5:43:16 PM (8 years ago)
Author:
lfita
Message:

Fixing tiny errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r858 r859  
    1513715137    diagvars = gen.CFvar_DIAGvar(varname)
    1513815138
     15139#    print '  ' + fname + ': Lluis; diagvars:', diagvars
    1513915140    computevarmod = []
    1514015141    if modelvars is not None:
     
    1515415155                        if gen.searchInlist(ncvars,cvar): alltrue = True
    1515515156            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
    1515715159
    1515815160            if alltrue: computevardiag.append(combovar)
     15161#    print '  ' + fname + ': Lluis; alltrue:', alltrue, 'computevardiag:', computevardiag
    1515915162
    1516015163    if len(computevardiag) < 1: computevardiag = None
     
    1520015203    return varmod, vardiag
    1520115204
    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()
    1520315207
    1520415208class ModelChar(object):
Note: See TracChangeset for help on using the changeset viewer.