Child pages
  • DataDelivery WS: request / response examples

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

REST endpoint: https://solargis.info/ws/rest/datadelivery/request?key=demo

XML Schemas

Tip

Technical schema documentation is available here

Requext XML showing the most options with comments

This request can be used with "demo" API key. More examples can be found here: Solargis API User Guide#WebServices

...

Tip
titleMinimum XML request (no PVOUT)


Code Block
 <ws:dataDeliveryRequest dateFrom="2015-02-15" dateTo="2015-02-15"
        xmlns="http://geomodel.eu/schema/data/request"
        xmlns:ws="http://geomodel.eu/schema/ws/data">
        
    <site id="site1" lat="48.61259" lng="20.827079"/>
    <processing key="GHI DIF DNI" summarization="MIN_15"/>
    
</ws:dataDeliveryRequest>


Response XML

Code Block
languagehtml/xml
<dataDeliveryResponse xmlns="http://geomodel.eu/schema/ws/data" xmlns:ns2="http://geomodel.eu/schema/common/geo">
   <site id="site1dummy" lat="48.61259" lng="20.827079">
      <metadata>#HOURLY VALUES OF SOLAR RADIATION AND PV OUTPUT
#
#Issued: 2015-02-11 15:56
#
#Site name: Firstsite
#Latitude: 48.612590
#Longitude: 20.827079
#Elevation: 111.0 m a.s.l.
#http://solargis.info/imaps/#tl=Google:Satellite&amp;loc=48.612590,20.827079&amp;z=14 
#
#
#Output from the climate database SolarGIS v2.0.1
#
#Solar radiation data
#Description: data calculated from Meteosat MSG and MFG satellite data ((c) 2015 EUMETSAT) and from atmospheric data ((c) 2015 ECMWF and NOAA) by SolarGIS method 
#Summarization type: hourly
#Summarization period: 01/01/2015 - 01/01/2015
#Spatial resolution: 250 m
#
#
#Service provider: GeoModel Solar s.r.o., M. Marecka 3, Bratislava, Slovakia
#Company ID: 45 354 766, VAT Number: SK2022962766
#Registration: Business register, District Court Bratislava I, Section Sro, File 62765/B
#http://solargis.info, contact@solargis.info
#
#Disclaimer:
#Considering the nature of climate fluctuations, interannual and long-term changes, as well as the uncertainty of measurements and calculations, GeoModel Solar s.r.o. cannot take full guarantee of the accuracy of estimates. The maximum possible has been done for the assessment of climate conditions based on the best available data, software and knowledge. GeoModel Solar s.r.o. shall not be liable for any direct, incidental, consequential, indirect or punitive damages arising or alleged to have arisen out of use of the provided data. SolarGIS is a trade mark of GeoModel Solar s.r.o.
#
#Copyright (c) 2015 GeoModel Solar s.r.o.
#
#
#Columns:
#Date - Date of measurement, format DD.MM.YYYY
#Time - Time of measurement, time reference UTC, time step 60 min, time format HH:MM, center of the averaging interval
#GHI - Global horizontal irradiation [Wh/m2], no data value -9
#DIF - Diffuse horizontal irradiation [Wh/m2], no data value -9
#DNI - Direct normal irradiation [Wh/m2], no data value -9
#PVOUT - PV output [kWh]
#
#Data:
Date;Time;GHI;DIF;DNI;PVOUT</metadata>
      <columns>GHI DIF DNI PVOUT</columns>
      <row dateTime="2015-01-01T00:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T01:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T02:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T03:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T04:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T05:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T06:30:00.000Z" values="5.919966280460358 5.390461027622223 10.358650207519531 0.0"/>
      <row dateTime="2015-01-01T07:30:00.000Z" values="68.19317054748535 50.710779666900635 150.0716438293457 0.0"/>
      <row dateTime="2015-01-01T08:30:00.000Z" values="126.30745887756348 94.16604423522949 137.40283393859863 0.0"/>
      <row dateTime="2015-01-01T09:30:00.000Z" values="105.13788652420044 84.07496500015259 74.75265902280807 0.0"/>
      <row dateTime="2015-01-01T10:30:00.000Z" values="93.83942031860352 93.83942031860352 0.0 0.0"/>
      <row dateTime="2015-01-01T11:30:00.000Z" values="113.57184791564941 106.95848846435547 22.652618885040283 0.0"/>
      <row dateTime="2015-01-01T12:30:00.000Z" values="91.86378479003906 83.2255973815918 33.165565490722656 0.0"/>
      <row dateTime="2015-01-01T13:30:00.000Z" values="52.65634632110596 51.37733268737793 9.948320776224136 0.0"/>
      <row dateTime="2015-01-01T14:30:00.000Z" values="6.830964244902134 6.830964244902134 0.0 0.0"/>
      <row dateTime="2015-01-01T15:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T16:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T17:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T18:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T19:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T20:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T21:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T22:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
      <row dateTime="2015-01-01T23:30:00.000Z" values="0.0 0.0 0.0 0.0"/>
   </site>
</dataDeliveryResponse>

...