Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Import Module Configuration

The import module allows data from external source to be imported into DELFT-FEWS. Data may be provided to FEWS in a variety of formats. The approach taken in the import module is that a class is defined for each of the file formats that can be imported.

Data is imported from specified directories. An attempt is made to import all files in the directories configured. If a file conforms to the expected format then the data will be imported. If the file does not conform to the expected format, it will not be imported, but will be moved to a configurable directory with failed import files.

Two main groups of import can be defined;

  • Importing data in the XML format defined by the Environment Agency, UK.
  • Importing of various data formats (including ASCII formats, png files- e.g. meteosat images- grids and GRIB files).

On importing data, the approach to be used for converting flags, units, locations and parameters can be defined. These conversions are identified by referring to the appropriate configuration files (see Regional Configuration). When data is imported to an equidistant time series, a time tolerance may also be defined. If the time recorded is within this tolerance it will be snapped to the cardinal time step in the imported series.

When available as configuration on the file system, the name of the XML file for configuring an instance of the import module called for example ImportRTS may be:

ImportRTS 1.00 default.xml

ImportRTS

File name for the ImportRTS configuration.

1.00

Version number

default

Flag to indicate the version is the default configuration (otherwise omitted).

Image Added

Image Added

See also HOWTO Import data

Children Display