- Timestamp:
- 06/07/17 10:50:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/writejsfield.py
r19056 r21759 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.