Interactive interface for browsing global, full-resolution satellite imagery
Added granule count option to PREFIRE products (#6484)
christof-wittreich485cb59584eb
diff --git a/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT1_Outgoing_Longwave_Radiative_Flux.json b/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT1_Outgoing_Longwave_Radiative_Flux.jsonindex ce6f41569..46324ddf7 100644--- a/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT1_Outgoing_Longwave_Radiative_Flux.json+++ b/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT1_Outgoing_Longwave_Radiative_Flux.json@@ -6,6 +6,8 @@"tags": "","dataAvailability": "dd","group": "overlays",+ "type": "granule",+ "count": 1,"layergroup": "Outgoing Radiation"}}diff --git a/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT2_Outgoing_Longwave_Radiative_Flux.json b/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT2_Outgoing_Longwave_Radiative_Flux.jsonindex 23af8f27d..499ccf4e3 100644--- a/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT2_Outgoing_Longwave_Radiative_Flux.json+++ b/config/default/common/config/wv.json/layers/prefire/PREFIRE_SAT2_Outgoing_Longwave_Radiative_Flux.json@@ -6,6 +6,8 @@"tags": "","dataAvailability": "dd","group": "overlays",+ "type": "granule",+ "count": 1,"layergroup": "Outgoing Radiation"}}diff --git a/web/js/map/granule/util.js b/web/js/map/granule/util.jsindex e7a99f52e..cc35c4fdd 100644--- a/web/js/map/granule/util.js+++ b/web/js/map/granule/util.js@@ -336,7 +336,7 @@ export const getCMRQueryDateUpdateOptions = (export const transformGranuleData = (entry, date, crs) => {const line = new OlGeomLineString([]);const maxDistance = crs === CRS.GEOGRAPHIC ? 270 : Number.POSITIVE_INFINITY;- const points = entry.polygons[0][0].split(' ');+ const points = entry.polygons ? entry.polygons[0][0].split(' ') : [];const dayNight = entry.day_night_flag;const polygonCoords = [];