Preprocessing utilities for CarbonPlan's data catalog
Project description
carbonplan / data
data catalog and curation
This repository includes our main data catalog as well as our pre-processing utilities.
install
pip carbonplan[data]
usage
The CarbonPlan data archives are currently mirrored on Google Cloud Storage (US-Central) and
Microsoft Azure (US-West). Set the CARBONPLAN_DATA
environment variable before using the
Intake catalog below:
# google (us-central)
export CARBONPLAN_DATA="https://storage.googleapis.com/carbonplan-data"
# or
# azure (us-west)
export CARBONPLAN_DATA="https://carbonplan.blob.core.windows.net/carbonplan-data"
# open the top level catalog
from carbonplan.data import cat
# extract an entry as a Dask-backed Xarray Dataset
cat.mtbs["raster"](region="conus", resolution="4000m").to_dask()
developer documentation
To run the unit and integration tests for this API, run:
$ py.test -v
Catalog entries scan be marked as either skip or xfail by setting the ci
key in the metadata dictionary:
foo:
description: 'skip this entry in the CI tests'
metadata:
ci: skip
license
All the code in this repository is MIT licensed. When possible, the data is licensed using the CC-BY-4.0 license. We include attribution and additional license information for third party datasets, and we 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for carbonplan_data-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba8782899ffc8eca18ab6584c92867a941aaff92cb14d936e872ec760b2b8be |
|
MD5 | 6ddf83e29cd60708f100c6157a924881 |
|
BLAKE2b-256 | 22d04a712780f103d528022ba904ec99dc78ee4d0e073e83f5b9c18e6beacaf9 |