An intake adapter for building intake catalogs begining with SpatioTemporal Asset Catalogs (STAC)
Project description
Intake-stac
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
Built Distribution
File details
Details for the file intake_stac-0.2.3.tar.gz
.
File metadata
- Download URL: intake_stac-0.2.3.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/42.0.0.post20191124 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f70713fca72f494af8a715baaa96a5ecfbcf300a4583e6764f1b8e89a4599fae |
|
MD5 | 5c3b38ff3c5c27c9725f3b86794c2452 |
|
BLAKE2b-256 | 9dca23767b7ad75e2f9a11580ff7f7907363b90c1f284f8a9adaf6ed06484862 |
File details
Details for the file intake_stac-0.2.3-py2.py3-none-any.whl
.
File metadata
- Download URL: intake_stac-0.2.3-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/42.0.0.post20191124 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 978a6e8f0e1225723f9a9975c8b60fc9f168e43726fb3f5cc4609a29d6386eb8 |
|
MD5 | 433d8a08571766631c698c3d8f769f10 |
|
BLAKE2b-256 | ed32cba241f7fcb62a5ea8b01147df2237bed290158e04084137209ba4c4b725 |