Skip to content

Commit 938ecd9

Browse files
update example
1 parent fcfbd2b commit 938ecd9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function copernicus_marine_catalog(product_id,dataset_id,
2424
stac_url = "https://stac.marine.copernicus.eu/metadata/catalog.stac.json",
2525
asset = "timeChunked")
2626

27-
cat = STAC.Catalog(stac_url);
27+
cat = STAC.Catalog(stac_url);
2828
item_canditates = filter(startswith(dataset_id),keys(cat[product_id].items))
2929
# use last version per default
3030
dataset_version_id = sort(item_canditates)[end]
@@ -36,9 +36,7 @@ product_id = "MEDSEA_MULTIYEAR_PHY_006_004"
3636
dataset_id = "med-cmcc-ssh-rean-d"
3737

3838
url = copernicus_marine_catalog(product_id,dataset_id)
39-
# surprisingly requesting missing data chunks results in the HTTP error
40-
# code 403 (permission denied) rather than 404 (not found) for the CMEMS server.
41-
ds = ZarrDataset(url,_omitcode=[404,403]);
39+
ds = ZarrDataset(url);
4240

4341
# longitude, latitude and time are the coordinate variables defined in the
4442
# zarr dataset

0 commit comments

Comments
 (0)