From 6d457d402ac675dee2daf072a28ba44b055ee9da Mon Sep 17 00:00:00 2001 From: "veda-github-actor[bot]" <192275278+veda-github-actor[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 21:26:35 +0000 Subject: [PATCH 1/3] Create ingestion-data/staging/dataset-config/blizzard-clipper.json --- .../dataset-config/blizzard-clipper.json | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 ingestion-data/staging/dataset-config/blizzard-clipper.json diff --git a/ingestion-data/staging/dataset-config/blizzard-clipper.json b/ingestion-data/staging/dataset-config/blizzard-clipper.json new file mode 100644 index 00000000..3a2047c1 --- /dev/null +++ b/ingestion-data/staging/dataset-config/blizzard-clipper.json @@ -0,0 +1,89 @@ +{ + "license": "CC0-1.0", + "stac_version": "1.0.0", + "links": [], + "spatial_extent": { + "xmin": -119.4, + "ymin": 37.5, + "xmax": -79.5, + "ymax": 59.8 + }, + "temporal_extent": { + "startdate": "1950-01-01T00:00:00Z", + "enddate": "1950-01-01T23:59:59Z" + }, + "discovery_items": [ + { + "upload": false, + "cogify": false, + "dry_run": false, + "filename_regex": "(.*)AB_SK_MB_Clipper_(.*).tif$", + "use_multithreading": false, + "discovery": "s3", + "prefix": "Blizzards/", + "bucket": "veda-data-store-staging" + } + ], + "sample_files": [ + "s3://veda-data-store-staging/Blizzards/AB_SK_MB_Clipper_1950-01-01.tif" + ], + "data_type": "cog", + "stac_extensions": [ + "https://stac-extensions.github.io/render/v1.0.0/schema.json", + "https://stac-extensions.github.io/item-assets/v1.0.0/schema.json" + ], + "item_assets": { + "cog_default": { + "type": "image/tiff; application=geotiff; profile=cloud-optimized", + "roles": [ + "data", + "layer" + ], + "title": "Default COG Layer", + "description": "Cloud optimized default layer to display on map" + } + }, + "providers": [ + { + "name": "NASA VEDA", + "roles": [ + "host" + ], + "url": "https://www.earthdata.nasa.gov/dashboard/" + } + ], + "assets": { + "thumbnail": { + "title": "Thumbnail", + "type": "image/png", + "roles": [ + "thumbnail" + ], + "description": "Photo by Andrew Blackford (Near-blizzard conditions in Maria Stein, Ohio on December 23, 2022)", + "href": "https://thumbnails.openveda.cloud/blizzards-cover.png" + } + }, + "collection": "blizzard-clipper", + "title": "AB/SK/MB Clipper Snowfall Footprint", + "description": "Single value raster displaying the general snowfall footprint of Alberta Clipper, Saskatchewan Screamer, and Manitoba Mauler types of mid-latitude cyclones.", + "is_periodic": true, + "time_density": "day", + "datetime_range": "day", + "renders": { + "dashboard": { + "colormap_name": "blues_r", + "rescale": [ + [ + 0, + 1 + ] + ], + "assets": [ + "cog_default" + ], + "title": "VEDA Dashboard Render Parameters" + } + }, + "transfer": true, + "dashboard:time_density": "day" +} \ No newline at end of file From c6e5326a4f707fdee0a585b8689b65f6942f15c2 Mon Sep 17 00:00:00 2001 From: "veda-github-actor[bot]" <192275278+veda-github-actor[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 21:19:57 +0000 Subject: [PATCH 2/3] update via UI --- ingestion-data/staging/dataset-config/blizzard-clipper.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion-data/staging/dataset-config/blizzard-clipper.json b/ingestion-data/staging/dataset-config/blizzard-clipper.json index 3a2047c1..87d2c4e0 100644 --- a/ingestion-data/staging/dataset-config/blizzard-clipper.json +++ b/ingestion-data/staging/dataset-config/blizzard-clipper.json @@ -66,7 +66,7 @@ "collection": "blizzard-clipper", "title": "AB/SK/MB Clipper Snowfall Footprint", "description": "Single value raster displaying the general snowfall footprint of Alberta Clipper, Saskatchewan Screamer, and Manitoba Mauler types of mid-latitude cyclones.", - "is_periodic": true, + "is_periodic": false, "time_density": "day", "datetime_range": "day", "renders": { From 036341c1a22ef509ae4c53e4449038c9abe23177 Mon Sep 17 00:00:00 2001 From: smohiudd Date: Wed, 19 Feb 2025 15:44:37 -0700 Subject: [PATCH 3/3] update colormap --- .../staging/dataset-config/blizzard-clipper.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ingestion-data/staging/dataset-config/blizzard-clipper.json b/ingestion-data/staging/dataset-config/blizzard-clipper.json index 87d2c4e0..d455ac70 100644 --- a/ingestion-data/staging/dataset-config/blizzard-clipper.json +++ b/ingestion-data/staging/dataset-config/blizzard-clipper.json @@ -71,13 +71,14 @@ "datetime_range": "day", "renders": { "dashboard": { - "colormap_name": "blues_r", - "rescale": [ - [ - 0, - 1 + "colormap": { + "0": [ + 22, + 158, + 242, + 255 ] - ], + }, "assets": [ "cog_default" ], @@ -85,5 +86,6 @@ } }, "transfer": true, - "dashboard:time_density": "day" + "dashboard:time_density": "day", + "dashboard:is_periodic": false } \ No newline at end of file