Versions Compared

Key

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

...

  • forecast (optional): Possible values are true or false. Default is false. If forecast is set to true, the forecast issue date will be registered as T0 and the first import value will be assumed to start at T0 + the configured timeStep.

  • vars (required): should contain one or more parameters separated by a  comma (,) . The parameters are expected to be present in the binary file in the specified order. If more than one variable is specified, only one time step is assumed. Specifying a tdefUnit and tdefValue is considered an error in this case. Always specify all parameters that are available in the input file.

  • fileNameDateTimePattern (required): pattern of the filename where the date is marked with single quotes ('). For example "prec_'yyyyMMdd'.bin". The date is used to determine T0 or the forecast issue date from the file name.

  • tdefUnit (optional): Required if more than one timestep is available in the binary format. Possible values are: second, minute, hour, day, month, year. Only equidistant timesteps are supported.

  • tdefValue (optional): Specifify the amount of units specified in the tdefUnit.

The import files can be gzipped. They should have the .gz extension. In the fileNameDateTimePattern the .gz extension should NOT be specified.

Configuring the Import

To make the importer known to FEWS, the import module has to be declared in the moduleInstanceDescriptors.xml in the RegionConfigFiles directory of the FEWS configuration:

...