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.1.tar.gz
.
File metadata
- Download URL: intake_stac-0.2.1.tar.gz
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc697d8fc1d4f9fd307d7776863d6c3ab1ce24b33feb4dc7c16ddd72a1d192cb |
|
MD5 | 205ed49cd13a82814ac3a862e539fb19 |
|
BLAKE2b-256 | 93d77926da6f1d18b1594dc840326e9b67846c6011f5eca575d8c3329ce7f98e |
File details
Details for the file intake_stac-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: intake_stac-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64386fbdbfb5e4dadc78d9bf3c0fc2dd88f77552e654ec44b6025be6b8da0247 |
|
MD5 | 3470ffac9d6b0191f8b4c56c64738682 |
|
BLAKE2b-256 | 8c4c5eb291b8888628a5f704c7012249268043bfc50697b0e148fd1549e39393 |