Skip to main content

An intake adapter for building intake catalogs begining with SpatioTemporal Asset Catalogs (STAC)

Project description

Intake-stac

Binder Build Status PyPI version Documentation Status codecov

This is an intake data source for SpatioTemporal Asset Catalogs (STAC). The STAC specification provides a common metadata specification, API, and catalog format to describe geospatial assets, so they can more easily indexed and discovered. A 'spatiotemporal asset' is any file that represents information about the earth captured in a certain space and time.

Two examples of STAC catalogs are:

Radiant Earth keeps track of a more complete listing of STAC implementations here.

This project provides an opinionated way for users to load datasets from these catalogs into the scientific Python ecosystem. It uses the intake-xarray plugin and supports several file formats including GeoTIFF, netCDF, GRIB, and OpenDAP.

Installation

intake-stac has a few requirements, such as Intake, intake-xarray and sat-stac. Intake-stac can be installed in any of the following ways:

Using conda:

$ conda install -c conda-forge intake-stac

Using Pip:

$ pip install intake-stac

Or from the source repository:

$ pip install git+https://github.com/pangeo-data/intake-stac

The examples/ directory contains some example Jupyter Notebooks that can be used to test the functionality.

Versions

To install a specific versions of intake-stac, specify the version in the install command

pip install intake-stac==0.1.0

The table below shows the corresponding versions between intake-stac and STAC:

sat-stac STAC
0.[1,2].x 0.6.x

Running the tests

To run the tests some additional packages need to be installed from the requirements-dev.txt file.

$ pip install -r requirements-dev.txt
$ pytest -v -s --cov intake-stac --cov-report term-missing

About

intake-stac was created as part of the Pangeo initiative under support from the NASA-ACCESS program. See the initial design document.

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

intake_stac-0.2.2.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

intake_stac-0.2.2-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file intake_stac-0.2.2.tar.gz.

File metadata

  • Download URL: intake_stac-0.2.2.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for intake_stac-0.2.2.tar.gz
Algorithm Hash digest
SHA256 459fc585cafda0509b696bec59cc089d7868d6670f9345a804b3613aebd84c61
MD5 8b4e1f0315aba21f2cd4d6eb4a6bdd98
BLAKE2b-256 ee71578e4c74385076d3e1600a46f8caefed973bce8e65470d8813066c1b49dc

See more details on using hashes here.

File details

Details for the file intake_stac-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: intake_stac-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for intake_stac-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b061dc3d550fe1603504764bc1c6acbd5b4cc96da2974d146e17eb5340515056
MD5 2048324398cf4934c760f8cda88c76da
BLAKE2b-256 fdfede11d458134226ae1f558394f71b302513d11c0568016a73ccf7569626e4

See more details on using hashes here.

Supported by

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