...
| Anchor | ||||
|---|---|---|---|---|
|
Delft-FEWS can also export simulations simulated historical timeseries to the archive via the ArchiveExportModule (exportSimulations activity).
Exporting forecasts can be done in three ways:
Exporting forecasts in the workflow which computed the forecast
The preferred way of archiving forecasts is at the end of the workflow which computed the forecast. Especially when you have using modifiers in your workflow. If you export the data in another workflow after the forecast is computed it is not guaranteed that the applied modifiers are still available in FEWS.
Exporting all forecasts in a relative period
...
. These timeseries are typically used for setting the historical states of hydrological models. E.g. a historical run from an hydrological model is usually stored as a Simulated Historical. Storage of Simulated Historical timeseries happens similarly compared to the Other Historical timeseries.
Store time series in the netcdf storage
It is possible to store a simulation partly in the Open Archive (meta data, states, reports, modifiers and reports) and partly (time series) in the netcdf storage. This can be useful when you want to have a 'clean' time series only storage. This can be configured by add the element netcdfStorageExport to the general section. An example is given below.
| Code Block | ||
|---|---|---|
| ||
<exportArchiveModule xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews https://fewsdocs.deltares.nl/schemas/version1.0/exportArchiveModule.xsd">
<exportSimulatedHistorical>
<general>
<archiveFolder>folder</archiveFolder>
<dataFeedId>MODELID</dataFeedId>
<relativePeriod start="-20" end="0" unit="hour"/>
</general>
<activities>
<netcdfExportActivities>
<netcdfExportActivity>
<fileName>test.nc</fileName>
<areaId>AREA</areaId>
<timeSeriesSet>
<moduleInstanceId>test</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>par</parameterId>
<locationId>loc</locationId>
<timeSeriesType>simulated forecasting</timeSeriesType>
<timeStep unit="hour"/>
<readWriteMode>add originals</readWriteMode>
</timeSeriesSet>
</netcdfExportActivity>
</netcdfExportActivities>
</activities>
</exportSimulatedHistorical>
</exportArchiveModule> |
...
| Anchor | ||||
|---|---|---|---|---|
|
...