Skip to main content

CarbonPlan monogram.

carbonplan / data

data catalog and curation

CI PyPI License: MIT

This repository includes our main data catalog as well as our pre-processing utilities.

install

python -m pip install 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:

$ pytest -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 nonprofit organization that uses data and science for climate action. We aim to improve the transparency and scientific integrity of climate solutions with open data and tools. Find out more at carbonplan.org or get in touch by opening an issue or sending us an email.

Metadata

Release files for carbonplan-data 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carbonplan-data 0.4.4
File Size Uploaded
carbonplan_data-0.4.4.tar.gz 60.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for carbonplan-data 0.4.4
File Interpreter ABI Platform
carbonplan_data-0.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 84.3 kB

Release files / carbonplan_data-0.4.4.tar.gz

Download URL carbonplan_data-0.4.4.tar.gz
Size 60.2 kB
Tags Source
SHA-256 checksum
How to use checksums
92b1e05a80e8a31628e23fe0d397f4010570e03bc6b3c8801e12276ec66af279
BLAKE2b-256 checksum
How to use checksums
a7e2ea5ba1cdfc635b97b8fe1e5d29a13903890e5b6ee9ae4d4377ce765a9a57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / carbonplan_data-0.4.4-py3-none-any.whl

Download URL carbonplan_data-0.4.4-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2434530806c21cd2aff184f3cab75d4cae22651ed17ea4c0084ac2d1eaca4379
BLAKE2b-256 checksum
How to use checksums
e0abb4ce3fdc50af52bc66e8da58e2eb5c21b3f011432a4fe629b261dfb2f624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.4.4 This release

2 release files

0.4.3

2 release files

0.4.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page