Actions

NCDVAR

From BAWiki

Basic Information

Name of Program

NCDVAR

Version-Date

August 2020

Description-Date

April 2020

Catchwords

postprocessor
Selective deletion or copying of variables in a netcdf.nc file
Delete/Copy coordinate variables of a certain type (X-Y or LON-LAT)
Delete/Copy variables belonging to a grid (Mesh)
Delete/Copy of individual variables
Deletion/Copying of individuual dates of synoptic, time-equidistant data records
Automatic setting of the WRITE chunk size
Storage of the content of the ASCII input control files in netcdf.nc (as a variable)
Storage of the MD5 hash values of input files in netcdf.nc (as a variable)
optional use of Message Passing Interface (MPI, MPI Forum)

Acknowledgment: This project took advantage of netCDF software developed by UCAR/Unidata (www.unidata.ucar.edu/software/netcdf/).

Short Description of Functionality

The program enables the selective deletion / copying of variables in a netcdf.nc input file into an equivalent output file.

Input-Files

  1. general input data (file type ncdvar.dat);
  2. Input data, data record to be thinned (file type cf-netcdf.nc).

Output-Files

  1. Output data (file type netcdf.nc)
  2. (optional) informative printer file of program execution (file type ncdvar.sdr)
  3. (optional) trace of program execution (file type ncdvar.trc)

Methodology

The program is subdivided into the following sections:

  1. Read, check and print the control data of the user;
  2. Read metadata of the input data;
  3. Transfer metadata into internal data objects;
  4. Classification of all variables of the input file;
  5. Comparison of the input data specified by the user with the data available in the input file;
  6. Mark all primary variables that can be selected by the user with COPY or DELETE;
  7. Deriving the transfer method (COPY, DELETE) for the variables used by the primary variables (coordinate variable, auxiliary variable, etc.);
  8. Copy the variables to be transferred from the input to the output file.

Program(s) to run before this Program

DATACONVERT, BOE2NC, NCAGGREGATE, NCANALYSE, NCCHUNKIE, NCCUTOUT, NCRCATMAT, NetCDF Operators, UNK, UNTRIM2007, UNTRIM2

Program(s) to run after this Program

DAVIT, NCAUTO, NCAGGREGATE, NCANALYSE, NCCHUNKIE, NCCUTOUT, NCPLOT, NCPOLO, NC2TABLE, TAYLORTARGETDIAGRAM, UNK, UNTRIM2007, UNTRIM2

Additional Information

Language

Fortran95

Additional software

none

Original Version

G. Lang, S. Spohr

Maintenance

G. Lang, S. Spohr

Documentation/Literature

  • Template Files:
    • template files available in $PROGHOME/examples/ncdvar

back to Program Descriptions


Overview