kboonma / cmip6-downscaling

Climate downscaling using CMIP6 data

Home Page:https://docs.carbonplan.org/cmip6-downscaling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

carbonplan / cmip6-downscaling

climate downnscaling using cmip6 data

Note: This project is under active development. We expect to make breaking changes until reaching version 1.0.0.

GitHub Build Status MIT License

This repository includes our tools/scripts/models/etc for climate downscaling. This work is described in more detail in a web article with a companion map tool to explore the data.

install

pip install -e .

usage

from cmip6_downscaling.methods import ...

data access

There are two ways to access the data using Python.

First, the entire collection of datasets at daily timescales is available through an intake catalog using the following code snippet.

import intake
cat = intake.open_esm_datastore(
  'https://cmip6downscaling.blob.core.windows.net/version1/catalogs/global-downscaled-cmip6.json'
)

You can check out this example Jupyter notebook to see how to access the data, perform some simple analysis, and download subsets.

You can also access the data by using the URL of an individual dataset. See the datasets page for a table of all available datasets in this collection with storage locations and other metadata. A code snippet showing how to use the URL is shown below:

import xarray as xr
xr.open_zarr('https://cmip6downscaling.blob.core.windows.net/version1/data/DeepSD/ScenarioMIP.CCCma.CanESM5.ssp245.r1i1p1f1.day.DeepSD.pr.zarr')

license

All the code in this repository is MIT licensed. Some of the data provided by this API is sourced from content made available under a CC-BY-4.0 license. We include attribution for this content, and we please request that you also maintain that attribution if using this data.

about us

CarbonPlan is a non-profit organization that uses data and science for climate action. We aim to improve the transparency and scientific integrity of carbon removal and climate solutions through open data and tools. Find out more at carbonplan.org or get in touch by opening an issue or sending us an email.

About

Climate downscaling using CMIP6 data

https://docs.carbonplan.org/cmip6-downscaling

License:MIT License


Languages

Language:Jupyter Notebook 90.5%Language:Python 9.5%