From e9e273cdd8910dd9036024226b15d59ed2e681f7 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Mon, 3 Nov 2025 09:50:17 -0500 Subject: [PATCH 1/3] fix: licence on collection --- docs/01-stac_metadata.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/01-stac_metadata.ipynb b/docs/01-stac_metadata.ipynb index 5c9527d..415b4a1 100644 --- a/docs/01-stac_metadata.ipynb +++ b/docs/01-stac_metadata.ipynb @@ -213,7 +213,7 @@ " \"temporal\": {\"interval\": [[\"2015-06-27T10:25:31.456000Z\", None]]},\n", " },\n", " \"links\": [],\n", - " \"license\": \"proprietary\",\n", + " \"license\": \"other\",\n", "}\n", "\n", "pystac.Collection.from_dict(collection_dict)" @@ -405,7 +405,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "eoapi-workshop", "language": "python", "name": "python3" }, @@ -419,7 +419,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.12" + "version": "3.12.6" } }, "nbformat": 4, From d13af2f4843edcbf7f5b3216c29b39ce6912a05e Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Mon, 3 Nov 2025 11:08:02 -0500 Subject: [PATCH 2/3] fix: a couple text/comments from running the eoapi --- docs/04-titiler_pgstac.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/04-titiler_pgstac.ipynb b/docs/04-titiler_pgstac.ipynb index 7dc17f0..95a9bb9 100644 --- a/docs/04-titiler_pgstac.ipynb +++ b/docs/04-titiler_pgstac.ipynb @@ -224,9 +224,7 @@ " json={\n", " \"collections\": [collection_id],\n", " \"bbox\": bbox,\n", - " # filter down to items from March 2025\n", - " # \"datetime\": \"2025-04-01T00:00:00Z/2025-05-01T00:00:00Z\",\n", - " # with less than 10% cloud cover\n", + " # filter down to items with less than 10% cloud cover\n", " \"filter\": {\n", " \"op\": \"lt\",\n", " \"args\": [\n", From 2900791e08e2a656cb5737bef14e0324625cc846 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Tue, 4 Nov 2025 05:38:48 -0500 Subject: [PATCH 3/3] fix: relax the datetimes for the search --- docs/03-stac_fastapi_pgstac.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/03-stac_fastapi_pgstac.ipynb b/docs/03-stac_fastapi_pgstac.ipynb index 0860be9..7880724 100644 --- a/docs/03-stac_fastapi_pgstac.ipynb +++ b/docs/03-stac_fastapi_pgstac.ipynb @@ -345,7 +345,7 @@ "\n", "search = client.search(\n", " collections=[my_collection.id],\n", - " datetime=[datetime(2025, 4, 4), None],\n", + " datetime=[datetime(2025, 1, 4), None],\n", ")\n", "\n", "items = search.item_collection()\n", @@ -371,7 +371,7 @@ }, "outputs": [], "source": [ - "datetime_string = datetime(2025, 4, 4, tzinfo=UTC).isoformat()\n", + "datetime_string = datetime(2025, 1, 4, tzinfo=UTC).isoformat()\n", "\n", "item_search_request = httpx.get(\n", " f\"{stac_api_endpoint}/search\",\n", @@ -445,7 +445,7 @@ "metadata": {}, "outputs": [], "source": [ - "datetime_string = datetime(2025, 4, 4, tzinfo=UTC).isoformat()\n", + "datetime_string = datetime(2025, 1, 4, tzinfo=UTC).isoformat()\n", "\n", "item_search_request = httpx.get(\n", " f\"{stac_api_endpoint}/collections/{my_collection.id}/items\",\n",