You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

General

This import is available since 2023.02. Only scalars are supported.

The GOES (Geostationary Operational Environmental Satellite) format import type allows you to import files containing data following the GOES format as described in WaterLog Goes.pdf.

Note that the times provided by the data are the times at which the data was received, which is different from when the data was measured. The last measurement and the reception time can be a few minutes apart. That is why the minutes of the measurement time has to be specified in the configuration as a property. It is 45 by default. You can find this value by looking at the times of the defined values of the VB parameter for your location on the following website: https://cloud.xylem.com/hydrosphere/public-sites

The data is provided in chunks separated by a space. Each chunk is for one location only and for one hour. It contains all values of 7 parameters (Main Stage, Secondary Stage, Rainfall, AirTemp, RH, Internal RH and Repeater Battery) every 15 minutes for three hours and one value for one parameter (Main Battery).

Example of file content

Here is an example of the content of a file to be imported. 

518244D424059125511G39+0NN037EUP00258`BST_}ob\Ob\O`}q@@S@ofb\O_}nb\Ob\O`}q@@R@oRb\O_}ob\Ob\O`}q@@R@n~b\O_}nb\Ob\O`}q@@R@nDb\O_}nb\Ob\O`}r@@S@nbb\O_}nb\Ob\O`}r@@S@njb\O_}nb\Ob\O`}s@@R@nlb\O_}nb\Ob\O`}s@@R@n\b\O_}nb\Ob\O`}s@@R@nZb\O_}nb\Ob\O`}s@@R@nOb\O_}nb\Ob\O`}s@@R@mdb\O_}mb\Ob\O`}s@@R@mlb\Og 518244D424059125511G30+0NN037WUB00258bBST_}mb\Ob\O`}Y@@g@eib\O_}mb\Ob\O`}h@@_@fOb\O_}mb\Ob\O`}w@@W@gcb\O_}mb\Ob\O`~E@@O@h~b\O_}mb\Ob\O`~Q@@I@j@b\O_}mb\Ob\O`~Z@@D@j{b\O_}mb\Ob\O`~]@@B@kYb\O_}mb\Ob\O`~^@@B@jxb\O_}mb\Ob\O`~^@@A@jNb\O_}mb\Ob\O`~_@@A@jcb\O_}mb\Ob\O`~_@@A@jNb\O_}mb\Ob\O`~_@@A@j^b\Ok

Configuration examples

To import a file placed in the import folder containing GOES data, use the following import configuration.
Import.xml

<import>
     <general>
         <importType>GOES</importType>
         <folder>$IMPORT_FOLDER$</folder>
         <idMapId>import_mapping</idMapId>
	 </general>
     <properties>
         <int key="minutesOfLatestMeasurement" value="45"/>
     </properties>
     <timeSeriesSet>
   		 <moduleInstanceId>my_module_Id</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>H.m</parameterId>
         <locationId>Delft</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="minute" multiplier="15"/>
         <readWriteMode>add originals</readWriteMode>
     </timeSeriesSet>
</import>


The import_mapping configuration is as follow. Note that the external names of the parameters cannot be changed. They correspond to the 8 different parameters in the data, in order of appearance. 

<idMap>
    <parameter internal="H.m" external="Main Stage"/>
    <parameter internal="SecStage" external="Secondary Stage"/>
    <parameter internal="Precipitation" external="Rainfall"/>
    <parameter internal="Temperature" external="AirTemp"/>
	<parameter internal="Humidity" external="RH"/>
	<parameter internal="InternalHumidity" external="Internal RH"/>
	<parameter internal="RepeaterBattery" external="Repeater Battery"/>
	<parameter internal="MainBattery" external="Main Battery"/>
</idMap>


  • No labels