Versions Compared

Key

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

...

Since 2017.01. Import for Operational Snow-HyDrological service (OSHD) ascii grid files with additional metadata files. Each file contains an ESRI ascii grid with data. For each grid file there must be an additional metadata file with the same name as the grid file, only different extension (.META). The import module will need to know what the data files are, therefore a fileNamePatternFilter must be used to import only the ASCII data. The Import module will find the corresponding META files that are linked to these ASC data files.

importType: OSHDAsciiGrid

Data Format

...

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<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>
            		<general>
			<importType>OSHDAsciiGrid</importType>
            			<folder>$IMPORT_FOLDER_ROOT$/SWE<OSHD</folder>
            <idMapId>IdImportSWEAsc</idMapId>
            <geoDatum>CH1903</geoDatum>
        </general>
        <timeSeriesSet>
            <moduleInstanceId>ImportSWE</moduleInstanceId>
            <valueType>grid</valueType>
            <parameterId>SWE.fh</parameterId>
            <locationId>Swissix</locationId>
            <timeSeriesType>external forecasting</timeSeriesType>
            <timeStep unit="hour" multiplier="1"/>
            <readWriteMode>add originals</readWriteMode>
        			<fileNamePatternFilter>*.ASC</fileNamePatternFilter>
			<idMapId>IdImportOSHD</idMapId>
			<geoDatum>CH1903</geoDatum>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>ImportOSHDGrids</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>SM.fx</parameterId>
			<locationId>OSHD_Grid</locationId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
    </import>
</timeSeriesImportRun>