Interactive interface for browsing global, full-resolution satellite imagery
Update EIC scenarios 8 & 9. Remove scenarios 10, 17 & 18. Update tests (#7046)
Tom Cariello1245c3cb4bcf
diff --git a/package-lock.json b/package-lock.jsonindex 5a7f88cec..9cd22206f 100644--- a/package-lock.json+++ b/package-lock.json@@ -8368,17 +8368,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/ansi-html-community": {- "version": "0.0.8",- "dev": true,- "engines": [- "node >= 0.8.0"- ],- "license": "Apache-2.0",- "bin": {- "ansi-html": "bin/ansi-html"- }- },"node_modules/ansi-regex": {"version": "5.0.1","dev": true,@@ -12790,7 +12779,9 @@}},"node_modules/follow-redirects": {- "version": "1.16.0",+ "version": "1.16.1",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz",+ "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==","funding": [{"type": "individual",@@ -23048,15 +23039,14 @@}},"node_modules/webpack-dev-middleware": {- "version": "8.3.0",- "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-8.3.0.tgz",- "integrity": "sha512-jFNNMB29ugmkEUFW9cpWNqcWFQNwuMTMVoRpKVAiz/5nh3gA4x9x6DRPhNHGc/SLre7pEP9yrAPDAmCvdCblKg==",+ "version": "8.5.0",+ "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-8.5.0.tgz",+ "integrity": "sha512-+rXF28E5GKr7VnLH5qJaGIKLNPkthlA0VhqBFp/K6mjjCzOd6q34vYc2/3/ysRTjxmN01S98r1LwTTpWXDzWWA==","dev": true,"license": "MIT","dependencies": {- "ansi-html-community": "^0.0.8","memfs": "^4.68.2",- "mime-types": "^3.0.2",+ "mime-db": "^1.54.0","range-parser": "^1.3.0","schema-utils": "^4.3.3"},@@ -23067,6 +23057,9 @@"type": "opencollective","url": "https://opencollective.com/webpack"},+ "optionalDependencies": {+ "ws": "^8.18.3"+ },"peerDependencies": {"webpack": "^5.101.0"},@@ -23077,9 +23070,9 @@}},"node_modules/webpack-dev-server": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-6.0.0.tgz",- "integrity": "sha512-q9SD4ItOGhZLeU6EGT10caDZdHjF50Pz1DtkRZZOPsfluMXOkacWKKOtSBSLVkPqKiF67eFUC0rI88U/tSFPEw==",+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-6.1.0.tgz",+ "integrity": "sha512-T52SEoefJWZDgiYRMeQn4q/w9EVIZjBNWfy/WNRR2+EosPwpUmdUY1Wj0b1Mk7+svgKXojdQTP425fJ+DN58yg==","dev": true,"license": "MIT","dependencies": {@@ -23090,7 +23083,6 @@"@types/serve-index": "^1.9.4","@types/serve-static": "^2.2.0","@types/ws": "^8.18.1",- "ansi-html-community": "^0.0.8","bonjour-service": "^1.3.0","chokidar": "^5.0.0","compression": "^1.8.1",@@ -23106,7 +23098,7 @@"selfsigned": "^5.5.0","serve-index": "^1.9.2","tinyglobby": "^0.2.15",- "webpack-dev-middleware": "^8.0.3",+ "webpack-dev-middleware": "^8.4.0","ws": "^8.20.0"},"bin": {diff --git a/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.js b/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.jsindex 456b4ac2d..66dfd5814 100644--- a/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.js+++ b/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.js@@ -16,15 +16,15 @@ export const layersToMeasure = ['VIIRS_SNPP_AOT_Deep_Blue_Best_Estimate','AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Night','AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Day',- 'VIIRS_NOAA20_CorrectedReflectance_TrueColor','CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly','TEMPO_L3_NO2_Vertical_Column_Troposphere','TEMPO_L3_Ozone_Column_Amount','VIIRS_NOAA20_DayNightBand_At_Sensor_Radiance',- 'VIIRS_NOAA20_DayNightBand_AtSensor_M15',- 'VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate','VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean','VIIRS_NOAA21_CorrectedReflectance_TrueColor',+ 'VIIRS_NOAA21_AOD_Dark_Target_Land_Ocean',+ 'VIIRS_NOAA21_AOD_Deep_Blue_Land_Ocean',+ 'VIIRS_NOAA21_NDVI_8Day','VIIRS_SNPP_NDVI_8Day',];@@ -48,15 +48,15 @@ export const layerPixelData = {VIIRS_SNPP_AOT_Deep_Blue_Best_Estimate: { threshold: 0.95 },AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Night: { threshold: 0.20 },AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Day: { threshold: 0.20 },- VIIRS_NOAA20_CorrectedReflectance_TrueColor: { threshold: 0.65 },CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly: { threshold: 0.01 },TEMPO_L3_NO2_Vertical_Column_Troposphere: { threshold: 0.99 },TEMPO_L3_Ozone_Column_Amount: { threshold: 0.99 },VIIRS_NOAA20_DayNightBand_At_Sensor_Radiance: { threshold: 0.45 },- VIIRS_NOAA20_DayNightBand_AtSensor_M15: { threshold: 0.10 },- VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate: { threshold: 0.90 },VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean: { threshold: 0.90 },VIIRS_NOAA21_CorrectedReflectance_TrueColor: { threshold: 0.65 },+ VIIRS_NOAA21_AOD_Dark_Target_Land_Ocean: { threshold: 0.65 },+ VIIRS_NOAA21_AOD_Deep_Blue_Land_Ocean: { threshold: 0.65 },+ VIIRS_NOAA21_NDVI_8Day: { threshold: 0.60 },VIIRS_SNPP_NDVI_8Day: { threshold: 0.90 },};@@ -79,15 +79,15 @@ export const bestDates = {VIIRS_SNPP_AOT_Deep_Blue_Best_Estimate: { date: '2026-07-26' },AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Night: { date: '2026-07-20' },AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Day: { date: '2026-07-19' },- VIIRS_NOAA20_CorrectedReflectance_TrueColor: { date: '2026-07-26' },CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly: { date: '2018-10-31' },TEMPO_L3_NO2_Vertical_Column_Troposphere: { date: '2026-07-27T17:13:00.000Z' },TEMPO_L3_Ozone_Column_Amount: { date: '2026-07-27T17:13:00.000Z' },VIIRS_NOAA20_DayNightBand_At_Sensor_Radiance: { date: '2026-07-26' },- VIIRS_NOAA20_DayNightBand_AtSensor_M15: { date: '2026-07-26' },- VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate: { date: '2026-07-26' },VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean: { date: '2026-07-26' },- VIIRS_NOAA21_CorrectedReflectance_TrueColor: { date: '2026-07-26' },+ VIIRS_NOAA21_CorrectedReflectance_TrueColor: { date: '2026-10-19' },+ VIIRS_NOAA21_AOD_Dark_Target_Land_Ocean: { date: '2026-10-19' },+ VIIRS_NOAA21_AOD_Deep_Blue_Land_Ocean: { date: '2026-10-18' },+ VIIRS_NOAA21_NDVI_8Day: { date: '2026-10-18' },VIIRS_SNPP_NDVI_8Day: { date: '2026-07-26' },};@@ -114,10 +114,10 @@ export const travelModeData = {title: 'Land Surface Temperature',},8: {- title: 'Arctic Sea Ice',+ title: 'Aerosol Optical Depth (AOD) by NOAA-21 satellite',},9: {- title: 'Antarctic Sea Ice',+ title: 'Vegetation Index (NDVI) by NOAA-21 satellite',},10: {title: 'Active fires detected by NOAA-20 satellite',diff --git a/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.test.js b/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.test.jsindex 5edbdf7da..89675f4f8 100644--- a/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.test.js+++ b/web/js/mapUI/components/kiosk/tile-measurement/utils/layer-data-eic.test.js@@ -103,10 +103,6 @@ describe('layerPixelData', () => {).toBe(0.20);});- it('VIIRS_NOAA20_CorrectedReflectance_TrueColor has threshold 0.65', () => {- expect(layerPixelData.VIIRS_NOAA20_CorrectedReflectance_TrueColor.threshold).toBe(0.65);- });-it('CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly has threshold 0.01', () => {expect(layerPixelData.CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly.threshold).toBe(0.01);});@@ -123,14 +119,6 @@ describe('layerPixelData', () => {expect(layerPixelData.VIIRS_NOAA20_DayNightBand_At_Sensor_Radiance.threshold).toBe(0.45);});- it('VIIRS_NOAA20_DayNightBand_AtSensor_M15 has threshold 0.10', () => {- expect(layerPixelData.VIIRS_NOAA20_DayNightBand_AtSensor_M15.threshold).toBe(0.10);- });-- it('VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate has threshold 0.90', () => {- expect(layerPixelData.VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate.threshold).toBe(0.90);- });-it('VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean has threshold 0.90', () => {expect(layerPixelData.VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean.threshold).toBe(0.90);});@@ -234,10 +222,6 @@ describe('bestDates', () => {expect(bestDates.AIRS_L3_Carbon_Monoxide_500hPa_Volume_Mixing_Ratio_Daily_Day.date).toBe('2026-07-19');});- it('VIIRS_NOAA20_CorrectedReflectance_TrueColor has date 2026-07-26', () => {- expect(bestDates.VIIRS_NOAA20_CorrectedReflectance_TrueColor.date).toBe('2026-07-26');- });-it('CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly has date 2018-10-31', () => {expect(bestDates.CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly.date).toBe('2018-10-31');});@@ -254,20 +238,12 @@ describe('bestDates', () => {expect(bestDates.VIIRS_NOAA20_DayNightBand_At_Sensor_Radiance.date).toBe('2026-07-26');});- it('VIIRS_NOAA20_DayNightBand_AtSensor_M15 has date 2026-07-26', () => {- expect(bestDates.VIIRS_NOAA20_DayNightBand_AtSensor_M15.date).toBe('2026-07-26');- });-- it('VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate has date 2026-07-26', () => {- expect(bestDates.VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate.date).toBe('2026-07-26');- });-it('VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean has date 2026-07-26', () => {expect(bestDates.VIIRS_NOAA20_AOD_Dark_Target_Land_Ocean.date).toBe('2026-07-26');});it('VIIRS_NOAA21_CorrectedReflectance_TrueColor has date 2026-07-26', () => {- expect(bestDates.VIIRS_NOAA21_CorrectedReflectance_TrueColor.date).toBe('2026-07-26');+ expect(bestDates.VIIRS_NOAA21_CorrectedReflectance_TrueColor.date).toBe('2026-10-19');});it('VIIRS_SNPP_NDVI_8Day has date 2026-07-26', () => {@@ -391,16 +367,12 @@ describe('travelModeData', () => {expect(travelModeData[7].title).toBe('Land Surface Temperature');});- it('mode 8 is "Arctic Sea Ice"', () => {- expect(travelModeData[8].title).toBe('Arctic Sea Ice');- });-- it('mode 9 is "Antarctic Sea Ice"', () => {- expect(travelModeData[9].title).toBe('Antarctic Sea Ice');+ it('mode 8 is "Aerosol Optical Depth (AOD) by NOAA-21 satellite"', () => {+ expect(travelModeData[8].title).toBe('Aerosol Optical Depth (AOD) by NOAA-21 satellite');});- it('mode 10 is "Active fires detected by NOAA-20 satellite"', () => {- expect(travelModeData[10].title).toBe('Active fires detected by NOAA-20 satellite');+ it('mode 9 is "Vegetation Index (NDVI) by NOAA-21 satellite"', () => {+ expect(travelModeData[9].title).toBe('Vegetation Index (NDVI) by NOAA-21 satellite');});it('mode 11 is "Nitrogen Dioxide (NO2) by Aura satellite"', () => {@@ -427,14 +399,6 @@ describe('travelModeData', () => {expect(travelModeData[16].title).toBe('Black Marble Nighttime At Sensor Radiance from NOAA-20 satellite');});- it('mode 17 is "Black Marble Nighttime Blue/Yellow Composite from NOAA-20 satellite"', () => {- expect(travelModeData[17].title).toBe('Black Marble Nighttime Blue/Yellow Composite from NOAA-20 satellite');- });-- it('mode 18 is "Aerosol Optical Depth (AOD) by NOAA-20 satellite"', () => {- expect(travelModeData[18].title).toBe('Aerosol Optical Depth (AOD) by NOAA-20 satellite');- });-it('mode 19 is "Active Fires detected by NOAA-21 satellite"', () => {expect(travelModeData[19].title).toBe('Active Fires detected by NOAA-21 satellite');});