Skip to content

Commit

Permalink
Merge pull request #9 from lukojovic/luka-edits
Browse files Browse the repository at this point in the history
Luka Edits
  • Loading branch information
MartinSchobben authored Sep 3, 2024
2 parents 467a550 + 06ebfeb commit 24363eb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
27 changes: 22 additions & 5 deletions unit_01/01_discover-and-read _exercise.ipynb

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions unit_01/01_discover-and-read.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"metadata": {},
"outputs": [],
"source": [
"\n",
"eodc_catalog = pystac_client.Client.open(\n",
" \"https://stac.eodc.eu/api/v1\"\n",
")\n",
Expand Down Expand Up @@ -112,11 +111,7 @@
"metadata": {},
"outputs": [],
"source": [
"from rich.console import Console\n",
"console = Console()\n",
"\n",
"#time_range = \"2022-01-01/..\" # up to current date, an open range\n",
"#time_range = \"2022-10-01/2022-10-15\" # closed range\n",
"time_range = \"2022-10-01/2022-10-07\" # closed range\n",
"\n",
"# GEOJSON can be created on geojson.io\n",
Expand Down Expand Up @@ -191,7 +186,7 @@
")\n",
"\n",
"items_eodc = search.item_collection()\n",
"console.print(f\"On EODC we found {len(items_eodc)} items for the given search query\")"
"print(f\"On EODC we found {len(items_eodc)} items for the given search query\")"
]
},
{
Expand Down Expand Up @@ -283,7 +278,7 @@
"\n",
"STAC can be useful tool for discovery of data, however it only loads metadata. This saves memory, but if one would like to do further analysis the data has to be loaded into memory or downloaded on disk.\n",
"\n",
"Library used for loading data is odc-stac.\n"
"Library used for loading data is `odc-stac`.\n"
]
},
{
Expand Down

0 comments on commit 24363eb

Please sign in to comment.