Changeset 734 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 27, 2016, 11:30:24 AM (9 years ago)
Author:
lfita
Message:

Recovering use of 'coarseinterpolate'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r733 r734  
    1974619746            ovars = ovar[iri:ire].astype('float64')
    1974719747
     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
    1974819752#            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)
    1975419755            newnc.sync()
    1975519756
Note: See TracChangeset for help on using the changeset viewer.