Actions

DATACONVERT.DAT: Difference between revisions

From BAWiki

imported>Lang Guenther
m (remarks on EPSG code interchangede between INPUT and OUTPUT)
imported>Lang Guenther
(mode 4: link to UTRSUB_GRID.DAT)
 
(14 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|name_de=DATACONVERT.DAT
|name_de=DATACONVERT.DAT
|filetype=dataconvert.dat  
|filetype=dataconvert.dat  
|version=7.x / August 2010
|version=December 2018
|version_descr=August 2010
|version_descr=December 2018
|significance=Contains various input steering data for the postprocessor DATACONVERT
|significance=Contains various input steering data for the postprocessor DATACONVERT
|filecontents=
|filecontents=
Contains various input steering data, which are required during  
Contains various input steering data, which are required during  
* '''mode 1''' , conversion of computational results for the integrated modelling system [[Mathematical Model DELFT3D|Delft3D]]. Original data are stored in NetCDF data files and are going to be converted and written to BAW-specific BDF data files, or,  
* '''mode 1''', conversion of computational results for the integrated modelling system [[Mathematical Model DELFT3D|Delft3D]]. Original data are stored in NetCDF data files and are going to be converted and written to BAW-specific BDF data files, or,  
* '''mode 2''' , conversion of (DWD) NetCDF files to BAW-specific BDF data files, or,
* '''mode 2''', conversion of (DWD) NetCDF files to BAW-specific BDF data files, or,
* '''mode 3''' , merge of several (DWD) NetCDF files to a single NetCDF data file (times for input data must be identical in all input files).
* '''mode 3''', merge of several (DWD) NetCDF files to a single NetCDF data file (times for input data must be identical in all input files), or
* '''mode 4''', conversion of BDF data files into a single NetCDF data file using [http://cf-pcmdi.llnl.gov/ CF Metadata] conventions, or
* '''mode 6''', conversion of meteorological data in BDF-Format into Delft3D format METEO_DLFT, or
* '''mode 7''', conversion of timeseries in [[BOEWRT.DAT|BOEWRT format]] into [[CF-NETCDF.NC|cf-netcdf.nc]] data according to NODC's [http://www.nodc.noaa.gov/data/formats/netcdf/#templatesexamples feature type template for timeSeries], or
* '''mode 8''', conversion from CF SGRID NetCDF into CF UGRID NetCDF format (see [[CF-NETCDF.NC|cf-netcdf.nc]]).
 


'''informations related to output files''' (block '''Output_Information''')
'''informations related to output files''' (block '''Output_Information''')
Line 37: Line 42:
** (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
** (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
**: Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).  
**: Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).  
** (optional) dry bed density: bedload and suspended matter transport rates are in Delft3D result files stored as volume per time and in BDF files as mass per time. A dry bed density for each fraction is necessary for the conversion into a mass transport, i.e. into measures with the code 621 or 622.
* '''mode 2'''
* '''mode 2'''
** file to store converted data (filetype [[DIRZ.BIN.R|dirz.bin.r]], [[DIRZ.BIN.I|dirz.bin.i]] and [[DIRZ.BIN|dirz.bin]]).
** file to store converted data (filetype [[DIRZ.BIN.R|dirz.bin.r]], [[DIRZ.BIN.I|dirz.bin.i]] and [[DIRZ.BIN|dirz.bin]]).
Line 61: Line 67:
** (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
** (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
**: Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).  
**: Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).  
* '''mode 4'''
** file to store merged data (filetype [[CF-NETCDF.NC|cf-netcdf.nc]]).
** (optional) start time for data conversion.
**: Notice: if not specified the first date contained in the input data will be used.
** (optional) end time for data conversion.
**: Notice: if not specified the last date contained in the input data will be used.
** (optional) time step for data conversion.
**: Notice: if not specified all dates contained in the input data will be converted.
** (optional) threshold depth for drying and wetting.
**: Notice: if not specified 0.1 m will be used.
** (optional) title (corresponds to global CF attribute ''title'').
** (optional) comment (corresponds to global CF attribute ''comment'').
** (optional) source (corresponds to global CF attribute ''source'').
** (optional) creation mode ID for a CF NetCDF file (see [http://www.unidata.ucar.edu/software/netcdf/ Unidata NetCDF]).
** (optional) deflate_level for a CF-NetCDF file (see [http://www.unidata.ucar.edu/software/netcdf/ Unidata NetCDF]).
**: Notice: For further informations on global CF attributes see [[NetCDF global attributes]].
* '''mode 6'''
** file to store converted data (filetype [[METEO_DLFT]])
** (optional) start time for data conversion.
**: Notice: if not specified the first date contained in the input data will be used.
** (optional) end time for data conversion.
**: Notice: if not specified the last date contained in the input data will be used.
** (optional) time step for data conversion.
**: Notice: if not specified all dates contained in the input data will be converted.
** (optional) EPSG code for coordinates of resulting grid file (see [http://www.epsg-registry.org/ EPSG Geodetic Parameter Registry]).
**: Notice: There will be be no mapping, but the code will be written as a comment into the METEO_DELFT file.
** (optional) No_Data_Value for invalid data.
** (optional) Timezone for the time string of the output file (Default: UTC)
* '''mode 7'''
** file to time series data (filetype [[CF-NETCDF.NC|cf-netcdf.nc]]).
** (optional) start time for data conversion.
**: Notice: if not specified the first date contained in the input data will be used.
** (optional) end time for data conversion.
**: Notice: if not specified the last date contained in the input data will be used.
** (optional) time step for data conversion.
**: Notice: if not specified all dates contained in the input data will be converted, e.g. for time series with time steps of different lengths.
** (optional) creation mode ID for a CF NetCDF file (see [http://www.unidata.ucar.edu/software/netcdf/ Unidata NetCDF]).
** (optional) deflate_level for a CF-NetCDF file (see [http://www.unidata.ucar.edu/software/netcdf/ Unidata NetCDF]).
* '''mode 8'''
** file for converted data (filetype [[CF-NETCDF.NC|cf-netcdf.nc]], CF UGRID NetCDF).
** (optional) start time for data conversion.
**: Notice: if not specified the first date contained in the input data will be used.
** (optional) end time for data conversion.
**: Notice: if not specified the last date contained in the input data will be used.
** (optional) time step for data conversion.
**: Notice: if not specified all dates contained in the input data will be converted, e.g. for time series with time steps of different lengths.
** (optional) creation mode ID for a CF NetCDF file (see [http://www.unidata.ucar.edu/software/netcdf/ Unidata NetCDF]).
** (optional) deflate_level for a CF-NetCDF file (see [http://www.unidata.ucar.edu/software/netcdf/ Unidata NetCDF]).
** (optional) time step used during simulation.
** (optional) dimensionality of simulation.
*: Notice: For further informations on global CF attributes see [[NetCDF global attributes]].


'''informations related to input files''' (block '''Input_Files''') - block can be specified several times
 
'''informations related to input files''' (block '''Input_Files''') - block can be specified several times, but only once in case of modes 7 and 8.
* '''mode 1'''
* '''mode 1'''
** name of NetCDF-file which contains the computational results from Delft3D going to be converted (filetype [[NETCDF.CDF|netcdf.cdf]]);
** name of NetCDF-file which contains the computational results from Delft3D going to be converted (filetype [[NETCDF.CDF|netcdf.cdf]]);
Line 77: Line 135:
* '''mode 3'''
* '''mode 3'''
** file name with type [[NETCDF.CDF|netcdf.cdf]], contents will be merged into the output file.
** file name with type [[NETCDF.CDF|netcdf.cdf]], contents will be merged into the output file.
* '''mode 4'''
** BDF data file of type [[DIRZ.BIN|dirz.bin]].
**: Remarks:
**:# Files of type [[DIRZ.BIN.I|dirz.bin.I]] and [[DIRZ.BIN.R|dirz.bin.R]] must be also available.
**:# Valid data types:
**:#* Synoptic data.
**:# Valid grid types:
**:#* [[LOCATION_GRID.DAT|location_grid.dat]] or [[CF-NETCDF.NC|cf-netcdf.nc]] from [[GRIDCONVERT]].
**:#* [[GITTER05.DAT and GITTER05.BIN|gitter05.dat and gitter05.bin]] or [[CF-NETCDF.NC|cf-netcdf.nc]] from [[GRIDCONVERT]].
**:#* [[UNTRIM_GRID.DAT|untrim_grid.dat]] or [[CF-NETCDF.NC|cf-netcdf.nc]] from [[GRIDCONVERT]].
**:#* [[UTRSUB_GRID.DAT|utrsub_grid.dat]] (only with ''false'' subgrid - one subpolygon/polygon, one subedge/edge).
**:#* [[PROFIL05.BIN|profil05.bin]] or [[CF-NETCDF.NC|cf-netcdf.nc]] from [[GRIDCONVERT]].
* '''mode 6'''
** data files of type [[DIRZ.BIN.R|dirz.bin.r]], [[DIRZ.BIN.I|dirz.bin.i]] and [[DIRZ.BIN|dirz.bin]]
** alle grid formats connectable with BDF files, e.g. [[GITTER05.DAT_and_GITTER05.BIN|GITTER05]]
* '''mode 7'''
** a data file of type [[BOEWRT.DAT|boewrt.dat]]; all quantities will be converted automatically. If you intend to analyze the converted data with [[NCANALYSE|NCANALYSE]], the needed quantities will have to be packed into one file of type boewrt.dat. Missing water level data could be taken from near by gauging stations.
* '''mode 8'''
** file with input data (filetype [[NETCDF.CDF|netcdf.cdf]], CF SGRID NetCDF);
** EPSG code for coordinates in input data file (see [http://www.epsg-registry.org/ EPSG Geodetic Parameter Registry]).
'''informations related to the meaning of variables''' (Block '''SGRID_Variable_Meaning''') - must be specified once in case of mode 8, otherwise not.
* '''mode 8'''
** name of variable and meaning of variable.


dictionary-file '''hyd_untrim_dico.dat''', normally present in directory '''$PROGHOME/dic/''', will be automatically read by the application program in addition to the user-specified input file.  
dictionary-file '''dataconvert_dico.dat''', normally present in directory '''$PROGHOME/dic/''', will be automatically read by the application program in addition to the user-specified input file.  
|nutzerprogramme=
|nutzerprogramme=
[[DATACONVERT]]
[[DATACONVERT]]
Line 89: Line 172:
|contact_original=[mailto:guenther.lang@baw.de G. Lang]
|contact_original=[mailto:guenther.lang@baw.de G. Lang]
|contact_maintenance=[mailto:guenther.lang@baw.de G. Lang], [mailto:susanne.spohr@baw.de S. Spohr]
|contact_maintenance=[mailto:guenther.lang@baw.de G. Lang], [mailto:susanne.spohr@baw.de S. Spohr]
|examplefile=please refer to $PROGHOME/examples/dataconvert/
|examplefile=please refer to $PROGHOME/examples/dataconvert/.
* '''mode 1''' : dataconvert.Delft3D-NetCDF.BDF.dat.
* '''mode 2''' : dataconvert.DWD-NetCDF.BDF.dat.
* '''mode 3''' : dataconvert.DWD-NetCDF.DWD-NetCDF.dat.
* '''mode 4''' : dataconvert.BDF.CF-NetCDF.dat.
* '''mode 6''' : dataconvert.BDF-METEO_DELFT.dat.
* '''mode 7''' : dataconvert.BOEWRT.CF-NetCDF.dat.
* '''mode 8''' : dataconvert.CF_SGRID_NetCDF.CF_UGRID_NetCDF.dat.
}}
}}

Latest revision as of 13:18, 14 December 2018

Basic Information

File-Type

dataconvert.dat

File-Form

FORMATTED

Version

December 2018

Description-Date

December 2018

Significance of the File

Contains various input steering data for the postprocessor DATACONVERT

File-Contents (in Catchwords)

Contains various input steering data, which are required during

  • mode 1, conversion of computational results for the integrated modelling system Delft3D. Original data are stored in NetCDF data files and are going to be converted and written to BAW-specific BDF data files, or,
  • mode 2, conversion of (DWD) NetCDF files to BAW-specific BDF data files, or,
  • mode 3, merge of several (DWD) NetCDF files to a single NetCDF data file (times for input data must be identical in all input files), or
  • mode 4, conversion of BDF data files into a single NetCDF data file using CF Metadata conventions, or
  • mode 6, conversion of meteorological data in BDF-Format into Delft3D format METEO_DLFT, or
  • mode 7, conversion of timeseries in BOEWRT format into cf-netcdf.nc data according to NODC's feature type template for timeSeries, or
  • mode 8, conversion from CF SGRID NetCDF into CF UGRID NetCDF format (see cf-netcdf.nc).


informations related to output files (block Output_Information)

  • mode 1
    • file to store converted depth averaged (2D-) computational results (filetype dirz.bin.r, dirz.bin.i and dirz.bin).
      Notice: data for multiple computational domains are going to be gathered and stored in this file.
    • file to store the converted computational grid (filetype untrim_grid.dat).
      Notice: computational grid data for multiple computational domains are going to be gathered and stored in this grid file.
    • (optional) file to store converted depth dependent (3D-) computational results (filetype dirz.bin.r, dirz.bin.i and dirz.bin).
      Notice: data for multiple computational domains are going to be gathered and stored in this file.
    • (optional) file with description of the vertical layer structure (z-layers), to be used for the converted computational results (filetype vertical.dat).
      Notice: this file must be always specified in situations when three-dimensional data are going to be generated by conversion.
    • (optional) threshold depth for drying and wetting.
      Notice: the value prescribed shall be not smaller than the one used during the Delft3D simulation.
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted.
    • (optional) maximum increase of depth during a morphodynamic simulation. Depth at all grid points is increased by this amount to cover depth variation due to morphodynamics within a z-layered (vertical) grid. Exception: depths at (protected) structures will not be altered.
      Notice: if this parameter is not prescribed all depth values will remain unchanged.
    • (optional) steering parameter for the method chosen to compute initial depth values at grid points. Depths can be computed from values prescribed in grid files or in computational result files.
      Notice: if this parameter is not prescribed, depth values are derived from grid data only.
    • (optional) steering parameter for type of method used to compute depth values for new edges inserted during the grid refinement process. Method can be either MEAN, MAX or MIN.
      Notice: if this parameter is missing, method MEAN will be used.
    • (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
      Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).
    • (optional) dry bed density: bedload and suspended matter transport rates are in Delft3D result files stored as volume per time and in BDF files as mass per time. A dry bed density for each fraction is necessary for the conversion into a mass transport, i.e. into measures with the code 621 or 622.
  • mode 2
    • file to store converted data (filetype dirz.bin.r, dirz.bin.i and dirz.bin).
      Notice: file is not generated, only the filetype is used.
    • file to store the converted computational grid (filetype gitter05.dat or gitter05.bin).
      Notice: file is not generated, only filetype is used.
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted.
    • (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
      Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).
    • EPSG code for coordinates of resulting grid file (see EPSG Geodetic Parameter Registry).
  • mode 3
    • file to store merged data (filetype netcdf.cdf).
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted.
    • (optional) steering parameter for rounding of time and date information (digits for nanoseconds). The number of digits for nanoseconds (0 - 9) has to be prescribed. In case 0 (zero) is prescribed, no digits for nanoseconds are taken into account and all internal time and date items are rounded to seconds.
      Notice: if this parameter is not specified, no time and date item will be subject to rounding (full accuracy).
  • mode 4
    • file to store merged data (filetype cf-netcdf.nc).
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted.
    • (optional) threshold depth for drying and wetting.
      Notice: if not specified 0.1 m will be used.
    • (optional) title (corresponds to global CF attribute title).
    • (optional) comment (corresponds to global CF attribute comment).
    • (optional) source (corresponds to global CF attribute source).
    • (optional) creation mode ID for a CF NetCDF file (see Unidata NetCDF).
    • (optional) deflate_level for a CF-NetCDF file (see Unidata NetCDF).
      Notice: For further informations on global CF attributes see NetCDF global attributes.
  • mode 6
    • file to store converted data (filetype METEO_DLFT)
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted.
    • (optional) EPSG code for coordinates of resulting grid file (see EPSG Geodetic Parameter Registry).
      Notice: There will be be no mapping, but the code will be written as a comment into the METEO_DELFT file.
    • (optional) No_Data_Value for invalid data.
    • (optional) Timezone for the time string of the output file (Default: UTC)
  • mode 7
    • file to time series data (filetype cf-netcdf.nc).
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted, e.g. for time series with time steps of different lengths.
    • (optional) creation mode ID for a CF NetCDF file (see Unidata NetCDF).
    • (optional) deflate_level for a CF-NetCDF file (see Unidata NetCDF).
  • mode 8
    • file for converted data (filetype cf-netcdf.nc, CF UGRID NetCDF).
    • (optional) start time for data conversion.
      Notice: if not specified the first date contained in the input data will be used.
    • (optional) end time for data conversion.
      Notice: if not specified the last date contained in the input data will be used.
    • (optional) time step for data conversion.
      Notice: if not specified all dates contained in the input data will be converted, e.g. for time series with time steps of different lengths.
    • (optional) creation mode ID for a CF NetCDF file (see Unidata NetCDF).
    • (optional) deflate_level for a CF-NetCDF file (see Unidata NetCDF).
    • (optional) time step used during simulation.
    • (optional) dimensionality of simulation.
    Notice: For further informations on global CF attributes see NetCDF global attributes.


informations related to input files (block Input_Files) - block can be specified several times, but only once in case of modes 7 and 8.


informations related to the meaning of variables (Block SGRID_Variable_Meaning) - must be specified once in case of mode 8, otherwise not.

  • mode 8
    • name of variable and meaning of variable.

dictionary-file dataconvert_dico.dat, normally present in directory $PROGHOME/dic/, will be automatically read by the application program in addition to the user-specified input file.

Programs using this Type of File

DATACONVERT

Example-File

please refer to $PROGHOME/examples/dataconvert/.

  • mode 1 : dataconvert.Delft3D-NetCDF.BDF.dat.
  • mode 2 : dataconvert.DWD-NetCDF.BDF.dat.
  • mode 3 : dataconvert.DWD-NetCDF.DWD-NetCDF.dat.
  • mode 4 : dataconvert.BDF.CF-NetCDF.dat.
  • mode 6 : dataconvert.BDF-METEO_DELFT.dat.
  • mode 7 : dataconvert.BOEWRT.CF-NetCDF.dat.
  • mode 8 : dataconvert.CF_SGRID_NetCDF.CF_UGRID_NetCDF.dat.

back to: File Descriptions


Overview