Authors: Joe Hamman, Scott Henderson
Date: Started February 26, 2019
tldr; intake-stac is an intake plugin for accessing datasets described using the SpatioTemporal Asset Catalog specification
STAC
is a simple catalog format that is finding wide adoption in the remote sensing world, especially for datasets stored in the Cloud.
Intake
is a lightweight Python package for finding, investigating, loading, and disseminating data.
The goal of Intake-Stac
is to facilitate lazy loading of remote sensing datasets stored on servers into xarray datasets for analysis with Python.
do we limit to data stored on AWS/GCS/Azure? current STAC implementations are limited compared to archives on gov servers: https://github.com/radiantearth/stac-spec/blob/master/implementations.md
will intake-stac support transformations from gov servers to archives of convenience (e.g. COG or Zarr on S3)?
element 84 has put together CMR search, which catalogs NASA's entire archive. CMR queries can return STAC catalogs, but need to update version and maybe incorporate directly into CMR? https://github.com/Element84/cmr-stac-api-proxy
# converting to intake catalog will enable intake tools such as gui browser
cat = intake.StacCatalog('landsat8-aws.json')
# or leverage existing tools such as sat-api/sat-search
cat = intake.StacSearch(collection='landsat8', bbox=[], datetime='2017/2019')
cat.filter(bands=['red','green','nir'], cloudcover=20)
# need to share STAC catalogs with colleagues / reproduce work later
cat.to_file('my-catalog.json')
# would be great to explore metadata as geopandas geodataframe
df = cat.to_dataframe()
# for achives on gov servers or legacy formats
cat.to_archive_of_convenience(s3bucket, awscredentials)
# currently sat-utils allows data download, but not lazy loading via xarray:
ds = cat.to_dask()
# default plots with geoviews?
cat.plot.thumbnails()
currently, lots of manual functions to get remote sensing time series into xarray datasets (even w/ intake): https://nbviewer.jupyter.org/github/scottyhq/pangeo-binder-test/blob/master/notebooks/3-intake-stac-landsat.ipynb
challenges:
item
assets can be any format (not just COG or Zarr)
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing