You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

What

UnitConversionsDescriptors .xml

Required

no

Description

Definition of unit conversions used for mapping external units to DELFT-FEWS units

schema location

http://fews.wldelft.nl/schemas/version1.0/unitConversionsDescriptors.xsd

Each UnitConversion support mapping external to internal units configured in DELFT-FEWS can be registered in the UnitConversionsDescriptors configuration.

From Delft-FEWS version 2008.03 it is no longer required to identify the UnitConversion to DELFT-FEWS. If this UnitConversionsDescriptors file does NOT exist or the individual reference to an UnitConversion is not present, the system will assume the corresponding UnitConversion file exist within the UnitConversionsFiles directory. This functionality is similar for IdMap(Descriptors), FlagConversion(Descriptors) and TravelTimes(Descriptors.

When available on the file system, the name of the XML file for configuring the UnitConversionDescriptors is for example:

UnitConversionDescriptors 1.00 default.xml

UnitConversionDescriptors       Fixed file name for the UnitConversionDescriptors configuration

1.00                                            Version number

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


Figure 48 Elements of the UnitConversions configuration.

UnitConversionDescriptor

Root element of the UnitConversionDescriptor. New element is required for each UnitConversion  identified. Multiple instances may be defined.

Attributes;

  • Id: Id of the UnitConversion. This Id must be unique. Normally a string is used that gives some understanding of the role of the module (e.g. ImportRTS).
  • name: Optional name for the UnitConversion. Used for reference purposes only.
  • No labels