Actions

NCAGGREGATE: Difference between revisions

From BAWiki

imported>Lang Guenther
(remarks on automatic adjustment/setting of chunk sizes)
m (update version)
 
(16 intermediate revisions by 5 users not shown)
Line 2: Line 2:
|name_de=NCAGGREGATE
|name_de=NCAGGREGATE
|name=NCAGGREGATE
|name=NCAGGREGATE
|version=April 2018
|version=May 2023
|version_descr=April 2018
|version_descr=September 2022
|catchwords=
|catchwords=
data analysis<br />
data analysis<br />
Line 21: Line 21:
[[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 data READ to chunk size of input data <br />
automatic adjustment of number of data READ to chunk size of input data <br />
automatic computation of chunk sizes for result variables to support orthogonal data access
automatic computation of chunk sizes for result variables to support orthogonal data access<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 />
optional use of ''Message Passing Interface'' (MPI, [https://www.mpi-forum.org/ MPI Forum])


  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/]).''
Line 27: Line 30:
|shortdescription=
|shortdescription=
Program NCAGGRGATE may be useful in different situations which are listed in the following. For each type of application a list of programs (with sequence of execution) is given:
Program NCAGGRGATE may be useful in different situations which are listed in the following. For each type of application a list of programs (with sequence of execution) is given:
* aggregation of synoptic transport data for control volumes aiming at a precise balance of transports (water volume, salt, etc.):  
* aggregation of synoptic transport data for control volumes aiming at a precise balance of transports (water volume, salt, etc.):<br />Attention: To get an input file suitable for INSPECT_CONTROL_VOLUMES, the simulation must be performed at least with salt or temperature. Even if you are only interested in the hydrodynamics, NCAGGREGATE also has to aggregate the salt or temperature values. The aggregated synoptic water volume is otherwise not calculated. However, this physical quantity is required for the calculations performed in INSPECT_CONTROL_VOLUMES.
*# [[UNTRIM2007]] or [[UNTRIM2]],
*# [[UNTRIM2007]] or [[UNTRIM2]],
*# NCAGGREGATE,
*# NCAGGREGATE,
Line 74: Line 77:
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.
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.


|preprocessor=[[NCANALYSE]], [[NCCHUNKIE]], [[NCDELTA]], [[UNTRIM2007]], [[UNTRIM2]], [[INSEL2IPDS]]
|preprocessor=[[NCANALYSE]], [[NCCHUNKIE]], [[NCCUTOUT]], [[NCDELTA]], [[NCDVAR]], [[NCMERGE]], [[UNTRIM2007]], [[UNTRIM2]], [[INSEL2IPDS]]
|postprocessor=[[DAVIT]], [[INSPECT_CONTROL_VOLUMES]], [[NCANALYSE]], [[NCAUTO]], [[NCCHUNKIE]], [[NCDELTA]], [[NCPLOT]], [[NC2TABLE]]
|postprocessor=[[DAVIT]], [[INSPECT_CONTROL_VOLUMES]], [[NCANALYSE]], [[NCAUTO]], [[NCCHUNKIE]], [[NCDELTA]], [[NCDVAR]], [[NCMERGE]], [[NCPLOT]], [[NC2TABLE]], [[PLOTPROFILZEIT]]
|language=Fortran95
|language=Fortran95
|add_software=---
|add_software=---
|contact_original=[mailto:guenther.lang@baw.de G. Lang]
|contact_original=G. Lang
|contact_maintenance=[mailto:guenther.lang@baw.de G. Lang], [mailto:susanne.spohr@baw.de S. Spohr]
|contact_maintenance=[mailto:pos.proghome@baw.de Working group POS]
|documentation=
|documentation=
* Presentations (available in German only):
* Presentations (available in German only):
** 2014-03-12: [http://ewisa.baw.de/files/09206_tv12_2014_03_12_aggregation_g_lang.pdf ''Aggregation von Daten''].
** 2014-03-12: [http://ewisa.baw.de/files/09206_tv12_2014_03_12_aggregation_g_lang.pdf ''Aggregation von Daten''].
* [https://izw-campus.baw.de/ ''IZW-Campus''] (Podcast, available in German only)
**2020-12-07: [https://izw-campus.baw.de/goto.php?target=cat_1830&client_id=iliasclient ''Aggregation und NCAGGREGATE''].
* Template Files:
* Template Files:
** template files available in '''$PROGHOME/examples/ncaggregate'''
** template files available in '''$PROGHOME/examples/ncaggregate'''
}}
}}

Latest revision as of 08:56, 11 May 2023

Basic Information

Name of Program

NCAGGREGATE

Version-Date

May 2023

Description-Date

September 2022

Catchwords

data analysis
postprocessor
synoptic data sets
tidal characteristic numbers
tide-independent characteristic numbers
differences for synoptic data sets
differences for tidal characteristic numbers
differences for tide-independent characteristic numbers
CF NetCDF format for 2D/3D data
aggregated data for control volumes and exchanges
orthogonal unstructured grid model
support of computational results based on sub-grid bathymetry
parallelization using OpenMP
support of DMQS metadata and variables
automatic quality assurance (value range)
automatic adjustment of number of data READ to chunk size of input data
automatic computation of chunk sizes for result variables to support orthogonal data access
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)
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

Program NCAGGRGATE may be useful in different situations which are listed in the following. For each type of application a list of programs (with sequence of execution) is given:

  • aggregation of synoptic transport data for control volumes aiming at a precise balance of transports (water volume, salt, etc.):
    Attention: To get an input file suitable for INSPECT_CONTROL_VOLUMES, the simulation must be performed at least with salt or temperature. Even if you are only interested in the hydrodynamics, NCAGGREGATE also has to aggregate the salt or temperature values. The aggregated synoptic water volume is otherwise not calculated. However, this physical quantity is required for the calculations performed in INSPECT_CONTROL_VOLUMES.
    1. UNTRIM2007 or UNTRIM2,
    2. NCAGGREGATE,
    3. INSPECT_CONTROL_VOLUMES (check results),
    4. NCANALYSE, and
    5. DISPLAY_CONTROL_VOLUMES.
  • aggregation of synoptic data (water level, current velocity, salinity, etc.) aiming at the reduction of data complexity:
    1. UNTRIM2007 or UNTRIM2,
    2. NCAGGREGATE, and
    3. NCPLOT.
  • aggregation of characteristic numbers aiming at the reduction of data complexity:
    1. UNTRIM2007 or UNTRIM2,
    2. NCANALYSE,
    3. NCPLOT (check characteristic numbers),
    4. NCAGGREGATE, and
    5. NCPLOT.
  • aggregation of differences for characteristic numbers or synoptic data aiming at the reduction of data complexity:
    1. UNTRIM2007 or UNTRIM2 (experimentally also for DFlow FM),
    2. NCANALYSE (computation of characteristic numbers),
    3. NCPLOT (check characteristic numbers),
    4. NCDELTA,
    5. NCPLOT (check differences),
    6. NCAGGREGATE, and
    7. NCPLOT.

During aggragation of classical data land binary masks (LBM) are automatically added to the result file. LBMs are used to describe the distribution of land and water at aggregation time. LBMs therefore empower visualization programs like NCPLOT to optimally present aggregated data in combination with a meaningful land-water-distribution.

Optionally the user is able to generate percentiles (0.01, 0.05, 0.50, 0.95 and 0.99) as well as probability distributions in addition to those aggregated data which are usually created. For further advice see ncaggregate.dat.

Picture control volumes and exchanges.

Input-Files

  1. general input data (file type ncaggregate.dat);
  2. file with classifications for probability distributions (file type bounds.cfg.dat)
    Hint: (Recommended) Local configuration file or file from the directory $PROGHOME/cfg/.
  3. synoptic data sets (file type cf-netcdf.nc);
  4. control volumes (file type ipds.dat);
  5. for automatic quality assurance (file type bounds_verify.dat).

Output-Files

  1. data analysis result files (file type cf-netcdf.nc); see NetCDF aggregation for unstructured grids for details about the aggregational grid.
  2. (optional) informative printer file of program execution (file type ncaggregate.sdr)
  3. (optional) trace of program execution (file type ncaggregate.trc)

Methodology

Physical data, suitable for aggregation, are collected for different control volumes as well as exchanges between adjacent control volumes.

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

NCANALYSE, NCCHUNKIE, NCCUTOUT, NCDELTA, NCDVAR, NCMERGE, UNTRIM2007, UNTRIM2, INSEL2IPDS

Program(s) to run after this Program

DAVIT, INSPECT_CONTROL_VOLUMES, NCANALYSE, NCAUTO, NCCHUNKIE, NCDELTA, NCDVAR, NCMERGE, NCPLOT, NC2TABLE, PLOTPROFILZEIT

Additional Information

Language

Fortran95

Additional software

---

Original Version

G. Lang

Maintenance

Working group POS

Documentation/Literature


back to Program Descriptions


Overview