ClimateAgricultural
NASA POWER
Prediction Of Worldwide Energy Resources. Daily weather and solar data through a simple API.
Meteorology from MERRA-2 and solar radiation from CERES and GEWEX, served per point or region in formats ready for crop and hydrological models.
- Source
- National Aeronautics and Space Administration
- Resolution
- 0.5° × 0.625°
- Data type
- Raster and point series
- Time span
- 1981–present
- Temporal
- Hourly, daily, monthly, climatology
- Access type
- API (external) · Open API, no key
- Formats
- JSON, CSV, NetCDF, ASCII
- Coverage
- Global (-180, -90, 180, 90)
- Licence
- Public domain (U.S. Government work)
- Provider page
- power.larc.nasa.gov/
Access
pointDaily precipitation and temperature at the centre of the area, 2020 (API)
https://power.larc.nasa.gov/api/temporal/daily/point?parameters=PRECTOTCORR,T2M_MAX,T2M_MIN&community=AG&longitude={lon}&latitude={lat}&start=20200101&end=20201231&format=JSON
curl -fL "https://power.larc.nasa.gov/api/temporal/daily/point?parameters=PRECTOTCORR,T2M_MAX,T2M_MIN&community=AG&longitude=-62.5000&latitude=-7.5000&start=20200101&end=20201231&format=JSON" \
-o response
import requests
r = requests.get("https://power.larc.nasa.gov/api/temporal/daily/point?parameters=PRECTOTCORR,T2M_MAX,T2M_MIN&community=AG&longitude=-62.5000&latitude=-7.5000&start=20200101&end=20201231&format=JSON")
r.raise_for_status()
open("response", "wb").write(r.content)
const res = await fetch("https://power.larc.nasa.gov/api/temporal/daily/point?parameters=PRECTOTCORR,T2M_MAX,T2M_MIN&community=AG&longitude=-62.5000&latitude=-7.5000&start=20200101&end=20201231&format=JSON");
console.log(res.status, res.headers.get("content-type"));
Also available as JSON: links · manifest · dataset record