Skip to main content

Preprocessing utilities for CarbonPlan's data catalog

Project description

carbonplan / data

data catalog and curation

GitHub Build Status MIT License

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

carbonplan-data-0.0.0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

carbonplan_data-0.0.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file carbonplan-data-0.0.0.tar.gz.

File metadata

  • Download URL: carbonplan-data-0.0.0.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for carbonplan-data-0.0.0.tar.gz
Algorithm Hash digest
SHA256 1fa9ac5b5eb7f91206e7a0b049a623e221cf7967638dbe660c27d58f692effeb
MD5 4cbc329057c36862d8a78d4cae6c8577
BLAKE2b-256 cd6d94a2a8395eb356e1972bea6e2b6159c1333b77d31d66fe8a39bc89aec8c1

See more details on using hashes here.

File details

Details for the file carbonplan_data-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: carbonplan_data-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for carbonplan_data-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b5af4cdd12e1d1eeff601958afe652244bd06847d92351c4c2db653a942f2eb
MD5 0f35680e8114724d673b69337c2001c0
BLAKE2b-256 ecb6f9fc563443a591902b45fcf3b9b92b46f1ec39861b180f74b745c2073650

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page