Weather values for a location
get_weatherQuery historical daily, monthly, or annual weather values by coordinates and variables from 1961 to present, returning summaries and CSV exports for long series.
Instructions
Daily, monthly or annual values for one location and one or more variables, 1961 to the present.
Monthly and annual values are free. Daily values cost 1 credit per day and variable and need an account or API key in the server configuration. Results include a summary per variable; series longer than 400 rows are not listed but summarised by year and saved as CSV.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last date, same format | |
| lat | Yes | Latitude in decimal degrees (WGS84) | |
| lon | Yes | Longitude in decimal degrees (WGS84) | |
| dates | No | Individual dates instead of a range, same format | |
| start | No | First date: YYYY-MM-DD (day), YYYY-MM (mon) or YYYY (ann); from 1961 | |
| save_csv | No | Save the table as CSV (long series are always saved) | |
| variables | No | One or more of tmean, tmax, tmin (°C), prcp (mm) | |
| time_scale | No | day, mon (monthly) or ann (annual) | mon |
| confirm_credits | No | Set true only after the user agreed to a day request over 1000 credits |