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


Ignore:
Timestamp:
Dec 16, 2017, 7:07:57 PM (7 years ago)
Author:
lfita
Message:

Fixing typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1731 r1734  
    2074720747
    2074820748    # checking
    20749     if not gen.serarchInlist(ncvars, varXpos):
     20749    if not gen.searchInlist(ncvars, varXpos):
    2075020750        print errormsg
    2075120751        print '  ' + fname + ": file '" + ncfile + "' does not have variable '" +    \
     
    2075320753        print '  available ones:', ncvars
    2075420754        quit(-1)
    20755     if not gen.serarchInlist(ncvars, varYpos):
     20755    if not gen.searchInlist(ncvars, varYpos):
    2075620756        print errormsg
    2075720757        print '  ' + fname + ": file '" + ncfile + "' does not have variable '" +    \
     
    2076520765        varns = variable.split(',')
    2076620766        for vn in varns:
    20767             if not gen.serarchInlist(ncvars, vn):
     20767            if not gen.searchInlist(ncvars, vn):
    2076820768                print errormsg
    2076920769                print '  ' + fname + ": file '" + ncfile + "' does not have " +      \
     
    2080420804        dimy = (Ymax - Ymin+ddy)/ddy
    2080520805
     20806    print dir(Sci)
    2080620807    matindt, matXt, matYt = Sci.reconstruct_matrix(vectorxpos=xposv, vectorypos=yposv,  \
    2080720808      dvec=len(xposv), xmin=Xmin, xmax=Xmax, ymin=Ymin, ymax=Ymax, dmatx=dimx,          \
Note: See TracChangeset for help on using the changeset viewer.