Overview of HYMOS transfer database import functionality


HYMOS provides a database format to transfer time series. Two formats of HYMOS Transfer Databases are provided by HYMOS, related to the HYMOS versions: both 4.03 and 4.50. The transfer database files are in MS Access format (*.mdb).
The transfer files can be imported through the data import module of Delft-FEWS.

The importType should be "HymosTransferDb".

Notice that FlagConversion should be applied to convert from the HYMOS flags to FEWS flags. See the attached conversion files.

The files can not be supplied in a ZIP file.

Configuration

In the import moduleInstance the next definition should be used to import ArcWat DBF files:

    <general>
      <importType>HymosTransferDb</importType>
      <folder>$IMPORT_FOLDER_HYMOS$</folder>
      <failedFolder>$IMPORT_FAILED_FOLDER_HYMOS$</failedFolder>
      <backupFolder>$IMPORT_BACKUP_FOLDER_HYMOS$</backupFolder>
      <idMapId>IdImportHYMOS</idMapId>
      <flagConversionsId>ImportHYMOSFlagConversions</flagConversionsId>
      <importTimeZone>
      .....
    </general

Export from FEWS to HYMOS

It is also possible to export time series from Delft-FEWS to HYMOS transfer databases. The export is standard available in the table of the Time Series Display (Save as .. menu option). However, this option only uses the correct flag conversion if you have defined also the Hymos export in the file menu of the explorer.

You can activate this by adding the next definition to your explorer configuration:

  <interactiveExportFormats>
    <interactiveExportFormat>
      <name>HYMOS Transferdatabase 4.03</name>
      <exportType>Hymos 4.03</exportType>
      <IdMapId>IdHYMOS</IdMapId>
      <flagConversionsId>ExportHYMOSFlagConversions</flagConversionsId>
    </interactiveExportFormat>
    <interactiveExportFormat>
      <name>HYMOS Transferdatabase 4.50</name>
      <exportType>Hymos 4.5</exportType>
      <IdMapId>IdHYMOS</IdMapId>
      <flagConversionsId>ExportHYMOSFlagConversions</flagConversionsId>
    </interactiveExportFormat>
  </interactiveExportFormats>

Note: all the timeseries within the "interactiveExportFormat" block should have the same time step, as otherwise Hymos will not accept the file.

Java source code

HymosTransferDbTimeSeriesParser.java

  • No labels