D-Flow FM pre-adapter
Model pre-adapter for running D-Flow FM (D-Flow Flexible Mesh) model from Delft-FEWS.
or information about the D-Flow FM model see http://oss.deltares.nl/web/delft3d/d-flow-flexible-mesh
Usage: DFlowFMPreAdapter <netcdf run file pathname relative to current working directory>
Class name: nl.deltares.dflowfm.DFlowFMPreAdapter
Properties
mdu_file |
(required) |
Pathname of the MDU file to update. This should be either an absolute path or a path relative to the workDir specified in the netcdf run file. |
---|
Notes for users
- For all files that are written by this adapter, if the file to be written already exists, then it will be overwritten.
- This program assumes that the model always runs in time zone GMT.
- This program writes log messages to a log file called dflowfm_pre_adapter_log.txt in the workDir specified in the netcdf run file.
- This program uses the information in the specified netcdf run file as input and uses this information to do the following actions:
- Update MDU file:
In the MDU file specified in the property "mdu_file" the following fields will be updated automatically:TStart
Start time of the model run, in units of Tunit relative to RefDate. This uses the Tunit and RefDate that are specified in the MDU file.
TStop
End time of the model run, in units of Tunit relative to RefDate. This uses the Tunit and RefDate that are specified in the MDU file.
RstInterval
Interval (in seconds) for writing *_rst.nc restart files. RstInterval is set equal to the model run duration, so that only one output restart file is written, exactly at the end of the model run.
- Update MDU file:
System requirements
- This program needs Java version 1.7 or higher.
- This program needs the following Java libraries:
- commons-httpclient-3.0.1.jar
- Delft_FEWS.jar
- Delft_Util.jar
- log4j-1.2.14.jar
- netcdf-4.2.jar
- slf4j-api-1.5.6.jar
- slf4j-log4j12-1.5.6.jar
- TimeSeriesImport.jar