Changeset 21303 for issm/trunk-jpl/src/m/coordsystems/xy2ll.py
- Timestamp:
- 10/21/16 08:49:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/coordsystems/xy2ll.py
r21254 r21303 1 import numpy as np1 import numpy as np 2 2 from math import pi 3 3 … … 37 37 raise StandardError('bad usage: type "help(xy2ll)" for details') 38 38 39 # if x,y passed as lists, convert to n umpyarrays40 if type(x) != "n umpy.ndarray":39 # if x,y passed as lists, convert to np.arrays 40 if type(x) != "np.ndarray": 41 41 x=np.array(x) 42 if type(y) != "n umpy.ndarray":42 if type(y) != "np.ndarray": 43 43 y=np.array(y) 44 44
Note:
See TracChangeset
for help on using the changeset viewer.