Changeset 632 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 18, 2015, 12:17:54 PM (9 years ago)
Author:
lfita
Message:

Adding `getvalues_lonlat' as a function in 'nc_var.py': Function to retrieve values from a pair of lon,lat

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var.py

    r576 r632  
    2828  'fdimadd', 'fgaddattr', 'field_stats', 'file_creation', 'file_oper_alongdims',     \
    2929  'filter_2dim',                                                                     \
    30   'flipdim', 'fvaradd', 'gaddattrk', 'gaddattr', 'get_namelist_vars', 'grattr',      \
     30  'flipdim', 'fvaradd', 'gaddattrk', 'gaddattr', 'get_namelist_vars',                \
     31  'getvalues_lonlat', 'grattr',                                                      \
    3132  'grmattr', 'igattrs', 'increaseDimvar', 'isgattrs', 'isvattrs', 'ivars', 'ivattrs',\
    3233  'maskvar',                                                                         \
     
    163164elif oper == 'get_namelist_vars':
    164165    ncvar.get_namelist_vars(opts.values, opts.ncfile)
     166elif oper == 'getvalues_lonlat':
     167    ncvar.getvalues_lonlat(opts.values, opts.ncfile)
    165168elif oper == 'grattr':
    166169    ncvar.grattr(opts.values, opts.ncfile)
  • trunk/tools/nc_var_tools.py

    r631 r632  
    1620516205#        [radii]: length in grid points of the radius
    1620616206
    16207 compute_tevolboxtraj_radialsec('/bdd/PCER/workspace/lfita/etudes/FF/medic051215_2km/run/trajectory_shorten.dat@0,XLONG,XLAT,ZNU,Times,wrf,4,2',       \
    16208   '/bdd/PCER/workspace/lfita/etudes/FF/medic051215_2km/run/wrfout/wrfout_d02_2005-12-13_00:00:00', 'QVAPOR')
    16209 quit()
     16207#compute_tevolboxtraj_radialsec('/bdd/PCER/workspace/lfita/etudes/FF/medic051215_2km/run/trajectory_shorten.dat@0,XLONG,XLAT,ZNU,Times,wrf,4,2',       \
     16208#  '/bdd/PCER/workspace/lfita/etudes/FF/medic051215_2km/run/wrfout/wrfout_d02_2005-12-13_00:00:00', 'QVAPOR')
     16209#quit()
    1621016210
    1621116211
Note: See TracChangeset for help on using the changeset viewer.