Annual Total Precipitation Min, Mean, and Max Point Query
This endpoint allows access to various summaries of point extractions from gridded precipitation data. Note, the quantity being modeled and supplied here is also referred to throughout by its standard abbreviated modeling name, "pr".
Summary queries for annual total precipitation in millimeters
Query for historical annual total precipitation min, mean, and max:
Example: /mmm/precipitation/historical/65.0628/-146.1627
Query for projected annual total precipitation min, mean, and max:
Example: /mmm/precipitation/projected/65.0628/-146.1627
Query for both historical and projected annual total precipitation min, mean, and max:
Example: /mmm/precipitation/hp/65.0628/-146.1627
Results from the queries above will look like this:{ "historical": { "prmax": 578, "prmean": 355, "prmin": 231 } ... }The above output is structured as such:
{ <summary time period type, "historical" or "projected">: { "prmax": <max pr value across all models, scenarios, and years>, "prmean": <mean pr value across all models, scenarios, and years>, "prmin": <min pr value across all models, scenarios, and years> } ... }
Comprehensive queries for annual total precipitation in millimeters
Query for all annual total precipitation data across all historical and projected models from 1901-2099:
Example: /mmm/precipitation/all/65.0628/-146.1627
Results from the query above will look like this:{ "CRU-TS": { "historical": { "1901": { "pr": 360 } } ... }The above output is structured as such:
{ <model>: { <scenario>:{ <year>: { "pr": <pr value> } ... } ... } ... }
Supply summary time period (start / end years)
The start and end year to use for any of the summary options from above (i.e.
"historical", "projected", or "hp") may be supplied with the query as well,
appended to the end of the URL in the form
/<start year>/<end year>
Here is an example to query total annual precipitation data for historical and projected models from 1950-2020:
Example: /mmm/precipitation/hp/65.0628/-146.1627/1950/2020
Note - this query option will only work for summary options, not the comprehensive option above (e.g. "all")
CSV Export
To export the annual total precipitation point data in a CSV file, append
?format=csv
.
Example: /mmm/precipitation/all/65.0628/-146.1627?format=csv