Changeset 718 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 26, 2016, 4:29:41 PM (9 years ago)
Author:
lfita
Message:

Adding `fracs' to 'Partialmap_EntiremapFor', for the Number of grid points to perform the syncronization with the file and the computed values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r717 r718  
    1920819208      Using fortran codes: module_ForInterpolate.F90, module_generic.F90
    1920919209      f2py -m module_ForInterpolate --f90exec=/usr/bin/gfortran-4.7 -c module_ForInterpolate.F90 module_generic.F90 >& run_f2py.log
    19210       values= [lonmame],[latname],[fillVal],[resolution],[kind],[lonlatProjfile],[fracd]
     19210      values= [lonmame],[latname],[fillVal],[resolution],[kind],[lonlatProjfile],[fracd],[fracs]
    1921119211        [lonname]: name of the longitude variable
    1921219212        [latname]: name of the latitude variable
     
    1922419224        [lonlatProjfile]: file with the lon,lat of the desired projection. 'None' to be computed and written on fly
    1922519225        [fracd]: Percentage of the fractions within perform the first guess search
     19226        [fracs]: Number of grid points to perform the syncronization with the file and the computed values
    1922619227      filen= name of the netCDF file
    1922719228      varn= name of the variable
     
    1925819259    Projfile = values.split(',')[5]
    1925919260    fracd = np.float(values.split(',')[6])
     19261    fracs = int(values.split(',')[7])
    1926019262
    1926119263    if Projfile == 'None':
     
    1948719489# Error at 150024, 150025, 151709, 153421
    1948819490    print '  ' + fname + ': from:', Ninpts,'re-locating:',Nptsf,'points...'
    19489     fracs = 100000
     19491#    fracs = 100000
    1949019492    if kind == 'Goode':
    1949119493#        newvar,newvarin,newvarinpt,newvarindiff =                                    \
Note: See TracChangeset for help on using the changeset viewer.