From 2d6132e53e9df6a21d7691af9a93e795ed897cc8 Mon Sep 17 00:00:00 2001 From: WeathermanTrent <109642752+WeathermanTrent@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:18:56 -0600 Subject: [PATCH] Test the comparison for NDVI --- datasets/hls-ndvi-ian.data.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/datasets/hls-ndvi-ian.data.mdx b/datasets/hls-ndvi-ian.data.mdx index 13aaa2fce..cf72df3e9 100644 --- a/datasets/hls-ndvi-ian.data.mdx +++ b/datasets/hls-ndvi-ian.data.mdx @@ -1,5 +1,5 @@ --- -id: hls-ndvi +id: hls-ndvi-before-after name: "Harmonized Landsat and Sentinel-2 NDVI Before & After" description: "Using Harmonized Landsat and Sentinel-2 to Analyze the Aftermath of Hurricane Ian in Lee and Charlotte Counties in Florida." media: @@ -18,6 +18,7 @@ layers: name: NDVI type: raster description: "x" + initialDatetime: newest zoomExtent: - 0 - 20 @@ -27,11 +28,12 @@ layers: - -1 - 1 compare: - datasetId: hls-ndvi + datasetId: hls-ndvi-before-after layerId: hls-ndvi + mapLabel: | mapLabel: | ::js ({ dateFns, datetime, compareDatetime }) => { - return `FRP: ${dateFns.format(datetime, 'yyyy')} VS BARC: ${dateFns.format(compareDatetime, 'yyyy')}`; + return `${dateFns.format(datetime, 'yyyy')} VS ${dateFns.format(compareDatetime, 'yyyy')}`; } legend: type: gradient