Skip to content

Commit

Permalink
Test the comparison for NDVI
Browse files Browse the repository at this point in the history
  • Loading branch information
WeathermanTrent authored Nov 6, 2023
1 parent 10f2280 commit 2d6132e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions datasets/hls-ndvi-ian.data.mdx
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -18,6 +18,7 @@ layers:
name: NDVI
type: raster
description: "x"
initialDatetime: newest
zoomExtent:
- 0
- 20
Expand All @@ -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
Expand Down

0 comments on commit 2d6132e

Please sign in to comment.