Solar irradiance and climate at a point
get_solar_and_climateRetrieve daily solar irradiance, temperature, precipitation, and wind speed for any coordinate to support solar-site screening, farm planning, and climate checks.
Instructions
Daily solar irradiance and climate variables from NASA POWER for any coordinate.
Returns daily solar irradiance, 2m temperature, corrected precipitation, and 2m wind speed, in kWh per m2, Celsius, mm, and m per second. Useful for solar-site screening, farm planning, and historical climate checks. Examples:
get_solar_and_climate(14.5995, 120.9842) # Manila, last 14 days get_solar_and_climate(14.5995, 120.9842, "2026-04-01", "2026-04-02") # a fixed 2-day window
On failure: an upstream fetch failure or a non-object response body returns data_status "unavailable", with upstream_error true, days [], and the real error text in caveats. A properties or parameter field that is missing, null, or not an object returns data_status "indeterminate", with upstream_error true and days []. A start_date or end_date that does not parse as YYYY-MM-DD, an end_date before start_date, a span over 366 days, or a latitude or longitude out of range, returns data_status "invalid_request", with validation_error true and days [].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ISO date string (YYYY-MM-DD). Defaults to today. The span from start_date to end_date cannot exceed 366 days. | |
| latitude | Yes | Decimal degrees, WGS84. | |
| longitude | Yes | Decimal degrees, WGS84. | |
| start_date | No | ISO date string (YYYY-MM-DD). Defaults to 14 days ago. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||