...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <Run xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews/PI" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_run.xsd" version="1.5"> <timeZone>0.0</timeZone> <startDateTime date="2017-03-26" time="06:00:00"/> <endDateTime date="2017-03-29" time="06:00:00"/> <time0 date="2017-03-26" time="06:00:00"/> <workDir>X:\XXX\DimrPreAdapterTest\piRunFile1d2dRTC\dimr_model</workDir> <inputTimeSeriesFile>X:\XXX\piRunFile1d2dRTC\Input\export_pi_flow1d.xml</inputTimeSeriesFile> <inputTimeSeriesFile>X:\XXX\piRunFile1d2dRTC\Input\export_pi_fm.xml</inputTimeSeriesFile> <inputTimeSeriesFile>X:\XXX\piRunFile1d2dRTC\Input\export_pi_fbc.xml</inputTimeSeriesFile> <outputDiagnosticFile>notUsed.xml</outputDiagnosticFile> <properties> <!-- Reference to dimr configuration file, relative to parent directory of the/this pi-run.xml file --> <!-- This file will be read to see which components of the dimr are used and find references to .md1d, .mdu, flow1d2d.ini and/or fbc runtime config --> <string key="dimrConfigFile" value="../dimr_config.xml"/> <!-- Specify which of the above time series xml files is meant for flow1d --> <string key="piFileForFlow1d" value="inputTimeSeriesFile-1"/> <!-- Overwrite RstInterval value in the .mdu file with this property --> <string key="restartIntervalForFm" value="600"/> <!-- Specify which of the above time series xml files is meant for FM --> <string key="piFileForFm" value="inputTimeSeriesFile-2"/> <!-- Specify which of the above time series xml files is meant for FBC (rtc1) --> <string key="piFileForFbc" value="inputTimeSeriesFile-3"/> <!-- Will write the pi time series values for fbc as binary in timeseries_import.bin--> <string key="piTimeSeriesAsBin" value="true"/> <!-- Will convert the specified boundary NetCDF file to ASCII write the pi time series values for fbc as binary in timeseries_import.bin--> <string key="dWaveNetcdfBoundaryFileToConvert" value="input/boundary.nc"/> <!-- Optional settings for conversion of boundary file to ASCII, values shown here are default--> <string key="dWaveBoundaryFilePrefix" value="WW3_"/> <string key="dWaveBoundaryFileNumberOfCopies" value="3"/> </properties> </Run> |
Important: the adapter doesn't support timezones. Therefore, the timezone in the General Adapter should be set at +00:00 and the timezones in the model too. This means for example for D-Flow FM that in the mdu file the Tzone property is set to 0.
The dimr configuration file will be read to find the components that are being used so it knows which files need to be changed.
...
Important: notice that the above snippet starts at number 125. You need the lines till 125 in the sobek_3b.fnm file for it to work. If you are missing the lines for numbers 121 till 124, see the snippet below to add them. Another very important step after adding the lines is to make an empty file in the rr model directory called CacheFile.txt. If this file doesn't exists, this could lead the model to use infinity precipitation values!
...