Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

WV-330: About box is now small and most content has been moved to about.html

Mike McGannfbe3772bcf49
diff --git a/about.html b/about.html
new file mode 100644
index 000000000..198b01a7b
--- /dev/null
+++ b/about.html
@@ -0,0 +1,105 @@
+<!doctype html>
+<html>
+<head>
+ <title>EOSDIS Worldview (Alpha) - About</title>
+ <!-- <link type="text/css" href="css/worldview-min.css?v=@BUILD_NONCE@" rel="Stylesheet" /> -->
+ <!-- css.dev --> <link type="text/css" href="css/sote.css" rel="Stylesheet" />
+ <!-- css.dev --> <link type="text/css" href="css/about.css" rel="Stylesheet" />
+</head>
+
+<body id="about-page" class="yui-skin-sam">
+ <div data-role="page" id="mappage">
+ <div data-role="content">
+ <div id="banner"><img class='logo' src='images/logo.png'/>
+ <div class='content'>
+ <h3>Welcome to Worldview</h3>
+ <p>
+ This new tool from NASA's
+ <a href='http://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a>
+ provides the capability to interactively browse full-resolution,
+ global, near real-time satellite imagery from 50+ data products from
+ <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a>. In
+ essence, this shows the entire Earth as it looks "right now" - or
+ at least as it has looked within the past few hours. This
+ supports time-critical application areas such as wildfire
+ management, air quality measurements, and weather forecasting. The
+ data is generally available within three hours of observation and
+ can be compared to observations since May 2012 - just click or
+ drag the blue time sliders at the bottom of the screen to change
+ the currently-displayed date. Arctic and Antarctic projections of
+ several products are also available for a "full globe" perspective.
+ Browsing on tablet devices is currently supported (iPad 2+
+ recommended) for mobile access. Please note, however, that this is
+ an alpha (preview) release and many features are still under
+ development.
+ </p>
+
+ <p>
+ Worldview uses the newly-developed
+ <a href='http://earthdata.nasa.gov/gibs' target='_blank'>Global Image Browse Services (GIBS)</a>
+ to rapidly retrieve its full-resolution imagery to provide an
+ interactive browsing experience. While Worldview uses
+ <a href='http://openlayers.org/' target='_blank'>OpenLayers</a>
+ as its mapping library, GIBS also supports Google Earth, NASA
+ World Wind, and several other clients. We encourage interested
+ developers to build their own clients or integrate NASA imagery
+ into their existing ones using these services.
+ </p>
+
+ <h3><a id='imagery-use'>Imagery Use</a></h3>
+ <p>
+ NASA supports an
+ <a href='http://science.nasa.gov/earth-science/earth-science-data/data-information-policy/' target='_blank'>open data policy</a>
+ and we encourage publication of imagery from Worldview; when
+ doing so, please cite it as "NASA Worldview" and also consider
+ including a permalink (such as
+ <a href='http://earthdata.nasa.gov/labs/worldview/?map=-126.87670898439,36.417480468755,-117.44604492189,42.771972656255&products=baselayers.MODIS_Aqua_CorrectedReflectance_TrueColor~overlays.sedac_bound&time=2012-08-23T12:00:00&switch=geographic' target='_blank'>this one</a>)
+ to allow others to explore the imagery.
+ </p>
+
+ <h3><a id='acknowledgements'>Acknowledgements</a></h3>
+ <p>
+ Near-real time data is courtesy of LANCE data providers:
+ <a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a>,
+ <a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a>,
+ <a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a>,
+ <a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a>,
+ and <a href='http://earthdata.nasa.gov/data/near-real-time-data/firms' target='_blank'>FIRMS</a>.
+ Socioeconomic data supplied by <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>.
+ User-selectable color palettes are primarily derived from
+ <a href='http://neo.sci.gsfc.nasa.gov/' target='_blank'>NEO</a>.
+ The imagery ingest and serving system (GIBS) is built by NASA/JPL
+ and operated by NASA/GSFC. Worldview is built by the NASA/GSFC
+ Earth Science Data Information System
+ (<a href='http://earthdata.nasa.gov/esdis' target='_blank'>ESDIS</a>)
+ Project and is grateful for the use of many
+ <a href='worldview-opensourcelibs.txt' target='_blank'>open source projects</a>.
+ </p>
+
+ <h3><a id='disclaimer'>Disclaimer</a></h3>
+ <p>
+ The LANCE, GIBS, and FIRMS systems are operated by the NASA/GSFC
+ ESDIS Project. The information presented through these interfaces
+ are provided “as is” and users bear all responsibility and
+ liability for their use of data, and for any loss of business or
+ profits, or for any indirect, incidental or consequential damages
+ arising out of any use of, or inability to use, the data, even if
+ NASA or ESDIS were previously advised of the possibility of such
+ damages, or for any other claim by you or any other person. Please
+ read the full disclaimer
+ <a href='http://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>here</a>.
+ </p>
+
+ <p>
+ Front-End Lead/Architect:
+ <a href='mailto:[email protected]'>Tilak Joshi</a>
+ <br />
+ Responsible NASA Official:
+ <a href='mailto:[email protected]'>Ryan Boller</a>
+ <br />
+ </p>
+
+ </div>
+ </div>
+ </div>
+</body>
diff --git a/ant/css.build.xml b/ant/css.build.xml
index 7da25e2ba..afe59f437 100644
--- a/ant/css.build.xml
+++ b/ant/css.build.xml
@@ -36,6 +36,8 @@
<file name="sote.css"/>
<file name="splash.css"/>
<file name="products.css"/>
+ <file name="about.css"/>
+
</filelist>
</project>
\ No newline at end of file
diff --git a/ant/js.build.xml b/ant/js.build.xml
index 558d15ebb..61462064c 100644
--- a/ant/js.build.xml
+++ b/ant/js.build.xml
@@ -59,6 +59,7 @@
<file name="Logging.js"/>
<file name="Date.js"/>
<file name="Worldview.js"/>
+ <file name="Worldview/About.js"/>
<file name="Worldview/Support.js"/>
<file name="Worldview/Support.js"/>
<file name="Worldview/Permalink.js"/>
diff --git a/build.xml b/build.xml
index d901875f2..b4558aa41 100644
--- a/build.xml
+++ b/build.xml
@@ -150,6 +150,7 @@
<copy todir="${build.web.dir}">
<fileset dir="${basedir}">
<include name="index.html"/>
+ <include name="about.html"/>
<include name=".htaccess"/>
<include name="worldview-opensourcelibs.txt"/>
<include name="release_notes.txt"/>
@@ -159,10 +160,11 @@
<replace file="${build.web.dir}/js/Worldview.js"
token="@BUILD_TIMESTAMP@"
value="${build.timestamp}"/>
- <replace file="${build.web.dir}/index.html"
- token="@BUILD_NONCE@"
- value="${build.nonce}"/>
-
+ <replace token="@BUILD_NONCE@"
+ value="${build.nonce}">
+ <fileset dir="${build.web.dir}" includes="*.html"/>
+ </replace>
+
<!-- Debug version that is not minified -->
<delete dir="${build.web-debug.dir}"/>
<mkdir dir="${build.web-debug.dir}"/>
@@ -212,27 +214,32 @@
<!-- Uncomment the references to the minified versions in
the index.html file -->
<replaceregexp
- file="${build.web.dir}/index.html"
match=".!--(.*worldview-min.css.*)--."
- replace="\1"/>
+ replace="\1">
+ <fileset dir="${build.web.dir}" includes="*.html"/>
+ </replaceregexp>
+
<replaceregexp
- file="${build.web.dir}/index.html"
match=".!--(.*worldview-min.js.*)--."
- replace="\1"/>
-
+ replace="\1">
+ <fileset dir="${build.web.dir}" includes="*.html"/>
+ </replaceregexp>
+
<!-- Remove references to the non-minified versions. Those lines
should contain the text "js.dev" or "css.dev" -->
<replaceregexp
- file="${build.web.dir}/index.html"
match="^.*css.dev.*$"
replace=""
- byline="true"/>
+ byline="true">
+ <fileset dir="${build.web.dir}" includes="*.html"/>
+ </replaceregexp>
<replaceregexp
- file="${build.web.dir}/index.html"
match="^.*js.dev.*$"
replace=""
- byline="true"/>
-
+ byline="true">
+ <fileset dir="${build.web.dir}" includes="*.html"/>
+ </replaceregexp>
+
<!-- Move the images to locations where it can be found in the minified
form since the URLs in the CSS are relative and the location of
the css has changed -->
diff --git a/css/about.css b/css/about.css
new file mode 100644
index 000000000..b7880857d
--- /dev/null
+++ b/css/about.css
@@ -0,0 +1,59 @@
+.about {
+ text-align: center;
+}
+
+.about-title {
+ font-size: 10pt;
+ font-weight: bold;
+}
+
+.about-version {
+ font-size: 10pt;
+}
+
+.about-build {
+ font-size: 8pt;
+}
+
+.about a:link {
+ font-weight: bold;
+}
+
+.about a:visited {
+ font-weight: bold;
+}
+
+#about-page {
+ background-color: #000000;
+ color: #FFFBE7;
+}
+
+#about-page .content {
+ background-color: rgba(38, 43, 49, 0.65);
+ margin: 10px auto;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ padding-left: 20px;
+ padding-right: 20px;
+ border-radius: 5px;
+ max-width: 600px;
+
+}
+
+#about-page a:link {
+ color: #82cdfa;
+}
+
+#about-page a:visited {
+ color: #82cdfa;
+}
+
+#about-page h3 {
+ margin-top: 20px;
+ font-size: 10pt;
+ font-weight: bold;
+}
+
+#about-page p {
+ margin-bottom: 10px;
+}
diff --git a/css/sote.css b/css/sote.css
index f90e0b35b..5d334142e 100644
--- a/css/sote.css
+++ b/css/sote.css
@@ -204,4 +204,6 @@ div.horizontalContainer {width:100%; height:17%; display:block; float:left; pos
#transition ul li:hover {
border-color: yellow;
-}
\ No newline at end of file
+}
+
+
diff --git a/index.html b/index.html
index abbe1111d..7b0cd04f5 100644
--- a/index.html
+++ b/index.html
@@ -57,6 +57,7 @@
<!-- css.dev --> <link type="text/css" href="css/palette.css" rel="Stylesheet"/>
<!-- css.dev --> <link type="text/css" href="css/splash.css" rel="Stylesheet" />
<!-- css.dev --> <link type="text/css" href="css/products.css" rel="Stylesheet" />
+ <!-- css.dev --> <link type="text/css" href="css/about.css" rel="Stylesheet" />
<!-- JavaScript resources ============================================= -->
<!-- <script type="text/javascript" src="js/worldview-min.js?v=@BUILD_NONCE@&mobile"></script> -->
@@ -122,6 +123,7 @@
<!-- js.dev --> <script type="text/javascript" src="js/Date.js"></script>
<!-- js.dev --> <script type="text/javascript" src="js/Worldview.js"></script>
+ <!-- js.dev --> <script type="text/javascript" src="js/Worldview/About.js"></script>
<!-- js.dev --> <script type="text/javascript" src="js/Worldview/Support.js"></script>
<!-- js.dev --> <script type="text/javascript" src="js/Worldview/Scheduler.js"></script>
<!-- js.dev --> <script type="text/javascript" src="js/Worldview/Permalink.js"></script>
@@ -157,7 +159,7 @@
<div data-role="content">
<div id="banner"><img class='logo' src='images/logo.png' />
<ul id="toolbarlist">
- <li><!--<a id='aboutus_link' class='toolbaricon' title='Information' href='javascript:showOverlay();'>--><div id='info_drop'><div id='info' title='Information'><img src='images/information.png' /></div><div class='hidden'><a href="mailto:[email protected]?subject=Feedback for EOSDIS Worldview tool" target="_blank" title='Feedback'>Feedback</a><a href='javascript:Worldview.Tour.start(true);' title='Start Tour'>Start Tour</a><a href='javascript:showOverlay();' title='About Worldview'>About</a></div></div><!--</a>--></li>
+ <li><!--<a id='aboutus_link' class='toolbaricon' title='Information' href='javascript:showOverlay();'>--><div id='info_drop'><div id='info' title='Information'><img src='images/information.png' /></div><div class='hidden'><a href="mailto:[email protected]?subject=Feedback for EOSDIS Worldview tool" target="_blank" title='Feedback'>Feedback</a><a href='javascript:Worldview.Tour.start(true);' title='Start Tour'>Start Tour</a><a href='javascript:Worldview.About.show();' title='About Worldview'>About</a></div></div><!--</a>--></li>
<!--<li><a id='camera_link' class='toolbaricon' href='javascript:showRubberBand();'><img src='images/camera.png' /></a></li>-->
<li><div id='camera'></div></li>
<li><div id="switch"></div></li>
diff --git a/js/Worldview.js b/js/Worldview.js
index d585905ca..14137bb10 100644
--- a/js/Worldview.js
+++ b/js/Worldview.js
@@ -126,9 +126,7 @@
* title - Title for the dialog box (optional). If not specified, the
* title will be "Notice".
*/
- ns.notify = function(message, title) {
- Logging.getLogger().info(message);
-
+ ns.notify = function(message, title) {
if ( window.YAHOO && window.YAHOO.widget &&
window.YAHOO.widget.Panel ) {
o = new YAHOO.widget.Panel("WVerror", {
diff --git a/js/Worldview/About.js b/js/Worldview/About.js
new file mode 100644
index 000000000..bc1b1e501
--- /dev/null
+++ b/js/Worldview/About.js
@@ -0,0 +1,48 @@
+/*
+ * NASA Worldview
+ *
+ * This code was originally developed at NASA/Goddard Space Flight Center for
+ * the Earth Science Data and Information System (ESDIS) project.
+ *
+ * Copyright (C) 2013 United States Government as represented by the
+ * Administrator of the National Aeronautics and Space Administration.
+ * All Rights Reserved.
+ */
+
+/**
+ * Namespace: Worldview.Palette
+ * Visualization of science data.
+ */
+Worldview.namespace("About");
+
+$(function() {
+
+ var ns = Worldview.About;
+ var overlay;
+
+ ns.show = function() {
+ html = [
+ "<div class='about about-title'>" + Worldview.NAME + "</div>",
+ "<div class='about about-version'>Version " + Worldview.VERSION + "</div>",
+ "<div class='about about-build'>" + Worldview.BUILD_TIMESTAMP + "</div>",
+ "<br/>",
+ "<div class='about'>",
+ "<a href='about.html' target='_blank'>Welcome to Worldview</a>",
+ "</div>",
+ "<div class='about'>",
+ "<a href='about.html#imagery-use' target='_blank'>Imagery Use</a>",
+ "</div>",
+ "<div class='about'>",
+ "<a href='about.html#acknowledgements' target='_blank'>Acknowledgements</a>",
+ "</div>",
+ "<div class='about'>",
+ "<a href='about.html#disclaimer' target='_blank'>Disclaimer</a>",
+ "</div>",
+ "<div class='about'>",
+ "<a href='release_notes.txt' target='_blank'>Release Notes</a>",
+ "</div>",
+ ].join("\n");
+ Worldview.notify(html, "&nbsp;");
+ }
+});
+
diff --git a/js/sote.js b/js/sote.js
index 31013ad8e..e6cc47416 100644
--- a/js/sote.js
+++ b/js/sote.js
@@ -53,37 +53,6 @@ function closeSelector(e){
//console.log("newX = " + 0);
}*/
-function showOverlay(){
- if(this.overlay === undefined){
- this.overlay = new YAHOO.widget.Panel("panel1", { zIndex:1020, visible:false } );
- var item = "<div >"+
- "<h3>Welcome to Worldview</h3>"+
- "<p>This new tool from NASA's <a href='http://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a> provides the capability to interactively browse full-resolution, global, near real-time satellite imagery from 50+ data products from <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a>. In essence, this shows the entire Earth as it looks \"right now\" - or at least as it has looked within the past few hours. This supports time-critical application areas such as wildfire management, air quality measurements, and weather forecasting. The data is generally available within three hours of observation and can be compared to observations since May 2012 - just click or drag the blue time sliders at the bottom of the screen to change the currently-displayed date. Arctic and Antarctic projections of several products are also available for a \"full globe\" perspective. Browsing on tablet devices is currently supported (iPad 2+ recommended) for mobile access. Please note, however, that this is an alpha (preview) release and many features are still under development.</p>"+
- "<br /><p>Worldview uses the newly-developed <a href='http://earthdata.nasa.gov/gibs' target='_blank'>Global Image Browse Services (GIBS)</a> to rapidly retrieve its full-resolution imagery to provide an interactive browsing experience. While Worldview uses <a href='http://openlayers.org/' target='_blank'>OpenLayers</a> as its mapping library, GIBS also supports Google Earth, NASA World Wind, and several other clients. We encourage interested developers to build their own clients or integrate NASA imagery into their existing ones using these services.</p>"+
- "<br /><h3>Imagery Use</h3>"+
- "<p>NASA supports an <a href='http://science.nasa.gov/earth-science/earth-science-data/data-information-policy/' target='_blank'>open data policy</a> and we encourage publication of imagery from Worldview; when doing so, please cite it as \"NASA Worldview\" and also consider including a permalink (such as <a href='http://earthdata.nasa.gov/labs/worldview/?map=-126.87670898439,36.417480468755,-117.44604492189,42.771972656255&products=baselayers.MODIS_Aqua_CorrectedReflectance_TrueColor~overlays.sedac_bound&time=2012-08-23T12:00:00&switch=geographic' target='_blank'>this one</a>) to allow others to explore the imagery.</p>"+
- "<br /><h3>Acknowledgements</h3>"+
- "<p>Near-real time data is courtesy of LANCE data providers: <a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a>, <a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a>, <a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a>, <a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a>, and <a href='http://earthdata.nasa.gov/data/near-real-time-data/firms' target='_blank'>FIRMS</a>. Socioeconomic data supplied by <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>. User-selectable color palettes are primarily derived from <a href='http://neo.sci.gsfc.nasa.gov/' target='_blank'>NEO</a>. The imagery ingest and serving system (GIBS) is built by NASA/JPL and operated by NASA/GSFC. Worldview is built by the NASA/GSFC Earth Science Data Information System (<a href='http://earthdata.nasa.gov/esdis' target='_blank'>ESDIS</a>) Project and is grateful for the use of many <a href='worldview-opensourcelibs.txt' target='_blank'>open source projects</a>.</p>"+
- "<br /><h3>Disclaimer</h3>"+
- "<p>The LANCE, GIBS, and FIRMS systems are operated by the NASA/GSFC ESDIS Project. The information presented through these interfaces are provided “as is” and users bear all responsibility and liability for their use of data, and for any loss of business or profits, or for any indirect, incidental or consequential damages arising out of any use of, or inability to use, the data, even if NASA or ESDIS were previously advised of the possibility of such damages, or for any other claim by you or any other person. Please read the full disclaimer <a href='http://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>here</a>.</p>"+
- "<br /><p>"+
- "Version: " + Worldview.VERSION + " - " + Worldview.BUILD_TIMESTAMP + " (<a href='release_notes.txt' target='_blank'>release notes</a>)<br />"+
- "Front-End Lead/Architect: <a href='mailto:[email protected]'>Tilak Joshi</a><br />"+
- "Responsible NASA Official: <a href='mailto:[email protected]'>Ryan Boller</a><br />"+
- "</p>"+
- "</div>";
-
- this.overlay.setBody(item);
- this.overlay.render(document.body);
- }
-
- this.overlay.show();
- this.overlay.center();
- var overlay_id = this.overlay.id;
- this.overlay.beforeHideEvent.subscribe(function(e){$("#"+overlay_id).css("display","none");});
- this.overlay.beforeShowEvent.subscribe(function(e){$("#"+overlay_id).css("display","block");})
-}
-
function showRubberBand(){
rb.draw("map");