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 master 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. 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 carbon removal. 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.1.0.tar.gz (132.9 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.1.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: carbonplan-data-0.1.0.tar.gz
  • Upload date:
  • Size: 132.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200917 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.8

File hashes

Hashes for carbonplan-data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa56b40222edc7edb255a090785a2db607a06dbe70ab5757eb348f73a7aa060d
MD5 9bdb3ae8a296e2af09f4ca2cda7cf244
BLAKE2b-256 3450feacece186feac9ca8612e178e0728c233fe5b39922e5fe910efad34a25a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: carbonplan_data-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200917 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.8

File hashes

Hashes for carbonplan_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5bb40209c84fc9d3be9a5985f6ab0fe35d64c6f90286353554a7bcd28143278
MD5 f6b944ca589a5b51c2b4becb13959ad9
BLAKE2b-256 2e05f24fd885543c1cbccd7c165c7dcaab9adc8d2e6b257d02916aef0faa6b54

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