From 29bdf71d6308dc1eb05fdd1df0bdae1e1413875f Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Thu, 25 Jan 2024 09:09:10 -0500 Subject: [PATCH 01/15] Set up env var for new A&E page --- .env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.env b/.env index 8694cf5c8..f7315eea9 100644 --- a/.env +++ b/.env @@ -25,3 +25,5 @@ GOOGLE_FORM = 'https://docs.google.com/forms/d/e/1FAIpQLSfGcd3FDsM3kQIOVKjzdPn4f # Google analytics tracking code GOOGLE_ANALYTICS_ID='G-CQ3WLED121' +# Activate A&E page +FEATURE_NEW_EXPLORATION = 'TRUE' From 39f342b845c9b18f7ee403b45e1b21236b8d2aaf Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Thu, 25 Jan 2024 10:38:08 -0500 Subject: [PATCH 02/15] Update UI --- .veda/ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.veda/ui b/.veda/ui index 1f6071f89..c129d118c 160000 --- a/.veda/ui +++ b/.veda/ui @@ -1 +1 @@ -Subproject commit 1f6071f895ed2e1e4064614ec6a9d8746900cba8 +Subproject commit c129d118c07cd0cc84d50326ac6694c510a0d08c From 5e60cde28866b08004599c6120ee741e6cb9559b Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 09:44:18 -0600 Subject: [PATCH 03/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 107 +++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 datasets/hd-nightlights.data.mdx diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx new file mode 100644 index 000000000..da7e63d49 --- /dev/null +++ b/datasets/hd-nightlights.data.mdx @@ -0,0 +1,107 @@ +--- +id: hd-blackmarble-nightlights +name: High Definition Black Marble Nightlights for Disaster Support +description: The High Definition Nightlights dataset is a derived product for measuring light emissions for a given location. Darker colors indicate lower light emissions while lighter colors indicate high light emissions. +usage: + - url: 'https://nasa-impact.github.io/veda/notebooks/ + label: Notebook to read, visualize, and explore data statistics + title: 'Sample Data Notebook' + - url: 'https://hub.openveda.cloud' + label: Run example notebook + title: Interactive Session in the US GHG Center JupyterHub (requires account) +media: + src: ::file ./nighttime-lights-ej--dataset-cover-neworleans.jpeg + alt: high-definition nightlights for Hurricane Ida over New Orleans, LA +taxonomy: + - name: Topics + values: + - Environmental Justice + - Natural Disasters + - name: Source + values: + - NASA + - name: Product Type + values: + - Nightlights +disableExplore: false +layers: + - id: hd-nightlights + stacCol: hd-blackmarble-nightlights + name: High Definition Nighlights + type: raster + description: Satellite-derived light emissions at 30m resolution + initialDatetime: newest + analysis: + exclude: true + zoomExtent: + - 10 + - 20 + sourceParams: + resampling: bilinear + bidx: [1,2,3] + assets: hd-nightlights + colormap_name: magma + rescale: + - 0 + - 255 + nodata: -9999 + compare: + datasetId: hd-blackmarble-nightlights + layerId: hd-nightlights + mapLabel: | + ::js ({ dateFns, datetime, compareDatetime }) => { + if (dateFns && datetime && compareDatetime) return `${dateFns.format(datetime, 'LLL yyyy')} VS ${dateFns.format(compareDatetime, 'LLL yyyy')}`; + } + legend: + type: gradient + min: 0 + max: 255 + stops: + - "#000004" + - "#120d31" + - "#331067" + - "#59157e" + - "#7e2482" + - "#a3307e" + - "#c83e73" + - "#e95462" + - "#fa7d5e" + - "#fea973" + - "#fed395" + - "#fcfdbf" +--- + + + + + - **Temporal Extent:** Ongoing + - **Temporal Resolution:** Variable (on-demand execution) + - **Spatial Extent:** Global + - **Spatial Resolution:** 30 m + - **Data Units:** None + - **Data Type:** Infomational + - **Data Latency:** N/A + + **Scientific Details:** + + + + + ## Source Data Product Citation + + ## Dataset Accuracy + + ## Disclaimer +All data provided in VEDA has been transformed from GeoTIFF into Cloud Optimized GeoTIFF ([COG](https://www.cogeo.org/)). Careful quality checks are used to ensure data transformation has been performed correctly. + + ## Key Publications + + ## Acknowledgment + + ## License + [Massachussetts Institute of Technology License](https://spdx.org/licenses/MIT.html) + + ## Data Stewardship + + + From 1675037762502007e9c6255b018890afd39edf59 Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 09:51:12 -0600 Subject: [PATCH 04/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index da7e63d49..563078b35 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -3,12 +3,12 @@ id: hd-blackmarble-nightlights name: High Definition Black Marble Nightlights for Disaster Support description: The High Definition Nightlights dataset is a derived product for measuring light emissions for a given location. Darker colors indicate lower light emissions while lighter colors indicate high light emissions. usage: - - url: 'https://nasa-impact.github.io/veda/notebooks/ - label: Notebook to read, visualize, and explore data statistics + - url: 'https://nasa-impact.github.io/veda/notebooks/' + label: 'Notebook to read, visualize, and explore data statistics' title: 'Sample Data Notebook' - url: 'https://hub.openveda.cloud' - label: Run example notebook - title: Interactive Session in the US GHG Center JupyterHub (requires account) + label: 'Run example notebook' + title: 'Interactive Session in the VEDAHub (requires account)' media: src: ::file ./nighttime-lights-ej--dataset-cover-neworleans.jpeg alt: high-definition nightlights for Hurricane Ida over New Orleans, LA From ada3bdbb9bec7d097b59a6a3d524b11f6c88bcd0 Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 09:55:25 -0600 Subject: [PATCH 05/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 563078b35..5e092ab4a 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -84,7 +84,9 @@ layers: **Scientific Details:** - + + + ## Source Data Product Citation From a6d6c241bdcd7afcdfa4edfeb229e4440e5bcf8d Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 10:01:55 -0600 Subject: [PATCH 06/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 5e092ab4a..2d651a315 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -34,7 +34,7 @@ layers: analysis: exclude: true zoomExtent: - - 10 + - 8 - 20 sourceParams: resampling: bilinear @@ -44,7 +44,6 @@ layers: rescale: - 0 - 255 - nodata: -9999 compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights From f79873dc744524cc4af685161d47ba58e63c9d12 Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 10:09:27 -0600 Subject: [PATCH 07/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 2d651a315..647a90880 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -39,7 +39,7 @@ layers: sourceParams: resampling: bilinear bidx: [1,2,3] - assets: hd-nightlights + assets: hdnightlights colormap_name: magma rescale: - 0 From 96924abac97a557505b536fdf040e84f1c114099 Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 10:11:33 -0600 Subject: [PATCH 08/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 647a90880..182daa0d7 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -40,10 +40,6 @@ layers: resampling: bilinear bidx: [1,2,3] assets: hdnightlights - colormap_name: magma - rescale: - - 0 - - 255 compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights @@ -53,8 +49,8 @@ layers: } legend: type: gradient - min: 0 - max: 255 + min: "No Lights" + max: "Lights" stops: - "#000004" - "#120d31" From de989d75541f0103053eaec7bfc910408554c2d2 Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 10:18:10 -0600 Subject: [PATCH 09/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 182daa0d7..95dd2987b 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -30,9 +30,10 @@ layers: name: High Definition Nighlights type: raster description: Satellite-derived light emissions at 30m resolution - initialDatetime: newest analysis: exclude: true + rescale: + -0,255 zoomExtent: - 8 - 20 From 33611c2fd50e869c4672ff10417a12bd00464cb4 Mon Sep 17 00:00:00 2001 From: freitagb Date: Thu, 25 Jan 2024 10:30:57 -0600 Subject: [PATCH 10/15] add new nightlights data landing page --- datasets/hd-nightlights.data.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 95dd2987b..633bf5b7d 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -40,7 +40,6 @@ layers: sourceParams: resampling: bilinear bidx: [1,2,3] - assets: hdnightlights compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights From 0c8c1b6002297c99ad44830732a8d7229c931d5d Mon Sep 17 00:00:00 2001 From: Jonas Date: Thu, 8 Feb 2024 22:57:27 +0100 Subject: [PATCH 11/15] Do not exclude from analysis --- datasets/hd-nightlights.data.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 633bf5b7d..3a1e280a4 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -31,7 +31,7 @@ layers: type: raster description: Satellite-derived light emissions at 30m resolution analysis: - exclude: true + exclude: false rescale: -0,255 zoomExtent: From 791da99dd685fb1c3aab52330495dcfeb5c0be0b Mon Sep 17 00:00:00 2001 From: Brian Freitag Date: Mon, 11 Mar 2024 10:26:07 -0500 Subject: [PATCH 12/15] Update hd-nightlights.data.mdx bidx --- datasets/hd-nightlights.data.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 3a1e280a4..60f57be49 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -39,7 +39,7 @@ layers: - 20 sourceParams: resampling: bilinear - bidx: [1,2,3] + bidx: 1,2,3 compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights From 53cf3a455fd90dc52d658541ff5533b2045d6156 Mon Sep 17 00:00:00 2001 From: Brian Freitag Date: Mon, 11 Mar 2024 10:31:04 -0500 Subject: [PATCH 13/15] Update hd-nightlights.data.mdx bidx --- datasets/hd-nightlights.data.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 60f57be49..1fba83fb5 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -39,7 +39,7 @@ layers: - 20 sourceParams: resampling: bilinear - bidx: 1,2,3 + bidx: [1,2,3,4] compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights From e778aeba2d4efdf9a1cde3ac35efdc16d74bb224 Mon Sep 17 00:00:00 2001 From: Brian Freitag Date: Thu, 14 Mar 2024 14:58:19 -0500 Subject: [PATCH 14/15] Update hd-nightlights.data.mdx bidx --- datasets/hd-nightlights.data.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 1fba83fb5..6435973ec 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -39,7 +39,11 @@ layers: - 20 sourceParams: resampling: bilinear - bidx: [1,2,3,4] + bidx: + - 1 + - 2 + - 3 + - 4 compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights From c501db3d9f140a5abea09114cf5627289932d2db Mon Sep 17 00:00:00 2001 From: Slesa Adhikari Date: Fri, 15 Mar 2024 14:38:41 -0500 Subject: [PATCH 15/15] Use `asset_bidx` instead of `bidx` --- datasets/hd-nightlights.data.mdx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/datasets/hd-nightlights.data.mdx b/datasets/hd-nightlights.data.mdx index 6435973ec..ad6e759ac 100644 --- a/datasets/hd-nightlights.data.mdx +++ b/datasets/hd-nightlights.data.mdx @@ -33,17 +33,13 @@ layers: analysis: exclude: false rescale: - -0,255 + - 0,255 zoomExtent: - 8 - 20 sourceParams: resampling: bilinear - bidx: - - 1 - - 2 - - 3 - - 4 + asset_bidx: cog_default|1,2,3 compare: datasetId: hd-blackmarble-nightlights layerId: hd-nightlights