The parser imports data from https://hidroinformatica.itaipu.gov.py/services/hidrometricaestacion/2019-07-01/2019-09-01/5/?format=json. Available since 2018.02.
The two dates in the url come from the view period. The external location ID should be the same as in the url ( 5 in the case).
Response example:
[
{
"fecha":"2019-09-01 10:00:00 PYST",
"nivel":9.6,
"conductividad":null,
"ph":null,
"turbidez":null,
"od":null,
"tempagua":null
}
]
Time is parsed from the field "fecha", data is parsed from the field "nivel". All other fields are ignored.
Fews configuration example:
<?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>HidroInformatica</importType>
<serverUrl>https://hidroinformatica.itaipu.gov.py/services/hidrometricaestacion</serverUrl>
<user>dummy_username</user>
<password>dummy_password</password>
<startDateTime date="2019-07-01"/>
<endDateTime date="2019-09-01"/>
<idMapId>HidroInformatica</idMapId>
<importTimeZone>
<timeZoneOffset>+00:00</timeZoneOffset>
</importTimeZone>
</general>
<timeSeriesSet>
<moduleInstanceId>HidroInformatica</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>parameter</parameterId>
<locationId>LocB</locationId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant" />
<readWriteMode>add originals</readWriteMode>
</timeSeriesSet>
</import>
</timeSeriesImportRun>