Changeset 2180 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Oct 11, 2018, 6:34:06 PM (6 years ago)
Author:
lfita
Message:

Fixing `maskedStrvar_list'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r2175 r2180  
    2614126141        stnl = maskedStr[ist,:]
    2614226142        stnn = ''.encode('latin_1')
    26143         for ic in range(Lsrting):
     26143        for ic in range(Lstring):
    2614426144            char = unicode(stnl[ic:ic+1][0], errors='replace')
    2614526145            if not maskedStr.mask[ist,ic]:
     
    2614826148                break
    2614926149        filledstrings.append(stnn)
    26150     filledstrings.remove('')
     26150    if filledstrings.count('') != 0: filledstrings.remove('')
    2615126151
    2615226152    return filledstrings
Note: See TracChangeset for help on using the changeset viewer.