From dd8ec96db053e51c97ae9a4ba0e0052c486659e9 Mon Sep 17 00:00:00 2001
From: amsnyder <asnyder@usgs.gov>
Date: Tue, 23 Apr 2024 12:54:15 -0500
Subject: [PATCH] change mdmf-workspace to mdmf

---
 .../archive/LOCA_future_create_collection_from_zarr.ipynb     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflows/archive/LOCA_future_create_collection_from_zarr.ipynb b/workflows/archive/LOCA_future_create_collection_from_zarr.ipynb
index 653d9004..6e4fdd83 100644
--- a/workflows/archive/LOCA_future_create_collection_from_zarr.ipynb
+++ b/workflows/archive/LOCA_future_create_collection_from_zarr.ipynb
@@ -84,7 +84,7 @@
    "outputs": [],
    "source": [
     "# url to zarr store that you want to create a collection for\n",
-    "zarr_url = f's3://mdmf-workspace/gdp/{collection_id}.zarr/'\n",
+    "zarr_url = f's3://mdmf/gdp/{collection_id}.zarr/'\n",
     "\n",
     "# define keyword arguments needed for opening the dataset with xarray\n",
     "# ref: https://github.com/stac-extensions/xarray-assets\n",
@@ -136,7 +136,7 @@
    "outputs": [],
    "source": [
     "# open and view zarr dataset\n",
-    "fs2 = fsspec.filesystem('s3', profile='osn-mdmf-workspace', endpoint_url='https://usgs.osn.mghpcc.org/')\n",
+    "fs2 = fsspec.filesystem('s3', anon=True, endpoint_url='https://usgs.osn.mghpcc.org/')\n",
     "ds = xr.open_dataset(fs2.get_mapper(zarr_url), engine='zarr', \n",
     "                             backend_kwargs={'consolidated':True}, chunks={})\n",
     "ds"
-- 
GitLab