CreateWeatherDataRequest

Basic Asynchronous Request

Method: POST
URL: https://service.solaranywhere.com/api/v2/WeatherData

Use the example requests below to request irradiance and weather data output fields at your locations of interest.

{
  "Sites": [
    {
      "Name": "Sao Paulo",
      "Latitude": -23.565,
      "Longitude": -46.655
    }
  ],
  "Options": {
    "OutputFields": [
      "StartTime",
      "EndTime",
      "GlobalHorizontalIrradiance_WattsPerMeterSquared",
      "DirectNormalIrradiance_WattsPerMeterSquared",
      "DiffuseHorizontalIrradiance_WattsPerMeterSquared",
      "AmbientTemperature_DegreesC",
      "WindSpeed_MetersPerSecond",
      "Albedo_Unitless",
      "DataVersion"
    ],
    "SummaryOutputFields": [],
    "SpatialResolution_Degrees": 0.1,
    "TimeResolution_Minutes": 60,
    "WeatherDataSource": "SolarAnywhereTGYLatest"
  }
}
{
  "Sites": [
    {
      "Name": "Sao Paulo",
      "Latitude": -23.565,
      "Longitude": -46.655
    }
  ],
  "Options": {
    "OutputFields": [
      "StartTime",
      "EndTime",
      "GlobalHorizontalIrradiance_WattsPerMeterSquared",
      "DirectNormalIrradiance_WattsPerMeterSquared",
      "DiffuseHorizontalIrradiance_WattsPerMeterSquared",
      "AmbientTemperature_DegreesC",
      "WindSpeed_MetersPerSecond",
      "Albedo_Unitless",
      "DataVersion"
    ],
    "SummaryOutputFields": [],
    "SpatialResolution_Degrees": 0.01,
    "TimeResolution_Minutes": 60,
    "StartTime": "2020-01-01T00:00:00-08:00",
    "EndTime": "2020-02-01T00:00:00-08:00",
    "WeatherDataSource": "SolarAnywhereLatest",
    "MissingDataHandling": "FillAverage"
  }
}
{
  "Sites": [
    {
      "Name": "El Paso",
      "Latitude": 31.775,
      "Longitude": -106.485
    }
  ],
  "Options": {
    "OutputFields": [
      "StartTime",
      "EndTime",
      "GlobalHorizontalIrradiance_WattsPerMeterSquared",
      "DirectNormalIrradiance_WattsPerMeterSquared",
      "DiffuseHorizontalIrradiance_WattsPerMeterSquared",
      "AmbientTemperature_DegreesC",
      "WindSpeed_MetersPerSecond",
      "Albedo_Unitless",
      "DataVersion"
    ],
    "SummaryOutputFields": [],
    "SpatialResolution_Degrees": 0.005,
    "TimeResolution_Minutes": 5,
     "ApplyTrueDynamics": true,
    "StartTime": "2020-01-01T00:00:00-08:00",
    "EndTime": "2020-02-01T00:00:00-08:00",
    "WeatherDataSource": "SolarAnywhereLatest",
    "MissingDataHandling": "FillAverage"
  }
}
<CreateWeatherDataRequest xmlns="http://service.solaranywhere.com/api/v2">
 <Sites>
  <Site Name="Sao Paulo" Latitude="-23.565" Longitude="-46.655" />
 </Sites>
 <Options
 WeatherDataSource="SolarAnywhereTGYLatest"
 SpatialResolution_Degrees="0.1"
 TimeResolution_Minutes="60"
 OutputFields="StartTime,EndTime,GlobalHorizontalIrradiance_WattsPerMeterSquared,
 DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,
 AmbientTemperature_DegreesC,WindSpeed_MetersPerSecond,Albedo_Unitless,DataVersion"/>
</CreateWeatherDataRequest>
<CreateWeatherDataRequest xmlns="http://service.solaranywhere.com/api/v2">
 <Sites>
  <Site Name="Sao Paulo" Latitude="-23.565" Longitude="-46.655" />
 </Sites>
 <Options
 WeatherDataSource="SolarAnywhereLatest"
 StartTime="2020-01-01T00:00:00-08:00"
 EndTime="2020-02-01T00:00:00-08:00"
 SpatialResolution_Degrees="0.01"
 TimeResolution_Minutes="60"
 MissingDataHandling="FillAverage"
 OutputFields="StartTime,EndTime,GlobalHorizontalIrradiance_WattsPerMeterSquared,
 DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,
 AmbientTemperature_DegreesC,WindSpeed_MetersPerSecond,Albedo_Unitless,DataVersion"/>
</CreateWeatherDataRequest>
<CreateWeatherDataRequest xmlns="http://service.solaranywhere.com/api/v2">
 <Sites>
  <Site Name="El Paso" Latitude="31.775" Longitude="-106.485" />
 </Sites>
 <Options
 WeatherDataSource="SolarAnywhereLatest"
 StartTime="2020-01-01T00:00:00-08:00"
 EndTime="2020-02-01T00:00:00-08:00"
 SpatialResolution_Degrees="0.005"
 TimeResolution_Minutes="5"
 ApplyTrueDynamics="true"
 MissingDataHandling="FillAverage"
 OutputFields="StartTime,EndTime,GlobalHorizontalIrradiance_WattsPerMeterSquared,
 DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,
 AmbientTemperature_DegreesC,WindSpeed_MetersPerSecond,Albedo_Unitless,DataVersion"/>
</CreateWeatherDataRequest>