Skip to content

Commit b230f3d

Browse files
authored
add stac section to relevant concepts (#32)
* add stac section to relevant concepts * fix links, add in text refs
1 parent 687a12c commit b230f3d

5 files changed

Lines changed: 21 additions & 15 deletions

File tree

book/_toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ parts:
1717
- file: background/tutorial_data
1818
- file: intro/software
1919
- file: background/relevant_concepts
20-
- caption: "Part 1: ITS_LIVE"
20+
- caption: Part 1
2121
#numbered: 2
2222
chapters:
2323
- file: itslive/itslive_intro

book/background/relevant_concepts.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,14 @@ Climate Forecase (CF) Metadata Conventions
4545
>The CF metadata conventions are designed to promote the processing and sharing of files created with the NetCDF API. The conventions define metadata that provide a definitive description of what the data in each variable represents, and the spatial and temporal properties of the data. This enables users of data from different sources to decide which quantities are comparable, and facilitates building applications with powerful extraction, regridding, and display capabilities. The CF convention includes a standard name table, which defines strings that identify physical quantities.
4646
4747
CF metadata conventions set common expectations for metadata names and locations across datasets. In this tutorial, we will use tools such as [cf_xarray]() that leverage CF conventions to add programmatic handling of CF metadata to Xarray objects, meaning that users can spend less time wrangling metadata. 🤩
48+
49+
Spatio-temporal Asset Catalog (STAC)
50+
STAC is a metadata specification for geospatial data that allows the data to be more easily "worked with, indexed, and discovered" [$\tiny \nearrow$](https://stacspec.org/en). It does this by setting a common format for how metadata will be structured. This functions like setting a common expectation that all users of the data can rely on so that they know where certain information will be located and how it will be stored.
51+
52+
The STAC specification is built around four core objects: Items, Catalogs, Collections, and an API. These take the form of a series of GeoJSON and JSON files that allow users to lazily query and index datasets before actually reading data into memory, which can be especially helpful for data stored in cloud object storage. Working off of a common metadata structure allows a suite of generalized tools to be developed and used to query and read all sorts of data, as long as they have STAC-compliant metadata. A few examples of these tools are [PySTAC](https://pystac.readthedocs.io/en/stable/), [stackstac](https://stackstac.readthedocs.io/en/latest/), and [odc-stac](https://odc-stac.readthedocs.io/en/latest/). stackstac and odc-stac both provide methods to read STAC data into memory as Xarray Datasets. If you’re interested, see this [Pangeo thread](https://discourse.pangeo.io/t/comparing-odc-stac-load-and-stackstac-for-raster-composite-workflow/4097/2) for a discussion of the similarities and differences between these approaches.
53+
54+
**Futher reading**
55+
- STAC Overview - [USGS](https://www.usgs.gov/landsat-missions/spatiotemporal-asset-catalog-stac)
56+
- STAC Introduction - [Planet](https://developers.planet.com/docs/planetschool/introduction-to-stac-part-1-an-overview-of-the-specification/)
57+
- STAC Tutorials - [STAC](https://stacspec.org/en/tutorials/)
4858
```

book/itslive/nbs/1_accessing_itslive_s3_data.ipynb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
22
"cells": [
3-
{
4-
"cell_type": "markdown",
5-
"id": "dced3728",
6-
"metadata": {
7-
},
8-
"source": [
9-
"<span style=\"color:red; font-family:Helvetica Neue, Helvetica, Arial, sans-serif; font-size:2em;\">An Exception was encountered at '<a href=\"#papermill-error-cell\">In [7]</a>'.</span>"
10-
]
11-
},
123
{
134
"cell_type": "markdown",
145
"id": "5a585e7f",
@@ -211,7 +202,7 @@
211202
},
212203
"source": [
213204
":::{tip}\n",
214-
"If you haven't yet, review the {term}`Metadata naming` and {term}`Climate Forecast (CF) Metadata Naming Convention sections in [Relevant Concepts](../../background/relevant_concepts.md)\n",
205+
"If you haven't yet, review the {term}`Metadata naming` and {term}`Climate Forecase (CF) Metadata Conventions` sections of the [Relevant Concepts](../../background/relevant_concepts.md) page.\n",
215206
":::"
216207
]
217208
},

book/sentinel1/nbs/4_read_pc_data.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"{{title_s1_4}}\n",
99
"\n",
10-
"This notebook demonstrates how to access Sentinel-1 RTC imagery from [Microsoft Planetary Computer](https://planetarycomputer.microsoft.com/) using [`stackstac`](https://stackstac.readthedocs.io/en/latest/). [STAC](https://stacspec.org/en) stands for Spatio-Temporal Asset Catalog, it is a common framework to describe geospatial information and a way for data providers, developers, and users to work and exchange information efficiently. You can read more about STAC [here](https://stacspec.org/en) and checkout more useful [tutorials](https://stacspec.org/en/tutorials/) for working with STAC data."
10+
"This notebook demonstrates how to access Sentinel-1 RTC imagery from [Microsoft Planetary Computer](https://planetarycomputer.microsoft.com/) using [`stackstac`](https://stackstac.readthedocs.io/en/latest/). [STAC](https://stacspec.org/en) stands for Spatio-Temporal Asset Catalog, it is a common framework to describe geospatial information and a way for data providers, developers, and users to work and exchange information efficiently. "
1111
]
1212
},
1313
{
@@ -50,6 +50,10 @@
5050
"- Performing grouping and reductions on `xarrray` objects\n",
5151
"- Visualizing `xarray` objects using `FacetGrid`\n",
5252
":::\n",
53+
"\n",
54+
":::{tab-item} Relevant Concepts\n",
55+
"1. [Sentinel-1 RTC imagery](../../background/tutorial_data.md#sentinel-1-radiometric-terrain-corrected-rtc-imagery)\n",
56+
"2. {term}`Spatio-temporal Asset Catalog (STAC)`\n",
5357
"::::"
5458
]
5559
},
@@ -673,7 +677,8 @@
673677
"mimetype": "text/x-python",
674678
"name": "python",
675679
"nbconvert_exporter": "python",
676-
"pygments_lexer": "ipython3"
680+
"pygments_lexer": "ipython3",
681+
"version": "3.11.3"
677682
}
678683
},
679684
"nbformat": 4,

book/sentinel1/s1_intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ This tutorial focuses on data from Sentinel-1, a synthetic aperture radar (SAR)
2424
:::
2525
:::{tab-item} Relevant Concepts
2626

27-
## 1. [Sentinel-1 RTC imagery](../background/tutorial_data.md#sentinel-1-radiometric-terrain-corrected-rtc-imagery)
28-
add
27+
### 1. [Sentinel-1 RTC imagery](../background/tutorial_data.md#sentinel-1-radiometric-terrain-corrected-rtc-imagery)
28+
### 2. {term}`Spatio-temporal Asset Catalog (STAC)`
2929
:::
3030
:::{tab-item} Learning goals
3131

0 commit comments

Comments
 (0)