diff --git a/catalog/alaska_et_2020_ccsm4_historical_simulation/collection.json b/catalog/alaska_et_2020_ccsm4_historical_simulation/collection.json index 829d575869c12934c99d64854d433e02c22766fc..75b0cac60941dc6127d2b6ec971a4569e1864496 100644 --- a/catalog/alaska_et_2020_ccsm4_historical_simulation/collection.json +++ b/catalog/alaska_et_2020_ccsm4_historical_simulation/collection.json @@ -132,24 +132,6 @@ "osn" ] }, - "zarr-s3": { - "href": "s3://nhgf-development/workspace/DataConversion/alaska_et_2020_ccsm4_historical_simulation.zarr/", - "type": "application/vnd+zarr", - "description": "S3 access to collection zarr group", - "xarray:open_kwargs": { - "chunks": {}, - "engine": "zarr", - "consolidated": true - }, - "xarray:storage_options": { - "requester_pays": true - }, - "roles": [ - "data", - "zarr", - "s3" - ] - }, "zarr-s3-aws": { "href": "s3://nhgf-development/workspace/DataConversion/alaska_et_2020_ccsm4_historical_simulation.zarr/", "type": "application/vnd+zarr", diff --git a/workflows/archive/alaska_et_2020_ccsm4_historical_simulation_create_collection_from_zarr.ipynb b/workflows/archive/alaska_et_2020_ccsm4_historical_simulation_create_collection_from_zarr.ipynb index fb770d9136f41630953db32645f8e28ceb6cddb3..b74ce4069df955ae97eccd3c8da117e1d272b011 100644 --- a/workflows/archive/alaska_et_2020_ccsm4_historical_simulation_create_collection_from_zarr.ipynb +++ b/workflows/archive/alaska_et_2020_ccsm4_historical_simulation_create_collection_from_zarr.ipynb @@ -461,6 +461,18 @@ "## Add zarr url asset to collection" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "739e76cd-7712-4fef-b278-01d342eae674", + "metadata": {}, + "outputs": [], + "source": [ + "# first clear out any existing assets - that way if we change the name, we won't have the old asset\n", + "# preserved\n", + "collection.assets.clear()" + ] + }, { "cell_type": "code", "execution_count": null, @@ -504,7 +516,7 @@ "id": "0428bc79-153a-4185-9b69-87d9b4e994fc", "metadata": {}, "source": [ - "### Add Collection Link to Archival Assets on S3" + "## Add Collection Link to Archival Assets on S3" ] }, { @@ -524,6 +536,16 @@ "collection.add_asset(archival_id, archival_asset)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "43620d09-f89a-47c8-bef8-8fe863bc326d", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [] + }, { "cell_type": "markdown", "id": "f67cd5c9-db33-45c2-bc21-480cd67354f4",