The purpose of this site is to increase public access to climate risk data while showcasing some of the datasets the Risk group uses to communicate climate risk to the communities and external partners it works with.
- Drought index [NEX-GDDP-CMIP6]
- Annual precipitation [NEX-GDDP-CMIP6]
- Wildfire danger days [NEX-GDDP-CMIP6]
- Annual mean temperature [NEX-GDDP-CMIP6]
- Hot days (days over 90°F) [NEX-GDDP-CMIP6]
- Lethal heat [Woodwell]
- Warm nights (nights over 20°C) [NEX-GDDP-CMIP6]
- Sea level rise depth value [NASA, Hammond et al. (2021)]
- Tropical cyclone return period [STORM]
Our boundary files came from Natural Earth. So far, we have used:
All SHP files were converted to GeoJSON format in GeoPandas. From there, we used Tippecanoe to convert the GeoJSON files to Mapbox .mbtiles format and used the Mapbox tool mbutil to convert those tiles to .pbf format.
For back-end data analysis/transformation of NetCDF and TIF files, we used Python and R. Those rasters were then converted to Zarr pyramids using CarbonPlan's ndpyramid package.
If you are considering making suggested changes to the codebase, please install pre-commit in your local environment.
pip install pre-commit
Then, you can initialize the code formatting hooks we set up with prettier like so:
pre-commit install
pre-commit hooks generally only run on files that have been staged for git commits. To make sure you lint and format all files before suggesting changes, you should run:
pre-commit run --all-files
This site's interface and functionality rely heavily on code developed by CarbonPlan. Specifically, we used the maps, components, and layouts libraries. We took inspiration from CarbonPlan's forest-risks-web code repository to create an updated and modified user interface for this data viewer. Additionally, we modified the <ExpandingSection /> component from the prototype-maps repository. You can read more about CarbonPlan's research and software development work here.
This repository contains code from the CarbonPlan components package. Copyright (c) 2020 CarbonPlan, distributed under a MIT License.
This repository contains code from the CarbonPlan maps package. Copyright (c) 2021 CarbonPlan, distributed under a MIT License.
This repository contains code from the CarbonPlan layouts package. Copyright (c) 2021 CarbonPlan, distributed under a MIT License.
This repository contains code from the CarbonPlan prototype-maps package. Copyright (c) 2021 CarbonPlan, distributed under a MIT License.