Overview
Parser 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).
importType: OSHDAsciiGrid
The metadata key/value pairs are read as follows:
...
Data Format
Example format of a metadata file:
No Format |
---|
META DATA FILE FOR OSHD_data.20170309-0626.SNOWMELT_RUNOFF.D1.ASC # TYPE short name: SNOWMELT long name: Snowmelt runoff unit: mm/24h # PERIOD begin: 09.03.2017 06:00 MEZ end: 10.03.2017 06:00 MEZ duration: 24 h # SOURCE model type: TIM (temperature index model) model version: EKF 17 r135 last manual update: 08.03.2017 forecast data #1: COSMO 1 @ 09.03.2017 03:00 UTC forecast data #2: COSMO E @ 09.03.2017 00:00 UTC # TIME STAMP pced: 09.03.2017 06:26 |
The metadata key/value pairs are imported into Delft-FEWS as follows:
Metadata file | Delft-FEWS |
---|---|
short name | external parameter id |
long name | ignored |
unit | external unit |
begin | comment |
end | valid time and comment |
duration | ignored |
pced | external forecast time |
all other key/value pairs | comment |
Configuration Example
Code Block | ||||
---|---|---|---|---|
| ||||
<?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> <importType>OSHDAsciiGrid</importType> <folder>$IMPORT_FOLDER_ROOT$/SWE</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> </timeSeriesSet> </import> </timeSeriesImportRun> |