NCDELTA
From BAWiki
Basic Information
Name of Program
NCDELTA
Version-Date
May 2016
Description-Date
August 2015
Catchwords
postprocessor
differences of synoptic data
differences of characteristic numbers
input data for Taylor diagram
median, percentiles (Q01, Q05, Q95, Q99)
parallelization using OpenMP
Acknowledgment: This project took advantage of netCDF software developed by UCAR/Unidata (www.unidata.ucar.edu/software/netcdf/).
Short Description of Functionality
Program computes differences for comparable variables (primary variable pairs) as well as additional statistical data derived from primary differences, but also data for Taylor diagrams (details see Differences of Calculated Results) can be computed for some types of data. Finding the primary variable pairs is done in an essentially automatical manner but can be altered to some extent by the user (see ncdelta.dat). Primary differences are computed according to variant data minus reference data.
Requirements for time-dependent primary variable pairs:
- both data sets must contain an identical number of data items (time steps), with periods allowed to be different;
- for data sets with constant time step, the respective time steps must be identical.
Remarks concerning the spatial location of data:
- data sets may differ with respect to their geographical location;
- areas for which data are defined must overlap to some degree;
- coordinates may be given in different coordinate systems, e. g. Gauß-Krüger and UTM;
- data for a location are compared with data for the nearest lying location, as far as the distance between the different locations does not exceed a prescribed maximum (see ncdelta.dat).
Input-Files
- general input data (file type ncdelta.dat)
- reference data (file type CF-NETCDF.NC)
- variant data (file type CF-NETCDF.NC)
Output-Files
- results (file type CF-NETCDF.NC)
- (optional) informative printer file of program execution (file type ncdelta.sdr)
- (optional) trace of program execution (file type ncdelta.trc)
Methodology
The program is subdivided into the following sections:
- read, check and print steering data prescribed by the user;
- read metadata for reference data;
- read metadata for variant data;
- copy metadata for reference as well as variant data to program specific data structures;
- compare metadata for substantial discrepancies (e. g. reference locations) between data sets;
- classify all reference as well as variant data;
- find primary variable pairs: each variant variable has one partner reference variable; primary computational results will be later derived from primary variable pairs;
- derive variables to be copied from reference as well as variant data file into the result file;
- compute interpolation matrices required for interpolation between reference data locations and variant data locations;
- create all metadata for the result file; essentially they stem from variables to be copied, from primary result variables, newly generated coordinate variables (time, vertical), as well as newly derived or to be copied measure and auxiliary variables;
- copy selceted variables from reference as well as variant file to the result file;
- compute all primary variables, (new) time and vertical coordinate variables, as well as weights and auxiliary variables.
Program(s) to run before this Program
DATACONVERT, NCAGGREGATE, NCANALYSE, NCRCATMAT, NetCDF Operators, UNK, UNTRIM2007, UNTRIM2
Program(s) to run after this Program
DAVIT, NCAUTO, NCPLOT, TAYLORDIAGRAM
Additional Information
Language
Fortran95
Additional software
none
Original Version
Maintenance
Documentation/Literature
template files available in $PROGHOME/examples/ncdelta
back to Program Descriptions