Actions

DATACONVERT: Difference between revisions

From BAWiki

imported>BAWiki 3
mNo edit summary
imported>BAWiki 3
No edit summary
Line 1: Line 1:
{{ProgramDescription
{{FileDescription
|name_de=DATACONVERT
|name_de=DATACONVERT.DAT
|name=DATACONVERT
|filetype=dataconvert.dat
|version=6.x / October 2007 
|version=6.x / December 2009
|version_descr=October 2007
|version_descr=December 2009
|catchwords=
|significance=Contains various input steering data for the postprocessor DATACONVERT
conversion of Delft3D computational grid<br />
|filecontents=
conversion of Delft3D computational results
Contains various input steering data, which are required during 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.
|shortdescription=
Program DATACONVERT is used to convert computational results from the integrated modelling system Delft3D into BAW-specific data formats. The following conversions are currently supported:<br />


* conversion of a Delft3D computational grid into UnTRIM grid format,
    * informations related to output files (block Output_Information)
* conversion of two-dimensional (depth averaged) Delft3D computational results into BDF data format (2D),
        1. file to store converted depth averaged (2D-) computational results (filetype dirz.bin.R, dirz.bin.I and dirz.bin).
* conversion and depth averaging of three-dimensional Delft3D computational results into BDF data format (2D), and
            Notice: data for multiple computational domains are going to be gathered and stored in this file.
* conversion of three-dimensional Delft3D computational results (sigma-coordinates) into BDF data format (3D, z-layers).<br />
        2. 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.
        3. (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.
        4. (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.
        5. (optional) threshold depth for drying and wetting.
            Notice: the value prescribed shall be not smaller than the one used during the Delft3D simulation.
        6. (optional) start time for data conversion.
            Notice: if not specified the first date contained in the input data will be used.
        7. (optional) end time for data conversion.
            Notice: if not specified the last date contained in the input data will be used.
        8. (optional) time step for data conversion.
            Notice: if not specified all dates contained in the input data will be converted.
        9. (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.
        10. (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.
        11. (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.
        12. (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).
    * informations related to input files (block Input_Files).
      Notice: this block can be specified several times, i. e. one time for each computational domain.
        1. name of NetCDF-file which contains the computational results from Delft3D going to be converted (filetype netcdf.cdf; Notice: has to be specified only once per computational domain), plus (optional) code numbers for the converted physical quantities (Notice: in case code numbers are not specified, all quantities which are feasible for conversion are going to be converted automatically).
        2. name of file which contains the computational grid going to be converted (filetype delft3d.grd).
            Additionally the following files of type delft3d.dep and delft3d.enc must be present in the working directory.
            Optionally files of type delft3d.dry, delft3d.thd, delft3d.lwl, delft3d.ext as well as delft3d.bnd may be present in the working directory.


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.<br />
            Remark 1: Only one file with extension grd per computational domain can be specified. The other (related) files are only allowed to differ with respect to their extension.


Conversion of subsequent physical quantities is currently possible:<br />
            Remark 2: For each computational domain the converted computational grid as well as the converted computational results are stored in files of type untrim_grid.dat dirz.bin.R, dirz.bin.I and dirz.bin.


# water level,
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.  
# current velocity,
|nutzerprogramme=
# salinity,
[[DATACONVERT]]
# temperature,
|language=Fortran90
# suspended sediment (several fractions),
|fileform=FORMATTED
# bathymetry (static),
|fileaccess=SEQUENTIAL
# transient bathymetric depth, and
|fileextension=.dat
# vertical erosion.<br />
|writemodules=editor
 
|readmodules=$PROGHOME/fortran/prg/dataconvert/*/mod_m_dataconvert_steu.f90
|inputfiles=
|contact_original=[mailto:guenther.lang@baw.de G. Lang]
#'''steering data'''
|contact_maintenance=[mailto:guenther.lang@baw.de G. Lang], [mailto:susanne.spohr@baw.de S. Spohr]
#::file of type [[DATACONVERT.DAT|dataconvert.dat]]. The extended description for this file contains comprehensive informations with respect to steering data, input as well as output data files.
|examplefile=please refer to '''$PROGHOME/examples/dataconvert/'''
#'''computational grid'''
::required:
::* [[DELFT3D.GRD|delft3d.grd]],
::* [[DELFT3D.DEP|delft3d.dep]], and
::* [[DELFT3D.ENC|delft3d.enc]].<br />
:: optional:
::* [[DELFT3D.DRY|delft3d.dry]],
::* [[DELFT3D.THD|delft3d.thd]],
::* [[DELFT3D.LWL|delft3d.lwl]],
::* [[DELFT3D.EXT|delft3d.ext]], as well as
::* [[DELFT3D.BND|delft3d.bnd]].<br />
 
* '''computational results'''
 
:* [[NETCDF.CDF|netcdf.cdf]].
 
* (optional) '''vertical structure'''
 
:* [[VERTICAL.DAT|vertical.dat]].<br />
 
|outputfiles=
# '''converted computational grid'''
#::* [[UNTRIM_GRID.DAT|untrim_grid.dat]].
# '''converted computational results'''
#::* [[DIRZ.BIN.I|dirz.bin.r]],
#::* [[DIRZ.BIN.I|dirz.bin.i]], and
#::* [[DIRZ.BIN|dirz.bin]].
# '''printer file'''
#::* dataconvert.sdr.
# (optional) '''trace file'''
#::* dataconvert.trc.
 
|methodology=The original computational grid is converted using methods from software package H_GRID. Conversion of computational results is performed using methods from the H_IP package. Read and Write of computational data is carried through using several methods from software package IO_DATASET. 
|preprocessor=[[DELFT3D]], [[GETDATA]]
|postprocessor=[[ABDF]], [[ADCP2PROFILE]], [[DIDAMERGE]], [[DIDARENAME]], [[DIDASPLIT]], [[ENERF]], [[GVIEW2D]], [[HVIEW2D]], [[IO_VOLUME]], [[PARTRACE]], [[PARTRACE-3D]], [[PGCALC]], [[UNK]], [[UNS]], [[VTDK]], [[XTRDATA]], [[XTRLQ2]], [[ZEITR]].  
|language=FORTRAN 90
|add_software= -
|contact_original=[mailto:mailto:günther.lang@baw.de G. Lang]
|contact_maintenance=[mailto:mailto:günther.lang@baw.de G. Lang,], [mailto:susanne.spohr@baw.de S. Spohr,]
|documentation=for example input files please refer to $PROGHOME/examples/dataconvert  
}}
}}

Revision as of 12:50, 5 May 2010

Basic Information

File-Type

dataconvert.dat

File-Form

FORMATTED

Version

6.x / December 2009

Description-Date

December 2009

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 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.

   * informations related to output files (block Output_Information)
        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.
        2. 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.
        3. (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.
        4. (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.
        5. (optional) threshold depth for drying and wetting.
           Notice: the value prescribed shall be not smaller than the one used during the Delft3D simulation.
        6. (optional) start time for data conversion.
           Notice: if not specified the first date contained in the input data will be used.
        7. (optional) end time for data conversion.
           Notice: if not specified the last date contained in the input data will be used.
        8. (optional) time step for data conversion.
           Notice: if not specified all dates contained in the input data will be converted.
        9. (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.
       10. (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.
       11. (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.
       12. (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). 
   * informations related to input files (block Input_Files).
     Notice: this block can be specified several times, i. e. one time for each computational domain.
        1. name of NetCDF-file which contains the computational results from Delft3D going to be converted (filetype netcdf.cdf; Notice: has to be specified only once per computational domain), plus (optional) code numbers for the converted physical quantities (Notice: in case code numbers are not specified, all quantities which are feasible for conversion are going to be converted automatically).
        2. name of file which contains the computational grid going to be converted (filetype delft3d.grd).
           Additionally the following files of type delft3d.dep and delft3d.enc must be present in the working directory.
           Optionally files of type delft3d.dry, delft3d.thd, delft3d.lwl, delft3d.ext as well as delft3d.bnd may be present in the working directory.
           Remark 1: Only one file with extension grd per computational domain can be specified. The other (related) files are only allowed to differ with respect to their extension.
           Remark 2: For each computational domain the converted computational grid as well as the converted computational results are stored in files of type untrim_grid.dat dirz.bin.R, dirz.bin.I and dirz.bin. 

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.

Programs using this Type of File

DATACONVERT

Example-File

please refer to $PROGHOME/examples/dataconvert/


back to: File Descriptions


Overview