Changeset 24256 for issm/trunk-jpl/src/m/plot/processdata.py
- Timestamp:
- 10/18/19 06:52:19 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/processdata.py
r24255 r24256 46 46 # }}} 47 47 # {{{ process NaN's if any 48 nanfill = options.getfieldvalue('nan', - 48 nanfill = options.getfieldvalue('nan', -9999) 49 49 if np.any(np.isnan(procdata)): 50 50 lb = np.nanmin(procdata) … … 130 130 # {{{ convert rank - 2 array to rank - 1 131 131 if np.ndim(procdata) == 2 and np.shape(procdata)[1] == 1: 132 procdata = procdata.reshape(- 132 procdata = procdata.reshape(-1, ) 133 133 # }}} 134 134 # {{{ if datatype is still zero, error out
Note:
See TracChangeset
for help on using the changeset viewer.