Page tree
Skip to end of metadata
Go to start of metadata

This is an import for time series published using the TAHMO API. 

FEWS configuration

In order to activate the TAHMO import as a FEWS import, it is required to set up a TimeSeriesImportRun module configuration file and an accompanying IdMap file.

The TAHMO import will take the serverUrl and append it with "stations" to obtain information about the available locations. It will then use the location id's to construct the query url's for the timeseries as such: "<serverUrl>/timeseries/<locationId>/hourly?startDate=...&endDate=...". 

Example Import configuration file:

<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun xmlns=""
<!-- This is an example import configuration file for importing Observations and Measurements data from a service -->
        <relativeViewPeriod unit="hour" start="-5" end="0" startOverrulable="true" endOverrulable="true"/>
       <timeSeriesType>external historical</timeSeriesType>
       <timeStep unit="nonequidistant"/>
       <readWriteMode>add originals</readWriteMode>

Example IdMap file:

<?xml version="1.0" encoding="UTF-8"?>
<idMap version="1.1" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
    map internal timeseries directly to external timeseries
    externalLocation should be set to the location id
    externalParameter should be set to the parameter name
<map internalLocation="MyLoc1" internalParameter="MyPar1" externalLocation="TA00269" externalParameter="atmosphericPressure" />
<map internalLocation="MyLoc2" internalParameter="MyPar1" externalLocation="TA00099" externalParameter="windspeed" />

  • No labels