No code
Ask an AI agent
Paste this into Claude, ChatGPT or any agent that can run Python. Swap Toronto for your city.
Use the how-hot-will-it-get skill from https://github.com/RiskThinking/crc-docs for Toronto, Canada.
You'll get a plain-language answer on how hot the hottest day gets now and later this century, with the data it used. Other skills in the same repository take on questions like:
- How hard will it rain here?
how-hard-will-it-rain
- Will my farm get drier?
will-my-farm-get-drier
- Which of my sites are most at risk?
which-sites-are-most-at-risk
- How exposed is this company?
how-exposed-is-this-company
Python
Install the SDK
Read CRC Open, our free global hazard dataset, at any site with no setup.
$ pip install crc-sdk
from crc_framework import TemperatureUnit
from crc_sdk import Assets, Bounds, CRCOpen, Period
hottest = CRCOpen.Variable.ANNUAL_MAXIMUM_DAILY_MAXIMUM_TEMPERATURE
toronto = Assets({"asset_id": ["toronto"],
"longitude": [-79.38], "latitude": [43.65]})
levels = (
CRCOpen()
.select(variables=hottest, periods=Period.window(2048, 2051),
area=Bounds(west=-79.4, south=43.6, east=-79.3, north=43.7))
.convert_units(variable=hottest.value, unit=TemperatureUnit.CELSIUS)
.evaluate(toronto)
.return_periods([10, 100])
.read()
)
# 1-in-10 and 1-in-100 year hottest day around 2050, in °C,
# with the CRC Open release it came from
Python 3.11+. Open source under AGPL-3.0-or-later, including for commercial use; data is licensed separately. Building a web map? npm install @climateriskcommons/crc-framework evaluates the same curves in the browser.