- Timestamp:
- Apr 27, 2016, 11:30:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r733 r734 19746 19746 ovars = ovar[iri:ire].astype('float64') 19747 19747 19748 newvar,newvarin,newvarinpt[pts],newvarindiff[pts] = \ 19749 fin.module_forinterpolate.coarseinterpolate(projlon, projlat, \ 19750 lonvss, latvss, np.float64(fracd), np.float64(mindiff), ovars) 19751 # Slow way 19748 19752 # newvar,newvarin,newvarinpt[pts],newvarindiff[pts] = \ 19749 # fin.module_forinterpolate.coarseinterpolate(projlon, projlat, \ 19750 # lonvss, latvss, np.float64(fracd), np.float64(mindiff), ovars) 19751 newvar,newvarin,newvarinpt[pts],newvarindiff[pts] = \ 19752 fin.module_forinterpolate.interpolate(projlon, projlat, \ 19753 lonvss, latvss, np.float64(mindiff), ovars) 19753 # fin.module_forinterpolate.interpolate(projlon, projlat, \ 19754 # lonvss, latvss, np.float64(mindiff), ovars) 19754 19755 newnc.sync() 19755 19756
Note: See TracChangeset
for help on using the changeset viewer.