Changeset 2789 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 14, 2020, 3:56:56 PM (5 years ago)
Author:
lfita
Message:

Adding:

  • `netcdf_fold_slice_concatenation_HMT': Function to concatenate netCDF files in a given folder for a given slice and for a given set of variables giving Header, Middle, Tail for the name files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var.py

    r2478 r2789  
    176176# netcdf_concatenation: Function to concatenate netCDF files for a given set of variables
    177177# netcdf_fold_concatenation: Function to concatenate netCDF files in a given folder for a given set of variables
     178# netcdf_fold_slice_concatenation_HMT: Function to concatenate netCDF files in a given folder for a given slice and
     179#   for a given set of variables giving Header, Middle, Tail for the name files
    178180# netcdf_fold_concatenation_HMT: Function to concatenate netCDF files in a given folder for a given set of variables
    179181#   giving Header, Middle, Tail for the name files
     
    258260  'mthDYNAMICO_toCF', 'ncreplace', 'ncstepdiff', 'netcdf_concatenation',             \
    259261  'netcdf_fold_concatenation',                                                       \
    260   'netcdf_fold_concatenation_HMT', 'reproject', 'Partialmap_Entiremap',              \
     262  'netcdf_fold_concatenation_HMT', 'netcdf_fold_slice_concatenation_HMT',            \
     263  'reproject', 'Partialmap_Entiremap',                                               \
    261264  'Partialmap_EntiremapFor', 'Partialmap_EntiremapForExact',                         \
    262265  'pinterp', 'reconstruct_matrix_from_vector', 'remapnn', 'retrieve_stations',       \
     
    323326  'merge_files',                                                                     \
    324327  'model_characteristics', 'netcdf_concatenation', 'netcdf_fold_concatenation',      \
    325   'netcdf_fold_concatenation_HMT']
     328  'netcdf_fold_concatenation_HMT', 'netcdf_fold_slice_concatenation_HMT']
    326329
    327330####### ###### ##### #### ### ## #
     
    518521elif oper == 'netcdf_fold_concatenation_HMT':
    519522    ncvar.netcdf_fold_concatenation_HMT(opts.values, opts.ncfile, opts.varname)
     523elif oper == 'netcdf_fold_slice_concatenation_HMT':
     524    ncvar.netcdf_fold_slice_concatenation_HMT(opts.values, opts.ncfile, opts.varname)
    520525elif oper == 'opersvarsfiles':
    521526    ncvar.compute_opersvarsfiles(opts.values, opts.varname)
Note: See TracChangeset for help on using the changeset viewer.