...
| Code Block |
|---|
| title | Archives.xml including configuration for Seamless Integration |
|---|
|
<?xml version="1.0" encoding="UTF-8"?>
<archives xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews https://fewsdocs.deltares.nl/schemas/version1.0/archives.xsd">
<catalogueUrl>http://dummy_server:7080/deltares-archive-server/catalogue</catalogueUrl>
<fileServerUrl>http://dummy_server:8081/thredds/fileServer/data</fileServerUrl>
<dataFolder>d:\fews\archive\data\</dataFolder>
</archives> |
It is possible connect also to other external sources than only the FEWS archive. FEWS support any external WaterML2 service, next to its own WebServices. Use for such connections the <seamlessFewsWebService> or <seamlessWaterML2>.
By using the <seamlessIntegrationTimeSeries> element, one can specify which series to read from the one or other sources.
| Code Block |
|---|
| title | Seamless Integration example from WaterML2 service |
|---|
|
<seamlessWaterML2>
<idMapId>IdImportWISKI_HEA</idMapId>
<serverUrl>https://XXXXXXXX/KiWIS/KiWIS</serverUrl>
<requestTemplate>service=kisters&type=queryServices&request=getTimeseriesValues&datasource=0&format=wml2&from=@starttime@&to=@endtime@&ts_id=@parameterid@&dateformat=yyyy-MM-dd%20HH%3Amm%3Ass&timezone=GMT</requestTemplate>
<requestDateFormat>yyyy-MM-dd'T'HH:mm:ss'+00:00'</requestDateFormat>
<missingValue>-777</missingValue>
<missingValueText>NaN</missingValueText>
<seamlessIntegrationTimeSeries>
<moduleInstanceId>ImportHEA</moduleInstanceId>
</seamlessIntegrationTimeSeries>
</seamlessWaterML2> |
| Code Block |
|---|
| title | Seamless Integration example from FEWS Webservices connection |
|---|
|
<seamlessFewsWebService>
<idMapId>IdWAM</idMapId>
<serverUrl>https://xxxxx/FewsWebservices</serverUrl>
<seamlessIntegrationTimeSeries>
<moduleInstanceIdPattern>ImportAQV</moduleInstanceIdPattern>
</seamlessIntegrationTimeSeries>
</seamlessFewsWebService> |
Test of the Archive url configuration
...