Available since 2020.02.

Imports data from  aplicaciones.ute.com.uy/GestEmbPublico/service.asmx


The service providing the data can only return 5 days worth of information in one call, but FEWS will loop through the configured period of timeand make several calls if it is necessary.

Response time of the service can be somewhat long, it is best not to set the connection timeout too low.

Configuration example:

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2014 rel. 2 sp1 (http://www.altova.com) by Afdeling ICT (Stichting Deltares) -->
<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>UyUteTelemetric</importType>
			<serverUrl>http://aplicaciones.ute.com.uy/GestEmbPublico/service.asmx</serverUrl>
			<!--         this field is not used, but it is necessary to be able to configure connection timout-->
			<backupServerUrl>http://aplicaciones.ute.com.uy/GestEmbPublico/service.asmx</backupServerUrl>
			<!--         if this field is not configured, it will be set at 2000 automatically. -->			
			<connectionTimeOutMillis>1000000</connectionTimeOutMillis>
			<user>dummy_username</user>
			<password>dummy_password</password>
			<relativeViewPeriod unit="day" start="-5" end="1" startOverrulable="true" endOverrulable="true"/>
			<idMapId>UyUteTelemetricMap</idMapId>
			<missingValue>-999.0</missingValue>
			<importTimeZone>
				<timeZoneOffset>-03:00</timeZoneOffset>
			</importTimeZone>
			<dataFeedId>UTE</dataFeedId>
			<expiryTime unit="day" multiplier="90"/>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationId>LocA</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P.obs</parameterId>
			<locationId>LocB</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationId>LocA</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>UyUteTelemetric</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>H.obs</parameterId>
			<locationId>LocB</locationId>
			<timeSeriesType>external historical</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
			<readWriteMode>add originals</readWriteMode>
			<synchLevel>1</synchLevel>
		</timeSeriesSet>
	</import>
</timeSeriesImportRun>



Example response from the data service:

Data to be inported can be found in <Table1> elements.  

<Fecha_x0020_Medida> is the day of the measurement.
<Hora_x0020_Medida> is the time of the measurement.

The rest of the elements in the table are the location names. To get the location name from the element first the part with the parameter unit is cut off:

Las_x0020_Toscas_x0028_m_x0029_ -> Las_x0020_Toscas

Than all  _x0020_ is replaced by a space:

Las_x0020_Toscas -> Las Toscas

Than any trailing spaces and _ symbols are removed.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <DatosSatPluvApoResponse xmlns="http://ws.ute.com.uy/WS_GestionEmbalse/">
            <DatosSatPluvApoResult>
                <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
                    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
                        <xs:complexType>
                            <xs:choice minOccurs="0" maxOccurs="unbounded">
                                <xs:element name="Table1">
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="Fecha_x0020_Medida" type="xs:string" minOccurs="0" />
                                            <xs:element name="Hora_x0020_Medida" type="xs:string" minOccurs="0" />
                                            <xs:element name="Manuel_x0020_Díaz_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Cuñapirú_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Borracho_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Novillos_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Coelho_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Laguna_x0020_I_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Las_x0020_Toscas_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Laguna_x0020_II_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Mazangano_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Aguiar_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Pereira_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Paso_x0020_Las_x0020_Piedras_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="San_x0020_Gregorio_x0020_de_x0020_Polanco_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Salsipuedes_x0020_Ruta_x0020_20_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Paso_x0020_de_x0020_los_x0020_Toros_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Lugo_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Sarandí_x0020_del_x0020_Yí_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Polanco_x0020_del_x0020_Yí_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Durazno_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Durazno_x0020_Puente_x0020_Viejo_x0020__x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Barra_x0020_de_x0020_Porongos_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Mercedes_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                            <xs:element name="Villa_x0020_Soriano_x0028_m_x0029_" type="xs:string" minOccurs="0" />
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                                <xs:element name="Resultado">
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="descripcion" type="xs:string" minOccurs="0" />
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                            </xs:choice>
                        </xs:complexType>
                    </xs:element>
                </xs:schema>
                <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
                    <NewDataSet xmlns="">
                        <Table1 diffgr:id="Table11" msdata:rowOrder="0" diffgr:hasChanges="inserted">
                            <Fecha_x0020_Medida>18/02/2020</Fecha_x0020_Medida>
                            <Hora_x0020_Medida>00:00</Hora_x0020_Medida>
                            <Manuel_x0020_Díaz_x0028_m_x0029_>-0,06</Manuel_x0020_Díaz_x0028_m_x0029_>
                            <Cuñapirú_x0028_m_x0029_>0,65</Cuñapirú_x0028_m_x0029_>
                            <Borracho_x0028_m_x0029_>0,29</Borracho_x0028_m_x0029_>
                            <Novillos_x0028_m_x0029_ />
                            <Coelho_x0028_m_x0029_>1,63</Coelho_x0028_m_x0029_>
                            <Laguna_x0020_I_x0028_m_x0029_>1,78</Laguna_x0020_I_x0028_m_x0029_>
                            <Las_x0020_Toscas_x0028_m_x0029_>0,40</Las_x0020_Toscas_x0028_m_x0029_>
                            <Laguna_x0020_II_x0028_m_x0029_>1,79</Laguna_x0020_II_x0028_m_x0029_>
                            <Mazangano_x0028_m_x0029_>0,77</Mazangano_x0028_m_x0029_>
                            <Aguiar_x0028_m_x0029_>1,50</Aguiar_x0028_m_x0029_>
                            <Pereira_x0028_m_x0029_>1,61</Pereira_x0028_m_x0029_>
                            <Paso_x0020_Las_x0020_Piedras_x0028_m_x0029_>1,85</Paso_x0020_Las_x0020_Piedras_x0028_m_x0029_>
                            <San_x0020_Gregorio_x0020_de_x0020_Polanco_x0028_m_x0029_>5,92</San_x0020_Gregorio_x0020_de_x0020_Polanco_x0028_m_x0029_>
                            <Salsipuedes_x0020_Ruta_x0020_20_x0028_m_x0029_>1,84</Salsipuedes_x0020_Ruta_x0020_20_x0028_m_x0029_>
                            <Paso_x0020_de_x0020_los_x0020_Toros_x0028_m_x0029_>7,91</Paso_x0020_de_x0020_los_x0020_Toros_x0028_m_x0029_>
                            <Lugo_x0028_m_x0029_>1,87</Lugo_x0028_m_x0029_>
                            <Sarandí_x0020_del_x0020_Yí_x0028_m_x0029_>1,14</Sarandí_x0020_del_x0020_Yí_x0028_m_x0029_>
                            <Polanco_x0020_del_x0020_Yí_x0028_m_x0029_>1,56</Polanco_x0020_del_x0020_Yí_x0028_m_x0029_>
                            <Durazno_x0028_m_x0029_>1,98</Durazno_x0028_m_x0029_>
                            <Durazno_x0020_Puente_x0020_Viejo_x0020__x0028_m_x0029_>0,00</Durazno_x0020_Puente_x0020_Viejo_x0020__x0028_m_x0029_>
                            <Barra_x0020_de_x0020_Porongos_x0028_m_x0029_>2,15</Barra_x0020_de_x0020_Porongos_x0028_m_x0029_>
                            <Mercedes_x0028_m_x0029_>2,02</Mercedes_x0028_m_x0029_>
                            <Villa_x0020_Soriano_x0028_m_x0029_>1,39</Villa_x0020_Soriano_x0028_m_x0029_>
                        </Table1>                       
                        <Table1 diffgr:id="Table13" msdata:rowOrder="2" diffgr:hasChanges="inserted">
                            <Fecha_x0020_Medida>17/02/2020</Fecha_x0020_Medida>
                            <Hora_x0020_Medida>22:00</Hora_x0020_Medida>
                            <Manuel_x0020_Díaz_x0028_m_x0029_>-0,06</Manuel_x0020_Díaz_x0028_m_x0029_>
                            <Cuñapirú_x0028_m_x0029_>0,64</Cuñapirú_x0028_m_x0029_>
                            <Borracho_x0028_m_x0029_>0,29</Borracho_x0028_m_x0029_>
                            <Novillos_x0028_m_x0029_ />
                            <Coelho_x0028_m_x0029_>1,63</Coelho_x0028_m_x0029_>
                            <Laguna_x0020_I_x0028_m_x0029_>1,65</Laguna_x0020_I_x0028_m_x0029_>
                            <Las_x0020_Toscas_x0028_m_x0029_>0,39</Las_x0020_Toscas_x0028_m_x0029_>
                            <Laguna_x0020_II_x0028_m_x0029_>1,80</Laguna_x0020_II_x0028_m_x0029_>
                            <Mazangano_x0028_m_x0029_>0,78</Mazangano_x0028_m_x0029_>
                            <Aguiar_x0028_m_x0029_>1,50</Aguiar_x0028_m_x0029_>
                            <Pereira_x0028_m_x0029_>1,61</Pereira_x0028_m_x0029_>
                            <Paso_x0020_Las_x0020_Piedras_x0028_m_x0029_>1,85</Paso_x0020_Las_x0020_Piedras_x0028_m_x0029_>
                            <San_x0020_Gregorio_x0020_de_x0020_Polanco_x0028_m_x0029_>5,90</San_x0020_Gregorio_x0020_de_x0020_Polanco_x0028_m_x0029_>
                            <Salsipuedes_x0020_Ruta_x0020_20_x0028_m_x0029_>1,74</Salsipuedes_x0020_Ruta_x0020_20_x0028_m_x0029_>
                            <Paso_x0020_de_x0020_los_x0020_Toros_x0028_m_x0029_>7,89</Paso_x0020_de_x0020_los_x0020_Toros_x0028_m_x0029_>
                            <Lugo_x0028_m_x0029_>1,83</Lugo_x0028_m_x0029_>
                            <Sarandí_x0020_del_x0020_Yí_x0028_m_x0029_>1,14</Sarandí_x0020_del_x0020_Yí_x0028_m_x0029_>
                            <Polanco_x0020_del_x0020_Yí_x0028_m_x0029_>1,56</Polanco_x0020_del_x0020_Yí_x0028_m_x0029_>
                            <Durazno_x0028_m_x0029_>1,91</Durazno_x0028_m_x0029_>
                            <Durazno_x0020_Puente_x0020_Viejo_x0020__x0028_m_x0029_>0,00</Durazno_x0020_Puente_x0020_Viejo_x0020__x0028_m_x0029_>
                            <Barra_x0020_de_x0020_Porongos_x0028_m_x0029_>2,16</Barra_x0020_de_x0020_Porongos_x0028_m_x0029_>
                            <Mercedes_x0028_m_x0029_>1,99</Mercedes_x0028_m_x0029_>
                            <Villa_x0020_Soriano_x0028_m_x0029_>1,47</Villa_x0020_Soriano_x0028_m_x0029_>
                        </Table1>
                        
                        <Resultado diffgr:id="Resultado1" msdata:rowOrder="0" diffgr:hasChanges="inserted">
                            <descripcion>OK</descripcion>
                        </Resultado>
                    </NewDataSet>
                </diffgr:diffgram>
            </DatosSatPluvApoResult>
        </DatosSatPluvApoResponse>
    </soap:Body>
</soap:Envelope>
  • No labels