NCDELTA: Difference between revisions
From BAWiki
imported>Lang Guenther (version date changed) |
Günther Lang (talk | contribs) (storage of md5 hash values as well as contents of ASCII input files in netcdf.nc) |
||
Line 2: | Line 2: | ||
|name_de=NCDELTA | |name_de=NCDELTA | ||
|name=NCDELTA | |name=NCDELTA | ||
|version= | |version=January 2020 | ||
|version_descr= | |version_descr=January 2020 | ||
|catchwords= | |catchwords= | ||
postprocessor<br /> | postprocessor<br /> | ||
Line 16: | Line 16: | ||
[[NetCDF#Quality assurance using NetCDF attributes|automatic quality assurance (value range)]]<br /> | [[NetCDF#Quality assurance using NetCDF attributes|automatic quality assurance (value range)]]<br /> | ||
automatic adjustment of number of READ data to chunk size of data<br /> | automatic adjustment of number of READ data to chunk size of data<br /> | ||
automatic setting of WRITE chunk sizes for written variables | automatic setting of WRITE chunk sizes for written variables<br /> | ||
Storage of the content of the ASCII input control files in [[CF-NETCDF.NC|netcdf.nc]] (as a variable)<br /> | |||
Storage of [https://en.wikipedia.org/wiki/MD5 MD5 hash values] of input files in [[CF-NETCDF.NC|netcdf.nc]] (as a variable)<br /> | |||
Acknowledgment: ''This project took advantage of netCDF software developed by UCAR/Unidata ([http://www.unidata.ucar.edu/software/netcdf/ www.unidata.ucar.edu/software/netcdf/]).'' | Acknowledgment: ''This project took advantage of netCDF software developed by UCAR/Unidata ([http://www.unidata.ucar.edu/software/netcdf/ www.unidata.ucar.edu/software/netcdf/]).'' | ||
Revision as of 13:04, 16 January 2020
Basic Information
Name of Program
NCDELTA
Version-Date
January 2020
Description-Date
January 2020
Catchwords
postprocessor
differences of synoptic data (with optional restriction of time period)
differences of characteristic numbers
differences for extensive quantities
input data for Taylor diagram
median, percentiles (Q01, Q05, Q95, Q99)
skill score according to Murphy (1988) equation 4
skill score according to Taylor (2001) equations 4 and 5
parallelization using OpenMP
automatic quality assurance (value range)
automatic adjustment of number of READ data to chunk size of data
automatic setting of WRITE chunk sizes for written variables
Storage of the content of the ASCII input control files in netcdf.nc (as a variable)
Storage of MD5 hash values of input files in netcdf.nc (as a variable)
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 with individual constant time step:
- both data sets may contain a different number of data items (time steps), but the length of the time period to be compared must be identical, whereas the periods to be compared may differ ;
- constant time step for each data set may differ from each other, but the larger time step must an integer multiple of the smaller one.
Requirements for time-dependent primary variable pairs with variable time step:
- both data sets must contain an identical number of data items (time steps), with periods allowed to be different.
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).
Remarks concerning the comparison of extensive variables:
- for extensive variables the respective sizes of the computational cells (area, length) are taken into account.
Input-Files
- general input data (file type ncdelta.dat);
- reference data (file type CF-NETCDF.NC);
- variant data (file type CF-NETCDF.NC);
- for automatic quality assurance (file type bounds_verify.dat).
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. For primary variables optionally available axiliary variables with standard_name modifier status_flag are taken into account in case meaning good is represented by an appropriate flag (bit).
- with respect of the different skill scores used and computed by the program - references:
- Murphy, Allan H. (1988) "Skill Scores Based on the Mean Square Error and Their Relationship to the Correlation Coefficient". Monthly Weather Review, Dec. 1988, Seiten 2417 - 2424.
- Taylor, Karl E. (2001) "Summarizing multiple aspects of model performance in a single diagram". Journal of Geophysical Research, Vol 106, No. D7, April 16, 2001, Pages 7183 - 7192.
Just in case HDF error is detected during read of a data record, the program tries to reconstruct the wanted data set from adjacent (in time) records for the same variable. This type of repair works for time dependent variables only.
Program(s) to run before this Program
DATACONVERT, NCAGGREGATE, NCANALYSE, NCCHUNKIE, NCCUTOUT, NCRCATMAT, NetCDF Operators, UNK, UNTRIM2007, UNTRIM2
Program(s) to run after this Program
DAVIT, NCAUTO, NCCHUNKIE, NCPLOT, NCCUTOUT, NC2TABLE, PLOTTS, TAYLORDIAGRAM
Additional Information
Language
Fortran95
Additional software
none
Original Version
Maintenance
Documentation/Literature
- Presentations (available in German only):
- 2015-07-15: NCDELTA - Differenzen neu berechnet.
- Template Files:
- template files available in $PROGHOME/examples/ncdelta
back to Program Descriptions