Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

setup mock tour for testing purposes

Jason Kentda05859d2ed8
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/dorian_background.png b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/dorian_background.png
new file mode 100644
index 000000000..751afcbb1
Binary files /dev/null and b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/dorian_background.png differ
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step001.md b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step001.md
new file mode 100644
index 000000000..34c4a000f
--- /dev/null
+++ b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step001.md
@@ -0,0 +1,7 @@
+This true color Corrected Reflectance image shows Hurricane Dorian over the Bahamas, taken at approximately 18:35 UTC on 1 September 2019. The image was captured by the Visible Infrared Imaging Radiometer Suite (VIIRS) instrument on the joint NASA/NOAA Suomi National Polar-orbiting Partnership (Suomi NPP) satellite.
+
+Worldview has been consistently providing daily, global satellite imagery from polar orbiting satellites like the joint NASA/NOAA Suomi NPP, but Worldview is moving into new territory - supplying satellite imagery every 10 minutes from geostationary satellites like GOES-East (currently, GOES-R/GOES-16), GOES-West (currently, GOES-S/GOES-17) and Himawari-8!
+
+***
+- [GOES-R](https://www.goes-r.gov/)
+- [Meteorological Satellites, Japan Meteorological Agency](http://www.jma.go.jp/jma/jma-eng/satellite/index.html)
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step002.md b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step002.md
new file mode 100644
index 000000000..e1524e003
--- /dev/null
+++ b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step002.md
@@ -0,0 +1,5 @@
+Here we see Hurricane Dorian at 18:30 UTC in a Red Visible imagery layer from the geostationary satellite, GOES-East, taken at roughly the same time as the image from the VIIRS instrument. Turn on and off the Red Visible layer to see the VIIRS Corrected Reflectance image underneath. Note the slight apparent shift in the clouds, which may be due to difference in the satellite angle between the polar orbiting and geostationary satellite.
+
+The Red Visible (0.64μm, Band 2) layer is a single band layer from Advanced Baseline Imager (ABI) instrument on board the Geostationary Operational Environmental Satellites (GOES)-East. It is mainly used to monitor the evolution of clouds throughout the daylight hours.
+
+The GOES-East satellite is centered on 75.2 degrees W covering the Conterminous US, Canada, Central and South America. Zoom out to see the full disk of imagery. Geostationary satellites are an altitude of approximately 35,800km (22,300 miles) directly over the equator and revolve in the same direction (west to east) that the Earth rotates. This altitude ensures that one orbit takes 24 hours which is the same length of time as the Earth takes to rotate once on its axis.
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step003.md b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step003.md
new file mode 100644
index 000000000..dd7b5f505
--- /dev/null
+++ b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step003.md
@@ -0,0 +1,3 @@
+Hurricane Dorian made landfall on the Bahamas at 16:40 UTC, 1 September 2019 as a category 5 hurricane. Watch the movement of the storm in this animation of the GOES-East Red Visible layer. The animation starts at 11:00 UTC, or 7:00 AM local time, showing the storm moving westward as the sun rises and the storm making landfall on the Abaco Islands, Bahamas at 16:40 UTC, or 12:40 PM local time.
+
+Note the change in the timeline after we added the geostationary layer! In addition to the date, you can now see the time in Hours and Minutes Z (Zulu Time which is equivalent to UTC - Coordinated Universal Time). To the right of the "Z" are the < > increment arrows. Click on "10 minute" and see the available options - Year, Month, Day, Hour, Minute and Custom. Click on "Custom" and in the Custom Interval Selector the increment has been set to "10" and "Minute". The timescale can also be changed at the right of the timeline.
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step004.md b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step004.md
new file mode 100644
index 000000000..4aa599602
--- /dev/null
+++ b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step004.md
@@ -0,0 +1 @@
+The Clean Infrared (10.3&mu;m, Band 13) layer from GOES-East shows that the cloud-top brightness temperatures near the center of the hurricane are below -70&deg;C. Hover over the different colors in the image to see the corresponding temperature value in the Layer List. This layer is useful for detecting clouds at day and at night, aiding in cloud and other atmospheric feature identification and classification.
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step005.md b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step005.md
new file mode 100644
index 000000000..e363b4142
--- /dev/null
+++ b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step005.md
@@ -0,0 +1 @@
+With maximum sustained winds of 185 mph (295km/h) on 1 September, the storm continued its slow march westward. Click the "Play" button to view an animation of the hurricane on 1 September in 10 minute increments.
diff --git a/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step006.md b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step006.md
new file mode 100644
index 000000000..55ececb33
--- /dev/null
+++ b/config/default/common/config/metadata/stories/hurricane_dorian_september_joyride/step006.md
@@ -0,0 +1 @@
+The hurricane also affected the United States - Florida, Georgia, South Carolina and North Carolina, where it weakened into Category 1 hurricane on 6 September near Cape Hatteras. This animation shows the daily progression of the storm from 1 September to 5 September 2019 where the animation interval have been set to 24 hour increments.
diff --git a/config/default/common/config/wv.json/stories/mock/joyride_tour.json b/config/default/common/config/wv.json/stories/mock/joyride_tour.json
new file mode 100644
index 000000000..8481630b6
--- /dev/null
+++ b/config/default/common/config/wv.json/stories/mock/joyride_tour.json
@@ -0,0 +1,117 @@
+{
+ "stories": {
+ "hurricane_dorian_september_joyride": {
+ "id": "hurricane_dorian_september_joyride",
+ "isMock": true,
+ "type": "severe-storm",
+ "title": "Hurricane Dorian JOYRIDE TEST",
+ "description": "Explore Hurricane Dorian with imagery from Geostationary satellites like GOES-East!",
+ "backgroundImage": "dorian_background.png",
+ "backgroundImageHover": "",
+ "readMoreLinks": [
+ {
+ "title": "View the Earth Every 10 Minutes with Geostationary Imagery! (GIBS Blog)",
+ "link": "https://wiki.earthdata.nasa.gov/display/GIBS/2019/10/21/View+the+Earth+Every+10+Minutes+with+Geostationary+Imagery"
+ },
+ {
+ "title": "Now Available in NASA Worldview: Earth Every 10 Minutes (Earthdata)",
+ "link": "https://earthdata.nasa.gov/learn/articles/geostationary-in-worldview"
+ }
+ ],
+ "steps": [
+ {
+ "description": "step001.html",
+ "stepLink": "v=-93.6687580338324,18.074163862096903,-60.463679908832404,34.0526794870969&t=2019-09-01-T17%3A00%3A00Z&l=Reference_Labels,Reference_Features,Coastlines,VIIRS_SNPP_CorrectedReflectance_TrueColor,MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden)"
+ },
+ {
+ "description": "step002.html",
+ "joyride": {
+ "continuous": true,
+ "spotlightClicks": true,
+ "steps": [
+ {
+ "target": "#hideGOES-East_ABI_Band2_Red_Visible_1km",
+ "content": "Turn on and off the Red Visible layer to see the VIIRS Corrected Reflectance image underneath. Note the slight apparent shift in the clouds, which may be due to difference in the satellite angle between the polar orbiting and geostationary satellite.",
+ "placementBeacon": "right"
+ },
+ {
+ "target": ".wv-date-selector-widget",
+ "content": "Note the change in the timeline after we added the geostationary layer! In addition to the date, you can now see the time in Hours and Minutes Z (Zulu Time which is equivalent to UTC - Coordinated Universal Time).",
+ "placementBeacon": "top"
+ },
+ {
+ "target": "#zoom-buttons-group",
+ "content": "To the right of the \"Z\" are the < > increment arrows. Click on \"10 minute\" and see the available options - Year, Month, Day, Hour, Minute and Custom. Click on \"Custom\" and in the Custom Interval Selector the increment has been set to \"10\" and \"Minute\".",
+ "placementBeacon": "top"
+ },
+ {
+ "target": "#current-zoom",
+ "content": "The timescale can also be changed here to HOURS or MINUTES",
+ "placementBeacon": "top"
+ }
+ ]
+ },
+ "stepLink": "v=-90.14178198018385,21.134320929529547,-70.29988831612135,30.682378812342048&t=2019-09-01-T18%3A30%3A00Z&l=Reference_Labels,Reference_Features,Coastlines,GOES-East_ABI_Band2_Red_Visible_1km,VIIRS_SNPP_CorrectedReflectance_TrueColor,MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden)"
+ },
+ {
+ "description": "step003.html",
+ "transition": {
+ "element": "animation",
+ "action": "play"
+ },
+ "stepLink": "v=-93.6687580338324,17.641714595069764,-60.463679908832404,34.48512875412404&t=2019-09-01-T11%3A00%3A00Z&z=4&ics=true&ici=5&icd=10&as=2019-09-01-T11%3A00%3A00Z&ae=2019-09-01-T17%3A00%3A00Z&l=Reference_Labels,Reference_Features,Coastlines,GOES-East_ABI_Band13_Clean_Infrared(hidden),GOES-East_ABI_Band2_Red_Visible_1km,VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden)&al=true&av=9&ab=on"
+ },
+ {
+ "description": "step004.html",
+ "stepLink": "v=-93.6687580338324,18.074163862096903,-60.463679908832404,34.0526794870969&t=2019-09-01-T17%3A00%3A00Z&z=5&ics=true&ici=5&icd=10&l=Reference_Labels,Reference_Features,Coastlines,GOES-East_ABI_Band13_Clean_Infrared,GOES-East_ABI_Band2_Red_Visible_1km,VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden)",
+ "joyride": {
+ "continuous": true,
+ "spotlightClicks": true,
+ "steps": [
+ {
+ "target": "#dorian-box-1",
+ "targetCoordinates": {
+ "topLeft": [-79, 29.5],
+ "bottomRight": [-72, 23]
+ },
+ "content": "Hover over the different colors in the image on the map...",
+ "placementBeacon": "top"
+ },
+ {
+ "target": "#GOES-East_ABI_Band13_Clean_Infrared-Clean_Longwave_Infrared_Window_Band_0_legend0colorbar",
+ "content": "...to see the corresponding temperature value here.",
+ "placementBeacon": "top"
+ },
+ {
+ "target": "#dorian-box-2",
+ "targetCoordinates": {
+ "topLeft": [-89, 15.5],
+ "bottomRight": [-71, 14]
+ },
+ "content": "The waters of the carribean...",
+ "placementBeacon": "top"
+ }
+ ]
+ }
+ },
+ {
+ "description": "step005.html",
+ "stepLink": "v=-95.39338920697065,17.70570720628043,-62.18831108197065,35.22206449510876&t=2019-09-01-T17%3A00%3A00Z&z=4&ics=true&ici=5&icd=10&as=2019-09-01-T17%3A00%3A00Z&ae=2019-09-01-T23%3A20%3A00Z&l=Reference_Labels,Reference_Features,Coastlines,GOES-East_ABI_Band13_Clean_Infrared,GOES-East_ABI_Band2_Red_Visible_1km(hidden),VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden,opacity=0.96),MODIS_Terra_CorrectedReflectance_TrueColor(hidden)&al=true&av=9&ab=on",
+ "joyride": {
+ "steps": [
+ {
+ "target": ".wv-anim-play-case",
+ "content": "Click the \"Play\" button to view an animation of the hurricane on 1 September in 10 minute increments.",
+ "placementBeacon": "top"
+ }
+ ]
+ }
+ },
+ {
+ "description": "step006.html",
+ "stepLink": "v=-113.9154405233163,7.210364622413046,-47.50528427331633,40.897192940521585&t=2019-09-01-T17%3A00%3A00Z&ics=true&ici=4&icd=24&as=2019-09-01-T17%3A00%3A00Z&ae=2019-09-05-T17%3A00%3A00Z&l=Reference_Labels,Reference_Features,Coastlines,GOES-East_ABI_Band13_Clean_Infrared,GOES-East_ABI_Band2_Red_Visible_1km(hidden),VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor(hidden)&al=true&ab=on"
+ }
+ ]
+ }
+ }
+}
diff --git a/config/default/common/config/wv.json/storyOrder.json b/config/default/common/config/wv.json/storyOrder.json
index dc925f4a3..8b35e7646 100644
--- a/config/default/common/config/wv.json/storyOrder.json
+++ b/config/default/common/config/wv.json/storyOrder.json
@@ -14,6 +14,7 @@
"california_british_columbia_wildfires_summer_2018",
"swath_gaps",
"sinabung_volcano_eruption_february_2018",
- "hurricane_maria_september_2017"
+ "hurricane_maria_september_2017",
+ "hurricane_dorian_september_joyride"
]
}
diff --git a/web/js/containers/tour.js b/web/js/containers/tour.js
index 619783838..035a823cf 100644
--- a/web/js/containers/tour.js
+++ b/web/js/containers/tour.js
@@ -40,6 +40,7 @@ class Tour extends React.Component {
const currentStoryIndex = lodashFindIndex(storyOrder, (id) => id === currentStoryId) || null;
const currentStory = currentStoryIndex >= 0 ? stories[currentStoryId] : {};
const steps = lodashGet(currentStory, 'steps') || [];
+
this.state = {
modalStart: !currentStoryId,
showSupportAlert: currentStoryId && currentStoryIndex === -1,
@@ -489,6 +490,7 @@ const mapDispatchToProps = (dispatch) => ({
dispatch(selectStoryAction(id));
},
});
+
function mapStateToProps(state) {
const {
browser, config, tour, palettes, models, compare, map,
diff --git a/web/js/main.js b/web/js/main.js
index 71a93729b..2560b4e0f 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -128,8 +128,10 @@ window.onload = () => {
// Perform check to see if app was in the midst of a tour
const hasTour = lodashGet(config, `stories[${parameters.tr}]`);
if (hasTour) {
+ const isMockTour = parameters.mockTour;
// Gets the extent of the first tour step and overrides view params
parameters = util.fromQueryString(hasTour.steps[0].stepLink);
+ parameters.mockTour = isMockTour;
}
config.pageLoadTime = parameters.now
@@ -172,6 +174,17 @@ window.onload = () => {
const legacyState = parse(parameters, config, errors);
layerValidate(errors, config);
adjustStartDates(config.layers);
+
+ // Remove any mock stories
+ if (!parameters.mockTour) {
+ Object.keys(config.stories).forEach((storyId) => {
+ if (config.stories[storyId].isMock) {
+ delete config.stories[storyId];
+ config.storyOrder = config.storyOrder.filter((id) => id !== storyId);
+ }
+ });
+ }
+
preloadPalettes(layers, {}, false).then((obj) => {
config.palettes = {
custom: obj.custom,