Changeset 2180 in lmdz_wrf for trunk/tools
- Timestamp:
- Oct 11, 2018, 6:34:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r2175 r2180 26141 26141 stnl = maskedStr[ist,:] 26142 26142 stnn = ''.encode('latin_1') 26143 for ic in range(Ls rting):26143 for ic in range(Lstring): 26144 26144 char = unicode(stnl[ic:ic+1][0], errors='replace') 26145 26145 if not maskedStr.mask[ist,ic]: … … 26148 26148 break 26149 26149 filledstrings.append(stnn) 26150 filledstrings.remove('')26150 if filledstrings.count('') != 0: filledstrings.remove('') 26151 26151 26152 26152 return filledstrings
Note: See TracChangeset
for help on using the changeset viewer.