From 3c5c4c5be49fc4f914dfa734f99bed41be937d50 Mon Sep 17 00:00:00 2001
From: amsnyder <asnyder@usgs.gov>
Date: Tue, 9 Apr 2024 13:21:14 -0500
Subject: [PATCH] remove non-nested cprep dataset

---
 catalog/catalog.json                          |  12 +-
 .../collection.json                           | 187 ------------------
 2 files changed, 6 insertions(+), 193 deletions(-)
 delete mode 100644 catalog/cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231/collection.json

diff --git a/catalog/catalog.json b/catalog/catalog.json
index db6fd217..12dade73 100644
--- a/catalog/catalog.json
+++ b/catalog/catalog.json
@@ -29,11 +29,6 @@
       "href": "./alaska_et_2020_gfdl_historical_simulation/collection.json",
       "type": "application/json"
     },
-    {
-      "rel": "child",
-      "href": "./cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231/collection.json",
-      "type": "application/json"
-    },
     {
       "rel": "child",
       "href": "./macav2_historical_daily/collection.json",
@@ -318,6 +313,11 @@
       "rel": "child",
       "href": "./notaro_MRI_2080_2099/collection.json",
       "type": "application/json"
+    },
+    {
+      "rel": "child",
+      "href": "./cprep/collection.json",
+      "type": "application/json"
     }
   ]
-}
\ No newline at end of file
+}
diff --git a/catalog/cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231/collection.json b/catalog/cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231/collection.json
deleted file mode 100644
index 95c80fe2..00000000
--- a/catalog/cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231/collection.json
+++ /dev/null
@@ -1,187 +0,0 @@
-{
-  "type": "Collection",
-  "id": "cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231",
-  "stac_version": "1.0.0",
-  "description": "South Central Climate Projections Evaluation Project (C-PrEP)",
-  "links": [
-    {
-      "rel": "root",
-      "href": "../catalog.json",
-      "type": "application/json"
-    },
-    {
-      "rel": "parent",
-      "href": "../catalog.json",
-      "type": "application/json"
-    }
-  ],
-  "stac_extensions": [
-    "https://stac-extensions.github.io/datacube/v2.2.0/schema.json"
-  ],
-  "cube:dimensions": {
-    "time": {
-      "type": "temporal",
-      "description": "time",
-      "extent": [
-        "2006-01-01T12:00:00Z",
-        "2099-12-31T12:00:00Z"
-      ],
-      "step": "P1DT0H0M0S"
-    },
-    "lon": {
-      "type": "spatial",
-      "axis": "x",
-      "description": "longitude",
-      "extent": [
-        251.05,
-        269.95
-      ],
-      "step": 0.1,
-      "reference_system": "{\"$schema\":\"https://proj.org/schemas/v0.5/projjson.schema.json\",\"type\":\"GeographicCRS\",\"name\":\"unknown\",\"datum\":{\"type\":\"GeodeticReferenceFrame\",\"name\":\"Unknown based on WGS 84 ellipsoid\",\"ellipsoid\":{\"name\":\"WGS 84\",\"semi_major_axis\":6378137,\"inverse_flattening\":298.257223563,\"id\":{\"authority\":\"EPSG\",\"code\":7030}}},\"coordinate_system\":{\"subtype\":\"ellipsoidal\",\"axis\":[{\"name\":\"Longitude\",\"abbreviation\":\"lon\",\"direction\":\"east\",\"unit\":\"degree\"},{\"name\":\"Latitude\",\"abbreviation\":\"lat\",\"direction\":\"north\",\"unit\":\"degree\"}]},\"remarks\":\"PROJ CRS string: +proj=longlat +ellps=WGS84 +lon_wrap=180 +no_defs\"}"
-    },
-    "lat": {
-      "type": "spatial",
-      "axis": "y",
-      "description": "latitude",
-      "extent": [
-        26.05,
-        39.95
-      ],
-      "step": 0.1,
-      "reference_system": "{\"$schema\":\"https://proj.org/schemas/v0.5/projjson.schema.json\",\"type\":\"GeographicCRS\",\"name\":\"unknown\",\"datum\":{\"type\":\"GeodeticReferenceFrame\",\"name\":\"Unknown based on WGS 84 ellipsoid\",\"ellipsoid\":{\"name\":\"WGS 84\",\"semi_major_axis\":6378137,\"inverse_flattening\":298.257223563,\"id\":{\"authority\":\"EPSG\",\"code\":7030}}},\"coordinate_system\":{\"subtype\":\"ellipsoidal\",\"axis\":[{\"name\":\"Longitude\",\"abbreviation\":\"lon\",\"direction\":\"east\",\"unit\":\"degree\"},{\"name\":\"Latitude\",\"abbreviation\":\"lat\",\"direction\":\"north\",\"unit\":\"degree\"}]},\"remarks\":\"PROJ CRS string: +proj=longlat +ellps=WGS84 +lon_wrap=180 +no_defs\"}"
-    },
-    "bnds": {
-      "type": "count",
-      "description": null,
-      "extent": [
-        0,
-        1
-      ]
-    }
-  },
-  "cube:variables": {
-    "crs": {
-      "dimensions": [],
-      "type": "auxiliary",
-      "description": null,
-      "unit": null
-    },
-    "height": {
-      "dimensions": [],
-      "type": "data",
-      "description": null,
-      "unit": "m"
-    },
-    "i_offset": {
-      "dimensions": [],
-      "type": "data",
-      "description": null,
-      "unit": null
-    },
-    "j_offset": {
-      "dimensions": [],
-      "type": "data",
-      "description": null,
-      "unit": null
-    },
-    "lat_bnds": {
-      "dimensions": [
-        "lat",
-        "bnds"
-      ],
-      "type": "data",
-      "description": null,
-      "unit": null
-    },
-    "lon_bnds": {
-      "dimensions": [
-        "lon",
-        "bnds"
-      ],
-      "type": "data",
-      "description": null,
-      "unit": null
-    },
-    "tasmax": {
-      "dimensions": [
-        "time",
-        "lat",
-        "lon"
-      ],
-      "type": "data",
-      "description": "Daily Maximum Near-Surface Air Temperature (resid + trend)",
-      "unit": "K"
-    },
-    "time_bnds": {
-      "dimensions": [
-        "time",
-        "bnds"
-      ],
-      "type": "data",
-      "description": "time axis boundaries",
-      "unit": null
-    }
-  },
-  "extent": {
-    "spatial": {
-      "bbox": [
-        [
-          -108.94999999999999,
-          26.05,
-          -90.05,
-          39.95
-        ]
-      ]
-    },
-    "temporal": {
-      "interval": [
-        [
-          "2006-01-01T12:00:00Z",
-          "2099-12-31T12:00:00Z"
-        ]
-      ]
-    }
-  },
-  "license": "Unlicense",
-  "assets": {
-    "zarr-s3-osn": {
-      "href": "s3://mdmf/gdp/cprep/cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231.zarr/",
-      "type": "application/vnd+zarr",
-      "description": "Open Storage Network Pod S3 API access to collection zarr group",
-      "xarray:open_kwargs": {
-        "chunks": {},
-        "engine": "zarr",
-        "consolidated": true
-      },
-      "xarray:storage_options": {
-        "anon": true,
-        "client_kwargs": {
-          "endpoint_url": "https://usgs.osn.mghpcc.org/"
-        }
-      },
-      "roles": [
-        "data",
-        "zarr",
-        "s3"
-      ]
-    },
-    "zarr-s3": {
-      "href": "s3://nhgf-development/workspace/DataConversion/gdp/cprep/cprep_tasmax_day_I35txdetrp1-DeltaSD-A12L01K00_rcp26_r6i1p1_I35Land_20060101-20991231.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"
-      ]
-    }
-  }
-}
\ No newline at end of file
-- 
GitLab