DATACONVERT
From BAWiki
Basic Information
Name of Program
DATACONVERT
Version-Date
9.x / February 2011
Description-Date
February 2011
Catchwords
conversion of Delft3D computational grid
conversion of Delft3D computational results
conversion of (DWD) NetCDF data files
merge of (DWD) NetCDF data files in one NetCDF file
conversion of BDF data into CF NetCDF data
conversion of meteorological data into the Delft3D format METEO_DLFT
Short Description of Functionality
Program DATACONVERT is used to convert computational results and data:
- mode 1: conversion of computational results from the integrated modelling system Delft3D into BAW-specific data formats, with
- conversion of a Delft3D computational grid into UnTRIM grid format,
- conversion of two-dimensional (depth averaged) Delft3D computational results into BDF data format (2D),
- conversion and depth averaging of three-dimensional Delft3D computational results into BDF data format (2D), and
- conversion of three-dimensional Delft3D computational results (sigma-coordinates) into BDF data format (3D, z-layers).
Dynamic model bathymetry (morphodynamics) is supported for 2D as well as 3D computational results. If Delft3D model results have been produced for a domain decomposition run, the converted results are written to different domain-specific data files and are not yet combined into one single file.
Conversion of subsequent physical quantities is currently possible:
- water level,
- current velocity,
- salinity,
- temperature,
- suspended sediment (several fractions),
- bathymetry (static),
- transient bathymetric depth, and
- vertical erosion.
- mode 2: conversion of (DWD) NetCDF data files into BAW-specific data formats, with
- generation of a grid from data points defined in the NetCDF data file, and
- conversion of NetCDF data into BAWs BDF file format.
- mode 3: merge contents of several (DWD) NetCDF data files into a single NetCDF data file, with
- transfer of meta data as well as data for identical dates into a single NetCDF data file.
- mode 4: conversion of BDF data into cf-netcdf.nc data.
- mode 6: conversion of meteorological data into Delft3D format METEO_DLFT.
Input-Files
- steering data
- file of type dataconvert.dat. The extended description for this file contains comprehensive informations with respect to steering data, input as well as output data files.
- computational grid
- mode 1
- delft3d.grd,
- delft3d.dep, and
- delft3d.enc.
- (optional) delft3d.dry,
- (optional) delft3d.thd,
- (optional) delft3d.lwl,
- (optional) delft3d.ext, as well as
- (optional) delft3d.bnd.
- mode 2 - no grid file required
- mode 3 - no grid file required
- mode 4
- location_grid.dat or cf-netcdf.nc (from GRIDCONVERT)
- mode 6
- all grid file formats used with BDF data, e. g. gitter05.dat and gitter05.bin.
- mode 1
- computational results or data
- mode 1
- mode 2
- mode 3
- mode 4
- BDF data files dirz.bin, dirz.bin.I and dirz.bin.R
- mode 6
- meteorological BDF files dirz.bin, dirz.bin.I and dirz.bin.R.
- (optional) vertical structure
- mode 1
- mode 2 - no vertical structure required
- mode 3 - no vertical structure required
- mode 4 - no vertical structure required
- mode 6 - no vertical structure required
Output-Files
- converted computational grid
- mode 1
- mode 2
- mode 3 - no grid generated
- mode 4
- (optional) cf-netcdf.nc
- mode 6
- implicit regular grid
- converted computational results
- mode 1
- dirz.bin.r,
- dirz.bin.i, and
- dirz.bin.
- mode 2
- dirz.bin.r,
- dirz.bin.i, and
- dirz.bin.
- mode 3
- mode 4
- mode 6
- mode 1
- printer file
- dataconvert.sdr.
- (optional) trace file
- dataconvert.trc.
Methodology
The original computational grid is in case converted using methods from software package H_GRID or L_GRID. Interpolation of computational results is performed using methods from the H_IP package. Read and Write of computational data is carried through essentially using methods from software package IO_DATASET and in mode 6 also using IO_DELFT.
Program(s) to run before this Program
DELFT3D, GETDATA, GRIDCONVERT.
Program(s) to run after this Program
ABDF, ADCP2PROFILE, ArcGIS-Applications, DELFT3D, DIDAMERGE, DIDARENAME, DIDASPLIT, ENERF, GVIEW2D, HVIEW2D, IO_VOLUME, METDIDA, PARTRACE, PARTRACE-3D, PGCALC, UNK, UNS, VTDK, XTRDATA, XTRLQ2, ZEITR.
Additional Information
Language
Fortran90
Additional software
-
Original Version
Maintenance
Documentation/Literature
for example input files please refer to $PROGHOME/examples/dataconvert/
back to Program Descriptions