Changeset 21341 for issm/trunk/src/m/plot/writejsfield.py
- Timestamp:
- 11/04/16 13:48:43 (8 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/m/plot/writejsfield.py
r19105 r21341 1 import numpy 1 import numpy as np 2 2 def writejsfield(fid,name,variable,nods): 3 3 #WRITEJSFIELD - write variable to javascript file … … 8 8 #write array: 9 9 #if not isinstance(variable, list): 10 if type(variable[0])==n umpy.float64:10 if type(variable[0])==np.float64: 11 11 fid.write('<!-- {0}{{{{{{-->\n'.format(name)) 12 12 fid.write('{0}=['.format(name))
Note:
See TracChangeset
for help on using the changeset viewer.