...
The following configuration example shows what is required to import BIL/BIP/BSQ format satellite data into FEWS. The following files need to be adjusted:
- Locations.xml: to add the satellite location ID
- Grids.xml: for the grid characteristics
- Import_BIL.xml: module instance that imports the data (for example)
- IDMapping file if a special parameter ID needs to be specified
- ModuleInstanceDescriptors.xml: For reference of the import module instance
- ImportUnitConversions.xml: If the units need to be converted on importing
For some of these files examples are provided below. Locations, ModuleInstanceDescriptors and ImportUnitConversions are standard FEWS configuration files.
Example of the locations.xml file element:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<location id="SATH_AFRICA" name="SATH_AFRICA"> <shortName>SATH_AFRICA</shortName> <x>0</x> <y>0</y> </location> |
Example of the Grids.xml file element:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<regular locationId="SATH_AFRICA"> <description>SATH Rainfall files</description> <rows>702</rows> <columns>1002</columns> <geoDatum>WGS 1984</geoDatum> <firstCellCenter> <x>-13</x> <y>25</y> <z>0</z> </firstCellCenter> <xCellSize>.03</xCellSize> <yCellSize>.03</yCellSize> </regular> |
Eample of the ID mapping to map band numbers to FEWS parameters:
Code Block | ||
---|---|---|
| ||
<idMap> <parameter internal="P.obs" external = "0"/> <parameter internal="T.obs" external = "1"/> </idMap> |