From 630b1814988cddd1b95268aa95bf9dd92facd92b Mon Sep 17 00:00:00 2001 From: PatchesMaps Date: Fri, 4 Oct 2024 11:10:03 -0400 Subject: [PATCH 1/2] legacy mode eic --- .../tile-measurement/utils/layer-data-eic.js | 37 ++++++++++++++++++- 1 file changed, 35 insertions(+), 2 deletions(-) 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.js index a852949fd7..7c49325cc1 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 @@ -20,6 +20,13 @@ export const layersToMeasure = [ '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_AOT_Dark_Target_Land_Ocean', + 'VIIRS_NOAA21_Thermal_Anomalies_375m_All', + 'VIIRS_NOAA20_Thermal_Anomalies_375m_All', + 'VIIRS_NOAA21_CorrectedReflectance_TrueColor', ]; // Object that contains the black pixel % threshold for each layer @@ -45,6 +52,13 @@ export const layerPixelData = { 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_AOT_Dark_Target_Land_Ocean: { threshold: 0.90 }, + VIIRS_NOAA21_Thermal_Anomalies_375m_All: { threshold: 0.95 }, + VIIRS_NOAA20_Thermal_Anomalies_375m_All: { threshold: 0.95 }, + VIIRS_NOAA21_CorrectedReflectance_TrueColor: { threshold: 0.65 }, }; // Back-up dates for each layer in case no date is found that satisfies the full imagery threshold @@ -69,6 +83,13 @@ export const bestDates = { CERES_EBAF_TOA_Shortwave_Flux_All_Sky_Monthly: { date: '2023-10-30' }, TEMPO_L3_NO2_Vertical_Column_Troposphere: { date: '2024-06-03T17:00:00.000Z' }, TEMPO_L3_Ozone_Column_Amount: { date: '2024-06-03T17:00:00.000Z' }, + VIIRS_NOAA20_DayNightBand_At_Sensor_Radiance: { date: '2024-10-01' }, + VIIRS_NOAA20_DayNightBand_AtSensor_M15: { date: '2024-10-01' }, + VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate: { date: '2024-10-01' }, + VIIRS_NOAA20_AOT_Dark_Target_Land_Ocean: { date: '2024-10-01' }, + VIIRS_NOAA21_Thermal_Anomalies_375m_All: { date: '2024-10-01' }, + VIIRS_NOAA20_Thermal_Anomalies_375m_All: { date: '2024-10-01' }, + VIIRS_NOAA21_CorrectedReflectance_TrueColor: { date: '2024-10-01' }, }; export const travelModeData = { @@ -112,9 +133,21 @@ export const travelModeData = { title: 'Aerosol Optical Depth (AOD) by Suomi NPP satellite', }, 14: { - title: 'TEMPO L3 NO2 Vertical Column Troposphere', + title: 'Nitrogen Dioxide Vertical Column Troposphere (L3) by TEMPO satellite', }, 15: { - title: 'TEMPO L3 Ozone Column Amount', + title: 'Ozone Column Amount (L3) by TEMPO satellite', + }, + 16: { + title: 'Black Marble Nighttime At Sensor Radiance from NOAA-20 satellite', + }, + 17: { + title: 'Black Marble Nighttime Blue/Yellow Composite from NOAA-20 satellite', + }, + 18: { + title: 'Aerosol Optical Depth (AOD) by NOAA-20 satellite', + }, + 19: { + title: 'Active Fires detected by NOAA-21 satellite', }, }; From 602b9eb435c578f146c5c647810e9663dd746a28 Mon Sep 17 00:00:00 2001 From: PatchesMaps Date: Mon, 7 Oct 2024 13:21:40 -0400 Subject: [PATCH 2/2] Refactor layer-data-eic.js: Remove unused thermal anomaly layers This commit removes the unused thermal anomaly layers, VIIRS_NOAA21_Thermal_Anomalies_375m_All and VIIRS_NOAA20_Thermal_Anomalies_375m_All, from the layersToMeasure, layerPixelData, and bestDates arrays in the layer-data-eic.js file. These layers are no longer needed and can be safely removed. --- .../kiosk/tile-measurement/utils/layer-data-eic.js | 6 ------ 1 file changed, 6 deletions(-) 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.js index 7c49325cc1..be37aca47a 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 @@ -24,8 +24,6 @@ export const layersToMeasure = [ 'VIIRS_NOAA20_DayNightBand_AtSensor_M15', 'VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate', 'VIIRS_NOAA20_AOT_Dark_Target_Land_Ocean', - 'VIIRS_NOAA21_Thermal_Anomalies_375m_All', - 'VIIRS_NOAA20_Thermal_Anomalies_375m_All', 'VIIRS_NOAA21_CorrectedReflectance_TrueColor', ]; @@ -56,8 +54,6 @@ export const layerPixelData = { VIIRS_NOAA20_DayNightBand_AtSensor_M15: { threshold: 0.10 }, VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate: { threshold: 0.90 }, VIIRS_NOAA20_AOT_Dark_Target_Land_Ocean: { threshold: 0.90 }, - VIIRS_NOAA21_Thermal_Anomalies_375m_All: { threshold: 0.95 }, - VIIRS_NOAA20_Thermal_Anomalies_375m_All: { threshold: 0.95 }, VIIRS_NOAA21_CorrectedReflectance_TrueColor: { threshold: 0.65 }, }; @@ -87,8 +83,6 @@ export const bestDates = { VIIRS_NOAA20_DayNightBand_AtSensor_M15: { date: '2024-10-01' }, VIIRS_NOAA20_AOT_Deep_Blue_Best_Estimate: { date: '2024-10-01' }, VIIRS_NOAA20_AOT_Dark_Target_Land_Ocean: { date: '2024-10-01' }, - VIIRS_NOAA21_Thermal_Anomalies_375m_All: { date: '2024-10-01' }, - VIIRS_NOAA20_Thermal_Anomalies_375m_All: { date: '2024-10-01' }, VIIRS_NOAA21_CorrectedReflectance_TrueColor: { date: '2024-10-01' }, };