Skip to content

Commit

Permalink
editing landsat and bais datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
acblackford authored Aug 31, 2023
1 parent ceb4d8c commit 91d1464
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
4 changes: 1 addition & 3 deletions datasets/lahaina-bais2.data.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: lahaina-hls-bais2
id: hls-bais2
name: 'HLS BAIS2 calculated.'
description: "x"
media:
Expand All @@ -26,8 +26,6 @@ layers:
nodata: 0
legend:
type: gradient
min: "0"
max: "255"
stops:
- "#4575b4"
- "#91bfdb"
Expand Down
9 changes: 8 additions & 1 deletion datasets/lahaina-landsat-thermal.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ taxonomy:
layers:
- id: landsat-nighttime-thermal
stacCol: landsat-nighttime-thermal
name: Landsat 8 Nighttime Thermal
name: x
type: raster
description: 'x'
zoomExtent:
Expand All @@ -24,6 +24,13 @@ layers:
sourceParams:
colormap_name: rdylbu_r
nodata: 0
compare:
datasetId: hls-bais2
layerId: hls-bais2
mapLabel: |
::js ({dateFns, datetime, compareDatetime}) => {
return `${dateFns.format(datetime, 'LLL yyyy')} VS ${dateFns.format(compareDatetime, 'LLL yyyy')}`;
}
legend:
type: gradient
min: "0"
Expand Down
16 changes: 16 additions & 0 deletions stories/lahaina-fire.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ taxonomy:
</Figure>
</Block>

<Block type="full">
<Figure>
<Map
datasetId='lahaina-landsat-thermal'
layerId='lahaina-bais2'
dateTime='2000-01-01'
compareDateTime='2001-01-01'
compareLabel='x'
/>
<Caption>
x
</Caption>
</Figure>
</Block>



<Block>
<Prose>
Expand Down

0 comments on commit 91d1464

Please sign in to comment.