Changeset 761 in lmdz_wrf


Ignore:
Timestamp:
May 6, 2016, 2:22:49 PM (9 years ago)
Author:
lfita
Message:

Adding range limitation to output data in file in 'Partialmap_EntiremapForExact'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r760 r761  
    1388113881            idiff, ilonlatv = fin.module_forinterpolate.interpolate(projlon, projlat,\
    1388213882              lonvss, latvss, np.float64(mindiff), inptss)
    13883             for i in range(fracs):
     13883            for i in range(np.min([len(idiff),fracs])):
    1388413884                newvar[ilonlatv[i,0],ilonlatv[i,1]] = ovar[iri + i]
    1388513885                newvarin[ilonlatv[i,0],ilonlatv[i,1]] = iri + i
Note: See TracChangeset for help on using the changeset viewer.