Skip to content

Commit

Permalink
Thumbnails url
Browse files Browse the repository at this point in the history
  • Loading branch information
christof-wittreich committed Aug 13, 2024
1 parent 594a8a8 commit 8a0b385
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,121 +12,121 @@ const landsatPresets = [
r: 'B05',
g: 'B04',
b: 'B03',
img: 'HLS_False_Color_Landsat.jpg',
img: 'HLS_False_Color_Landsat_th.jpg',
},
{
id: 'HLS_False_Color_Urban_Landsat',
title: 'False Color (Urban)',
r: 'B07',
g: 'B06',
b: 'B04',
img: 'HLS_False_Color_Urban_Landsat.jpg',
img: 'HLS_False_Color_Urban_Landsat_th.jpg',
},
{
id: 'FalseColorVegetation_landsat',
title: 'False Color (Vegetation)',
r: 'B06',
g: 'B05',
b: 'B04',
img: 'HLS_False_Color_Vegetation_Landsat.jpg',
img: 'HLS_False_Color_Vegetation_Landsat_th.jpg',
},
{
id: 'HLS_Shortwave_Infrared_Landsat.jpg',
id: 'HLS_SWIR_Landsat_th.jpg',
title: 'Shortwave Infrared',
r: 'B07',
g: 'B05',
b: 'B04',
img: 'HLS_Shortwave_Infrared_Landsat.jpg',
img: 'HLS_SWIR_Landsat_th.jpg',
},
{
id: 'HLS_NDVI_Landsat.jpg',
id: 'HLS_NDVI_Landsat_th.jpg',
title: 'Vegetation Index (NDVI)',
assets: ['B05', 'B04'],
expression: '(B05-B04)/(B05+B04)',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_NDVI_Landsat.jpg',
img: 'HLS_NDVI_Landsat_th.jpg',
},
{
id: 'HLS_NDWI_Landsat.jpg',
id: 'HLS_NDWI_Landsat_th.jpg',
title: 'Water Index (NDWI)',
assets: ['B05', 'B03'],
expression: '(B03-B05)/(B03+B05)',
rescale: '-1,1',
colormap_name: 'gnbu',
img: 'HLS_NDWI_Landsat.jpg',
img: 'HLS_NDWI_Landsat_th.jpg',
},
{
id: 'HLS_NDSI_Landsat.jpg',
id: 'HLS_NDSI_Landsat_th.jpg',
title: 'Snow Index (NDSI)',
assets: ['B03', 'B06'],
expression: '(B03-B06)/(B03+B06)',
rescale: '-1,1',
colormap_name: 'winter_r',
img: 'HLS_NDSI_Landsat.jpg',
img: 'HLS_NDSI_Landsat_th.jpg',
},
{
id: 'HLS_Moisture_Index_Landsat.jpg',
id: 'HLS_NDMI_Landsat_th.jpg',
title: 'Moisture Index (NDMI)',
assets: ['B05', 'B06'],
expression: '(B05-B06)/(B05+B06)',
rescale: '-1,1',
colormap_name: 'bwr_r',
img: 'HLS_Moisture_Index_Landsat.jpg',
img: 'HLS_NDMI_Landsat_th.jpg',
},
{
id: 'HLS_EVI_Landsat.jpg',
id: 'HLS_EVI_Landsat_th.jpg',
title: 'Enhanced Vegetation Index (EVI)',
assets: ['B05', 'B04', 'B02'],
expression: '(2.5*(B05-B04))/(B05+6*B04-7.5*B02+1)',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_EVI_Landsat.jpg',
img: 'HLS_EVI_Landsat_th.jpg',
},
{
id: 'HLS_SAVI_Landsat.jpg',
id: 'HLS_SAVI_Landsat_th.jpg',
title: 'Soil Adjusted Vegetation Index (SAVI)',
assets: ['B05', 'B04'],
expression: '1.5*((B05-B04)/(B05+B04+0.5))',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_SAVI_Landsat.jpg',
img: 'HLS_SAVI_Landsat_th.jpg',
},
{
id: 'HLS_MSAVI_Landsat.jpg',
id: 'HLS_MSAVI_Landsat_th.jpg',
title: 'Modified Soil Adjusted Vegetation Index (MSAVI)',
assets: ['B05', 'B04'],
expression: '(2*B05+1-sqrt((2*B05+1)**2-8*(B05-B04)))/2',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_MSAVI_Landsat.jpg',
img: 'HLS_MSAVI_Landsat_th.jpg',
},
{
id: 'HLS_NBR_Landsat.jpg',
id: 'HLS_NBR_Landsat_th.jpg',
title: 'Burn Ratio (NBR)',
assets: ['B05', 'B07'],
expression: '(B05-B07)/(B05+B07)',
rescale: '-1,1',
colormap_name: 'puor',
img: 'HLS_NBR_Landsat.jpg',
img: 'HLS_NBR_Landsat_th.jpg',
},
{
id: 'HLS_NBR2_Landsat.jpg',
id: 'HLS_NBR2_Landsat_th.jpg',
title: 'Burn Ratio 2 (NBR2)',
assets: ['B06', 'B07'],
expression: '(B06-B07)/(B06+B07)',
rescale: '-1,1',
colormap_name: 'puor',
img: 'HLS_NBR2_Landsat.jpg',
img: 'HLS_NBR2_Landsat_th.jpg',
},
{
id: 'HLS_TVI_Landsat.jpg',
id: 'HLS_TVI_Landsat_th.jpg',
title: 'Triangular Vegetation Index (TVI)',
assets: ['B03', 'B04', 'B05'],
expression: '(120*(B05-B03)-200*(B04-B03))/2',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_TVI_Landsat.jpg',
img: 'HLS_TVI_Landsat_th.jpg',
},
];

Expand All @@ -137,125 +137,125 @@ const sentinelPresets = [
r: 'B08',
g: 'B04',
b: 'B03',
img: 'HLS_False_Color_Sentinel.jpg',
img: 'HLS_False_Color_Sentinel_th.jpg',
},
{
id: 'HLS_False_Color_Urban_Sentinel',
title: 'False Color (Urban)',
r: 'B12',
g: 'B11',
b: 'B04',
img: 'HLS_False_Color_Urban_Sentinel.jpg',
img: 'HLS_False_Color_Urban_Sentinel_th.jpg',
},
{
id: 'HLS_False_Color_Vegetation_Sentinel',
title: 'False Color (Vegetation)',
r: 'B11',
g: 'B8A',
b: 'B04',
img: 'HLS_False_Color_Vegetation_Sentinel.jpg',
img: 'HLS_False_Color_Vegetation_Sentinel_th.jpg',
},
{
id: 'HLS_Shortwave_Infrared_Sentinel',
id: 'HLS_SWIR_Sentinel',
title: 'Shortwave Infrared',
r: 'B12',
g: 'B8A',
b: 'B04',
img: 'HLS_SWIR_Sentinel.jpg',
img: 'HLS_SWIR_Sentinel_th.jpg',
},
{
id: 'HLS_NDVI_Sentinel.jpg',
id: 'HLS_NDVI_Sentinel_th.jpg',
title: 'Vegetation Index (NDVI)',
assets: ['B08', 'B04'],
expression: '(B08-B04)/(B08+B04)',
rescale: '-1,1',
colormap_name: 'brbg',
asset_as_band: true,
img: 'HLS_NDVI_Sentinel.jpg',
img: 'HLS_NDVI_Sentinel_th.jpg',
},
{
id: 'HLS_NDWI_Sentinel.jpg',
id: 'HLS_NDWI_Sentinel_th.jpg',
title: 'Water Index (NDWI)',
assets: ['B08', 'B03'],
expression: '(B03-B08)/(B03+B08)',
rescale: '-1,1',
colormap_name: 'gnbu',
asset_as_band: true,
img: 'HLS_NDWI_Sentinel.jpg',
img: 'HLS_NDWI_Sentinel_th.jpg',
},
{
id: 'HLS_NDSI_Sentinel.jpg',
id: 'HLS_NDSI_Sentinel_th.jpg',
title: 'Snow Index (NDSI)',
assets: ['B03', 'B11'],
expression: '(B03-B11)/(B03+B11)',
rescale: '-1,1',
colormap_name: 'winter_r',
asset_as_band: true,
img: 'HLS_NDSI_Sentinel.jpg',
img: 'HLS_NDSI_Sentinel_th.jpg',
},
{
id: 'HLS_Moisture_Index_Sentinel.jpg',
id: 'HLS_NDMI_Sentinel_th.jpg',
title: 'Moisture Index (NDMI)',
assets: ['B8A', 'B11'],
expression: '(B8A-B11)/(B8A+B11)',
rescale: '-1,1',
colormap_name: 'bwr_r',
asset_as_band: true,
img: 'HLS_Moisture_Index_Sentinel.jpg',
img: 'HLS_NDMI_Sentinel_th.jpg',
},
{
id: 'HLS_EVI_Sentinel.jpg',
id: 'HLS_EVI_Sentinel_th.jpg',
title: 'Enhanced Vegetation Index (EVI)',
assets: ['B8A', 'B04', 'B02'],
expression: '(2.5*(B8A-B04))/(B8A+6*B04-7.5*B02+1)',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_EVI_Sentinel.jpg',
img: 'HLS_EVI_Sentinel_th.jpg',
},
{
id: 'HLS_SAVI_Sentinel.jpg',
id: 'HLS_SAVI_Sentinel_th.jpg',
title: 'Soil Adjusted Vegetation Index (SAVI)',
assets: ['B8A', 'B04'],
expression: '1.428*((B8A-B04)/(B8A+B04+0.428))',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_SAVI_Sentinel.jpg',
img: 'HLS_SAVI_Sentinel_th.jpg',
},
{
id: 'HLS_MSAVI_Sentinel.jpg',
id: 'HLS_MSAVI_Sentinel_th.jpg',
title: 'Modified Soil Adjusted Vegetation Index (MSAVI)',
assets: ['B8A', 'B04'],
expression: '(2*B8A+1-sqrt((2*B8A+1)**2-8*(B8A-B04)))/2',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_MSAVI_Sentinel.jpg',
img: 'HLS_MSAVI_Sentinel_th.jpg',
},
{
id: 'HLS_NBR_Sentinel.jpg',
id: 'HLS_NBR_Sentinel_th.jpg',
title: 'Burn Ratio (NBR)',
assets: ['B8A', 'B12'],
expression: '(B8A-B12)/(B8A+B12)',
rescale: '-1,1',
colormap_name: 'puor',
img: 'HLS_NBR_Sentinel.jpg',
img: 'HLS_NBR_Sentinel_th.jpg',
},
{
id: 'HLS_NBR2_Sentinel.jpg',
id: 'HLS_NBR2_Sentinel_th.jpg',
title: 'Burn Ratio 2 (NBR2)',
assets: ['B11', 'B12'],
expression: '(B11-B12)/(B11+B12)',
rescale: '-1,1',
colormap_name: 'puor',
img: 'HLS_NBR2_Sentinel.jpg',
img: 'HLS_NBR2_Sentinel_th.jpg',
},
{
id: 'HLS_TVI_Sentinel.jpg',
id: 'HLS_TVI_Sentinel_th.jpg',
title: 'Triangular Vegetation Index (TVI)',
assets: ['B03', 'B04', 'B8A'],
expression: '(120*(B8A-B03)-200*(B04-B03))/2',
rescale: '-1,1',
colormap_name: 'brbg',
img: 'HLS_TVI_Sentinel.jpg',
img: 'HLS_TVI_Sentinel_th.jpg',
},
];

Expand Down
2 changes: 1 addition & 1 deletion web/scss/features/customize-bands.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
border: 2px solid $wv-dark-menu-border;

.band-selection-preset-image {
width: 70px;
width: 73px;
}

.card-text {
Expand Down

0 comments on commit 8a0b385

Please sign in to comment.