Changeset 753 in lmdz_wrf


Ignore:
Timestamp:
May 4, 2016, 11:57:43 AM (9 years ago)
Author:
lfita
Message:

Final working copy of `SpatialWeightedMean?' with 'gen'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r752 r753  
    652652
    653653    attvar = ncv.ncattrs()
    654     if searchInlist(attvar, attrname):
     654    if gen.searchInlist(attvar, attrname):
    655655        attr = ncv.delncattr(attrname)
    656656
     
    720720
    721721    attvar = ncv.ncattrs()
    722     if searchInlist(attvar, attrname):
     722    if gen.searchInlist(attvar, attrname):
    723723        attr = ncv.delncattr(attrname)
    724724
     
    1205012050
    1205112051    for dn in vardims:
    12052         if not searchInlist(oncf.dimensions, dn):
     12052        if not gen.searchInlist(oncf.dimensions, dn):
    1205312053            if incf.dimensions[dn].isunlimited():
    1205412054                newdim = oncf.createDimension(dn, None)
Note: See TracChangeset for help on using the changeset viewer.