Skip to content

Commit

Permalink
Changed colormaps
Browse files Browse the repository at this point in the history
  • Loading branch information
christof-wittreich committed Aug 2, 2024
1 parent cc9ec58 commit 366d43c
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const landsatPresets = [
assets: ['B05', 'B04'],
expression: '(B05-B04)/(B05+B04)',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_NDVI_Landsat.jpg',
},
{
Expand All @@ -71,7 +71,7 @@ const landsatPresets = [
assets: ['B05', 'B06'],
expression: '(B05-B06)/(B05+B06)',
rescale: '-1,1',
colormap_name: 'jet_r',
colormap_name: 'bwr_r',
img: 'HLS_Moisture_Index_Landsat.jpg',
},
{
Expand All @@ -80,7 +80,7 @@ const landsatPresets = [
assets: ['B05', 'B04', 'B02'],
expression: '(2.5*(B05-B04))/(B05+6*B04-7.5*B02+1)',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_EVI_Landsat.jpg',
},
{
Expand All @@ -89,7 +89,7 @@ const landsatPresets = [
assets: ['B05', 'B04'],
expression: '1.5*((B05-B04)/(B05+B04+0.5))',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_SAVI_Landsat.jpg',
},
{
Expand All @@ -98,7 +98,7 @@ const landsatPresets = [
assets: ['B05', 'B04'],
expression: '(2*B05+1-sqrt((2*B05+1)**2-8*(B05-B04)))/2',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_MSAVI_Landsat.jpg',
},
{
Expand All @@ -107,7 +107,7 @@ const landsatPresets = [
assets: ['B05', 'B07'],
expression: '(B05-B07)/(B05+B07)',
rescale: '-1,1',
colormap_name: 'jet_r',
colormap_name: 'puor',
img: 'HLS_NBR_Landsat.jpg',
},
{
Expand All @@ -116,7 +116,7 @@ const landsatPresets = [
assets: ['B06', 'B07'],
expression: '(B06-B07)/(B06+B07)',
rescale: '-1,1',
colormap_name: 'jet_r',
colormap_name: 'puor',
img: 'HLS_NBR2_Landsat.jpg',
},
{
Expand All @@ -125,7 +125,7 @@ const landsatPresets = [
assets: ['B03', 'B04', 'B05'],
expression: '(120*(B05-B03)-200*(B04-B03))/2',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_TVI_Landsat.jpg',
},
];
Expand Down Expand Up @@ -169,7 +169,7 @@ const sentinelPresets = [
assets: ['B08', 'B04'],
expression: '(B08-B04)/(B08+B04)',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
asset_as_band: true,
img: 'HLS_NDVI_Sentinel.jpg',
},
Expand Down Expand Up @@ -199,7 +199,7 @@ const sentinelPresets = [
assets: ['B8A', 'B11'],
expression: '(B8A-B11)/(B8A+B11)',
rescale: '-1,1',
colormap_name: 'jet_r',
colormap_name: 'bwr_r',
asset_as_band: true,
img: 'HLS_Moisture_Index_Sentinel.jpg',
},
Expand All @@ -209,7 +209,7 @@ const sentinelPresets = [
assets: ['B8A', 'B04', 'B02'],
expression: '(2.5*(B8A-B04))/(B8A+6*B04-7.5*B02+1)',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_EVI_Sentinel.jpg',
},
{
Expand All @@ -218,7 +218,7 @@ const sentinelPresets = [
assets: ['B8A', 'B04'],
expression: '1.428*((B8A-B04)/(B8A+B04+0.428))',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_SAVI_Sentinel.jpg',
},
{
Expand All @@ -227,7 +227,7 @@ const sentinelPresets = [
assets: ['B8A', 'B04'],
expression: '(2*B8A+1-sqrt((2*B8A+1)**2-8*(B8A-B04)))/2',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_MSAVI_Sentinel.jpg',
},
{
Expand All @@ -236,7 +236,7 @@ const sentinelPresets = [
assets: ['B8A', 'B12'],
expression: '(B8A-B12)/(B8A+B12)',
rescale: '-1,1',
colormap_name: 'jet_r',
colormap_name: 'puor',
img: 'HLS_NBR_Sentinel.jpg',
},
{
Expand All @@ -245,7 +245,7 @@ const sentinelPresets = [
assets: ['B11', 'B12'],
expression: '(B11-B12)/(B11+B12)',
rescale: '-1,1',
colormap_name: 'jet',
colormap_name: 'puor',
img: 'HLS_NBR2_Sentinel.jpg',
},
{
Expand All @@ -254,7 +254,7 @@ const sentinelPresets = [
assets: ['B03', 'B04', 'B8A'],
expression: '(120*(B8A-B03)-200*(B04-B03))/2',
rescale: '-1,1',
colormap_name: 'greens',
colormap_name: 'brbg',
img: 'HLS_TVI_Sentinel.jpg',
},
];
Expand Down

0 comments on commit 366d43c

Please sign in to comment.