Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth authored Oct 23, 2024
1 parent 87bd464 commit 998c472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function copernicus_marine_catalog(product_id,dataset_id,
asset = "timeChunked")

cat = STAC.Catalog(stac_url);
item_canditates = filter(startswith(dataset_id),keys(cat[product_id].items))
item_canditates = filter(startswith(dataset_id),collect(keys(cat[product_id].items)))
# use last version per default
dataset_version_id = sort(item_canditates)[end]
item = cat[product_id].items[dataset_version_id]
Expand Down

0 comments on commit 998c472

Please sign in to comment.