Changeset 1235 in lmdz_wrf for trunk/tools
- Timestamp:
- Oct 26, 2016, 4:00:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r1234 r1235 6980 6980 varn = varns[ifv] 6981 6981 rng = ranges[ifv].split(';') 6982 if opern.find(',') != -1: 6983 oprenS = opern.split(',')[0] 6984 else: 6985 oprenS = opern 6982 6986 6983 6987 opervars.append(varn) … … 7082 7086 if prevalues is None: 7083 7087 # Creation of an empty variable to start with 7084 if gen.searchInlist(opinizero,opern ):7088 if gen.searchInlist(opinizero,opernS): 7085 7089 inimat = np.zeros(varvals.shape, dtype=varobj.dtype) 7086 elif gen.searchInlist(opinione,opern ):7090 elif gen.searchInlist(opinione,opernS): 7087 7091 inimat = np.ones(varvals.shape, dtype=varobj.dtype) 7088 7092
Note: See TracChangeset
for help on using the changeset viewer.