Skip to content

Commit

Permalink
[Core-388] Docs: Fix use of bad products in examples (#12521)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: b8676b4ed2aceeb7a6c994d97eec350929681208
  • Loading branch information
stephencpope authored and Descartes Labs Build committed Apr 1, 2024
1 parent fdb7530 commit e897388
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/examples/plot_create_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}

search = (
Product.get("esa:sentinel-2:l1c:v1")
Product.get("esa:sentinel-2:l2a:v1")
.images()
.intersects(paris)
.filter("2020-06-24" < p.acquired < "2020-06-30")
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/plot_images_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Search for Sentinel-2 imagery collected between
# August 13 - August 21, 2017 over the AOI
search = (
Product.get("esa:sentinel-2:l1c:v1")
Product.get("esa:sentinel-2:l2a:v1")
.images()
.intersects(tile)
.filter("2020-08-13" <= p.acquired < "2020-08-22")
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/plot_save_geotiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#################################################
# Find the images.
search = (
Product.get("usgs:landsat:oli-tirs:c2:l1:v0")
Product.get("usgs:landsat:oli-tirs:c2:l2:v0")
.images()
.intersects(box)
.filter("2018-06-02" <= p.acquired < "2018-06-03")
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/plot_simple_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Use the Catalog API to search for imagery
# available over the area of interest.
search = (
Product.get("usgs:landsat:oli-tirs:c2:l1:v0")
Product.get("usgs:landsat:oli-tirs:c2:l2:v0")
.images()
.intersects(tile)
.filter("2022-04-01" <= p.acquired < "2022-05-01")
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/plot_timestacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
################################################
# Create an ImageCollection.
search = (
Product.get("usgs:landsat:oli-tirs:c2:l1:v0")
Product.get("usgs:landsat:oli-tirs:c2:l2:v0")
.images()
.intersects(taos)
.filter("2018-01-01" <= p.acquired < "2018-12-31")
Expand Down

0 comments on commit e897388

Please sign in to comment.