# Conversion of Computed Results

### From BAWiki

Calculated results from numerical models used at BAW-DH can be converted into BDF-Format (description of this data format is available in German only). This allows a unified approach for data analyses typically carried through in the post-processing stage independent of the numerical model used to calculate the results. In the following you may find an overview with respect to the actually available tools.

## Conversion of Computed Results

### Numerical Model TRIM-2D

- TR2GEOM: Conversion of model bathymetry into an equivalent finite element grid (triangular grid). This step must be carried through before later conversion of the computed data.
- TR2DIDA: Conversion of computational results (synoptic data sets) into BAW-DH's standard BDF-Format (description of this data format is available in German only). This step is necessary before using several postprocessors for data analyses as well as data-visualization.

### Numerical Model TRIM-3D

- TR2GEOM: Conversion of model bathymetry into an equivalent finite element grid (triangular grid). This step must be carried through before later conversion of the computed data.
- TR3DIDA: Conversion of computational results (synoptic data sets) into BAW-DH's standard BDF-Format (description of this data format is available in German only). This step is necessary before using several postprocessors for data analyses as well as data-visualization.

### Numerical Model TELEMAC-2D

- TM2DIDA: Conversion of computational results (synoptic data sets) as well as model bathymetry into BAW-DH's standard BDF-Format (description of this data format is available in German only). This step is necessary before using several postprocessors for data analyses as well as for visualization.

### Numerical Model DELFT3D

- GETDATA: (executable for Windows-PC): conversion of original Delft3D map files (results of filetype
**trim-runid.dat**) into NetCDF data files (filetype netcdf.cdf).

- Notice: to workers within BAW: the latest version of GETDATA.EXE is normally available in directory
**%PROGHOME%\bin\win\getdata\**.

- DATACONVERT: Conversion of computational results (synoptic data sets) as well as model bathymetry into BAW-DH's standard (BDF-Format and UNTRIM grid). This step is necessary before using several postprocessors for data analyses as well as for visualization.
- GRIDCONVERT: conversion of grid and model bathymetry into BAW-DH's standard grid format (UNTRIM grid). This conversion program shall be used in case only bathymetry and grid shall be visualized using one of BAW-DH's routine methods and no related computational results are yet available.

### General Purpose Postprocessors

- DATACONVERT: conversion of data between different file formats; i.e. conversion from BDF or BOEWRT.DAT to UGRID CF NetCDF, required for later use of NCAUTO, NCPLOT, NCANALYSE, NCDELTA and TAYLORDIAGRAM.
- ZEITR: Sorting of synoptic data sets into time series for each calculated result and each nodal point in the computational grid. Program must be executed before any further analysis of calculated results can be carried through.

## Extraction of Data along Profiles

### General Purpose Postprocessors

- TICLQ2: Extraction of bathymetry along longitudinal and/or cross-sectional profiles. Every profile is defined by a sequence of 2D-locations which are connected by straight lines. Additional points can be easily inserted automatically at regular intervals in between these 2D-locations.
- XTRLQ2: Extraction of comutational results along longitudinal and/or cross-sectional profiles.

## Extraction of Data into ASCII-Format

### Numerical Model TRIM-2D

TR2ASCII: Conversion of data (synoptic data sets). The results are stored for the locations of the nodes where water level elevation is calculated (velocities are going to be interpolated). Whether a location is flooded or dry, this is also indicated in the ASCII output file.

### General Purpose Postprocessors

- XTRDATA: Extraction of time-series and/or profiles of computed results at selected locations or along longitudinal or cross-sectional profiles.
- GVIEW2D: By activating the switch AsciiOut a file of type boewrt.dat will be generated for the selected time-series.
- HVIEW2D: By activating the switch OutAscii a file of type outhview2d.dat will be written into the work directory. This ASCII file contains metadata, coordinates and values of the displayed physical quantities.
- LQ2PRO: The Write Anitab button enables the output of synoptic profile data on ASCII files into the work directory.

## Splitting, Merging and Thinning of BDF-Files

### General Purpose Postprocessors

- DIDAMERGE: Merging of separate synoptic data sets which are stored in different BDF-files into one BDF-file. The program can be also used for thinning of data in one BDF-file.
- DIDASPLIT: Splitting of data which are stored in BDF-files (synoptic data, time series data, results from data analyses, comparative results from data analyses) into different BDF-files following geographical criteria.

## Computation of New Quantities, Integration and Averaging

### Computation of New Quantities

- PGCALC: Program PGCALC is able to calculate a few special physical quantities out of given two- als well as threedimensional synoptic data sets. E.g.: layer thickness (related to a grid), geodetic height, water density or pressure in the water column. Many of these quantities are needed in later analyses of energetic fluxes. Calculations may be performed for either spatially available data or data along profiles.
- ENERF: Program ENERF was especially designed to calculate some energetic quantities of interest out of two- or threedimensional synoptic data sets. Wind induced energy input, dissipation of energy at the bottom, specific kinetic or potential energy are some of them. In general new quantities can be calculated from known quantities using arbitrary combinations of elementary mathematical operations.

### Integration and Averaging

- DIDAMINTZ: With this program depth-integration or depth-averaging ist possible for given threedimensional synoptic data sets. In this way averaged or integrated threedimensional model results become easily comparable with results from twodimensional models.
- DIDAMINTQ: This program exclusively operates on two- or threedimensional synoptic data sets given along profiles. Integration and/or averaging over the cross-section are both possible operations. Scalar quantities may be combined with vector quantities to define new flux-quantities which may also be integrated for the cross section.

### Import to ArcGIS - generation of shapefiles

- ArcGIS-Applications (in German only): With this extension for the GIS program ArcMAP it is possible to directly import data stored within different of BAW-DH's file formats into ArcGIS-shapefiles. Imported data can be later analyzed using GIS methods or handed over to external partners for further analysis.

back to Pre- and Postprocessing