Excerpt | ||
---|---|---|
| ||
Imports NetCDF type gridded time series data from MATROOS Forecast databases |
Overview
Note |
---|
This import is available in DELFT-FEWS versions after 25-11-2008 |
...
The import function for direct retreival retrieval of grid data (maps) is matroos_netcdfmapseries.
More information on the retrieval of time series from Matroos can be found on: http://matroos.deltares.nl/direct/index.html
Configuring the Import
...
An example import configuration is shown below:
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>matroos_netcdfmapseries</importType> <serverUrl>http://matroos.deltares.nl</serverUrl> <user>XXXXX<<user>dummy_username</user> <password>XXXXx<<password>dummy_password</password> <relativeViewPeriod unit="hour" start="-1" end="12"/> <idMapId>IdImportMatroosMap</idMapId> <unitConversionsId>ImportUnitConversions</unitConversionsId> <importTimeZone> <timeZoneOffset>+00:00</timeZoneOffset> </importTimeZone> <dataFeedId>Matroos</dataFeedId> </general> <timeSeriesSet> <moduleInstanceId>ImportMatroos_Maps</moduleInstanceId> <valueType>grid</valueType> <parameterId>Snelheid.u.F0</parameterId> <locationId>hmcn_zeedelta</locationId> <timeSeriesType>external forecasting</timeSeriesType> <timeStep unit="minute" multiplier="30"/> <readWriteMode>add originals</readWriteMode> <synchLevel>6</synchLevel> </timeSeriesSet> <timeSeriesSet> <moduleInstanceId>ImportMatroos_Maps</moduleInstanceId> <valueType>grid</valueType> <parameterId>Snelheid.v.F0</parameterId> <locationId>hmcn_zeedelta</locationId> <timeSeriesType>external forecasting</timeSeriesType> <timeStep unit="minute" multiplier="30"/> <readWriteMode>add originals</readWriteMode> <synchLevel>6</synchLevel> </timeSeriesSet> </import> </timeSeriesImportRun> |
...
An example of URL can be; http://matroos.deltares.nl/matroos/scripts/matroos.pl?
source=hmcn_zeedelta&color=velv&coordsys=RD&xmin=54000&xmax=67000
&ymin=442000&ymax=449000&xn=101&yn=101&from=200811250810&to=200811252110&timezone=gmt&format=nc
An example IdMapping file for the matroos_netcdfmapseries reader is shown below:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <idMap version="1.1" 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/idMap.xsd"> <map internalParameter="Snelheid.u.F0" internalLocation="hmcn_zeedelta" externalLocation="hmcn_zeedelta" externalParameter="velu" externalQualifier1="coordsys=RD" externalQualifier2="xmin=54000&xmax=67000" externalQualifier3="ymin=442000&ymax=449000" externalQualifier4="xn=101&yn=101"/> <map internalParameter="Snelheid.v.F0" internalLocation="hmcn_zeedelta" externalLocation="hmcn_zeedelta" externalParameter="velv" externalQualifier1="coordsys=RD" externalQualifier2="xmin=54000&xmax=67000" externalQualifier3="ymin=442000&ymax=449000" externalQualifier4="xn=101&yn=101"/> </idMap> |
When importing grids in the FEWS database it is required to configure the grid characteristics in the grids.XML file. The grid characteristics must be similar to the grids imported from MATROOS.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<regular locationId="hmcn_zeedelta"> <description>HMCN Zeedelta Model</description> <rows>101</rows> <columns>101</columns> <geoDatum>Rijks Driehoekstelsel</geoDatum> <firstCellCenter> <x>54000</x> <y>449000</y> </firstCellCenter> <xCellSize>130</xCellSize> <yCellSize>70</yCellSize> </regular> |
NetCDF format
The NetCDF format used can be found on the MATROOS webpage and the FEWS-PI pages.