Changeset 1732 in lmdz_wrf


Ignore:
Timestamp:
Dec 16, 2017, 5:57:05 PM (7 years ago)
Author:
lfita
Message:

Adding `reconstruct_matrix_from_vector'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var.py

    r1627 r1732  
    124124# netcdf_fold_concatenation_HMT: Function to concatenate netCDF files in a given folder for a given set of variables
    125125#   giving Header, Middle, Tail for the name files
     126# reconstruct_matrix_from_vector: Function to reconstruct a 2D matrix from a pair of syncronized vectors with the positions on x and y coordinates
    126127# reproject: Function to reproject values to another one
    127128# rm_FillValue: Operation to remove the _FillValue from a variable inside a netCDF file
     
    191192  'netcdf_fold_concatenation_HMT', 'reproject', 'Partialmap_Entiremap',              \
    192193  'Partialmap_EntiremapFor', 'Partialmap_EntiremapForExact',                         \
    193   'pinterp', 'remapnn', 'rm_FillValue',                                              \
     194  'pinterp', 'reconstruct_matrix_from_vector', 'remapnn', 'rm_FillValue',            \
    194195  'seasmean', 'sellonlatbox', 'sellonlatlevbox', 'selvar', 'setvar_asciivalues',     \
    195196  'setvar_nc', 'sorttimesmat', 'spacemean', 'SpatialWeightedMean',                   \
     
    421422elif oper == 'Partialmap_EntiremapForExact':
    422423    ncvar.Partialmap_EntiremapForExact(opts.values, opts.ncfile, opts.varname)
     424elif oper == 'reconstruct_matrix_from_vector':
     425    ncvar.reproject(opts.values, opts.ncfile, opts.varname)
    423426elif oper == 'reproject':
    424427    ncvar.reproject(opts.values, opts.ncfile, opts.varname)
Note: See TracChangeset for help on using the changeset viewer.