...
- Locations.xml: to add the satellite location ID
- Grids.xml: for the grid characteristics
- Import_SAT.xml: module instance that imports the data
- IDMapping file if a special parameter ID needs to be specified
- ModuleInstanceDescriptors.xml: For reference of the import module instanceGrids.xml: for the grid characteristics
- ImportUnitConversions.xml: If the units need to be converted on importing
For some of these files exampels examples are provided below. Locations, ModuleInstanceDescriptors and ImportUnitConversions are standard FEWS configuration files.
...
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> |
An example import Moduile Module instance configuration file:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd">
<import>
<general>
<importType>EARS_Satellite_Rainfall_Estimate</importType>
<folder>$IMPORT_FOLDER$\SATH</folder>
<fileNameObservationDateTimePattern>'NI_'yyyyMMdd'.prc'</fileNameObservationDateTimePattern>
<idMapId>IdImportSAT</idMapId>
<unitConversionsId>ImportUnitConversions</unitConversionsId>
<importTimeZone>
<timeZoneOffset>+00:00</timeZoneOffset>
</importTimeZone>
<geoDatum>WGS 1984</geoDatum>
<dataFeedId>SATH_AFRICA</dataFeedId>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportSATH</moduleInstanceId>
<valueType>grid</valueType>
<parameterId>P</parameterId>
<locationId>SATH_AFRICA</locationId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="day"/>
<readWriteMode>add originals</readWriteMode>
<expiryTime unit="day" multiplier="400"/>
</timeSeriesSet>
<externUnit unit="0.1mm" parameterId="P"/>
</import>
</timeSeriesImportRun>
|