diff --git a/05-access-data.md b/05-access-data.md index c24fae22..ea8f0289 100644 --- a/05-access-data.md +++ b/05-access-data.md @@ -314,7 +314,7 @@ following syntax (see [docs](https://pystac-client.readthedocs.io/en/stable/usag ```python search = client.search( - collections=[collection], + collections=[collection_sentinel_2_l2a], intersects=point, datetime='2023-07-01/2023-08-31', query=['eo:cloud_cover<1'] @@ -342,7 +342,7 @@ To load the saved search results as a `ItemCollection` we can use [`pystac.ItemC ```python import pystac -items_loaded = pystac.ItemCollection.from_file("../data/stac_json/rhodes_sentinel-2.json") +items_loaded = pystac.ItemCollection.from_file("rhodes_sentinel-2.json") ``` The loaded item collection (`items_loaded`) is equivalent to the one returned earlier by `search.item_collection()` (`items`). You can thus perform the same actions on it: you can check the number of items (`len(items_loaded)`), you can loop over items (`for item in items_loaded: ...`), and you can access individual elements using their index (`items_loaded[0]`). diff --git a/md5sum.txt b/md5sum.txt index b1682800..dc4cc6b5 100644 --- a/md5sum.txt +++ b/md5sum.txt @@ -8,7 +8,7 @@ "episodes/02-intro-vector-data.md" "3bf0a19a7e0e3990a0f2ee02815d1147" "site/built/02-intro-vector-data.md" "2024-06-25" "episodes/03-crs.md" "40e659ca7228c07f84c40b51b601dc55" "site/built/03-crs.md" "2024-06-25" "episodes/04-geo-landscape.md" "09e93cefc450045e23f31f3f0d00c6e1" "site/built/04-geo-landscape.md" "2024-06-25" -"episodes/05-access-data.md" "9bd7a10389cbe2aa864318c29d048b13" "site/built/05-access-data.md" "2024-06-25" +"episodes/05-access-data.md" "35ffa0183c99012a59b58e805d56abcd" "site/built/05-access-data.md" "2025-01-15" "episodes/06-raster-intro.md" "36436ecf0f8ea888f79bc6e38b4d9ac3" "site/built/06-raster-intro.md" "2024-06-30" "episodes/07-vector-data-in-python.md" "30b5a07712b8ca263b761142d81cb49d" "site/built/07-vector-data-in-python.md" "2024-06-25" "episodes/08-crop-raster-data.md" "e5af59e7196cffcf7b1defcd0d26764d" "site/built/08-crop-raster-data.md" "2024-06-25"