Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Custom branding

Mike McGanncc413f99cb33
diff --git a/.gitignore b/.gitignore
index 8a3da1f44..26ceb5b01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,9 @@ tools
*~
*.swp
conf/web/brand
+etc/brand.*
+!etc/brand.example
+!etc/brand.worldview
options.json
+src/pages/about.html
+src/images/wv-logo.svg
diff --git a/Gruntfile.js b/Gruntfile.js
index a7ce1eedd..d4ff14ac1 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -21,6 +21,8 @@ var buildNonce = moment.utc().format("YYYYMMDDHHmmssSSS");
var buildNumber = ( process.env.BUILD_NUMBER )
? "." + process.env.BUILD_NUMBER : "";
+var files = {};
+
module.exports = function(grunt) {
// Lists of JavaScript and CSS files to include and in the correct
@@ -28,6 +30,8 @@ module.exports = function(grunt) {
var wvJs = grunt.file.readJSON("etc/deploy/wv.js.json");
var wvCss = grunt.file.readJSON("etc/deploy/wv.css.json");
+ var brand = grunt.option("name") || "example";
+
// Copyright notice to place at the top of the minified JavaScript and
// CSS files
var banner = grunt.file.read("etc/deploy/banner.txt");
@@ -36,12 +40,12 @@ module.exports = function(grunt) {
var opt = {};
if ( fs.existsSync("options.json") ) {
- opt = grunt.file.readJSON("etc/brand/options.json");
+ opt = grunt.file.readJSON("options.json");
var bitly = fs.existsSync("conf/bitly_config.py");
- var eosdis = fs.existsSync("conf/web/eosdis");
+ var brandConfig = fs.existsSync("conf/web/brand");
var gibsOps = !process.env.GIBS_HOST;
- var official = bitly && eosdis && gibsOps &&
+ var official = bitly && brandConfig && gibsOps &&
opt.email === "[email protected]";
console.log();
@@ -49,12 +53,13 @@ module.exports = function(grunt) {
console.log("[" + opt.packageName + "] " + opt.officialName +
", Version " + opt.version + "-" + opt.release);
console.log("");
- console.log("Long name : " + opt.officialName);
- console.log("Short name : " + opt.shortName);
- console.log("GIBS public servers: " + gibsOps);
- console.log("bit.ly support : " + bitly);
- console.log("EOSDIS options : " + eosdis);
- console.log("Support email : " + opt.email);
+ console.log("Branding : " + brand);
+ console.log("Long name : " + opt.officialName);
+ console.log("Short name : " + opt.shortName);
+ console.log("Public GIBS : " + gibsOps);
+ console.log("bit.ly support : " + bitly);
+ console.log("Branding config : " + brandConfig);
+ console.log("Support email : " + opt.email);
if ( !official ) {
console.error();
@@ -65,6 +70,8 @@ module.exports = function(grunt) {
}
grunt.initConfig({
+ pkg: opt.packageName,
+
"git-rev-parse": {
build: {
options: {
@@ -77,7 +84,7 @@ module.exports = function(grunt) {
copy: {
brand: {
files: [
- { expand: true, cwd: "etc/brand",
+ { expand: true, cwd: "etc/brand." + brand,
src: ["**"], dest: "." }
]
},
@@ -87,22 +94,11 @@ module.exports = function(grunt) {
files: [
{ expand: true, cwd: "src",
src: ["**", "**/.htaccess"],
- dest: "build/worldview-debug/web" },
+ dest: "build/<%= pkg %>-debug/web" },
{ expand: true, cwd: "bin",
- src: "**", dest: "build/worldview-debug/bin" },
+ src: "**", dest: "build/<%= pkg %>-debug/bin" },
{ expand: true, cwd: "conf",
- src: "**", dest: "build/worldview-debug/conf" }
- ]
- },
-
- // Copies the concatenated JavaScript and CSS files to the
- // final location in the release web root being built.
- concat: {
- files: [
- { expand: false, src: "build/worldview.js",
- dest: "build/worldview-debug/web" },
- { expand: false, src: "build/worldview.css",
- dest: "build/worldview-debug/web" }
+ src: "**", dest: "build/<%= pkg %>-debug/conf" }
]
},
@@ -113,16 +109,16 @@ module.exports = function(grunt) {
// over too
release: {
files: [
- { expand: true, cwd: "build/worldview-debug",
+ { expand: true, cwd: "build/<%=pkg%>-debug",
src: ["**", "**/.htaccess"],
- dest: "build/worldview" },
- { expand: true, cwd: "build/worldview-debug/web",
+ dest: "build/<%=pkg%>" },
+ { expand: true, cwd: "build/<%=pkg%>-debug/web",
src: [
"css/pages.css",
"css/bulkDownload.css",
"js/map/wv.map.tileworker.js"
],
- dest: "build/worldview/web" }
+ dest: "build/<%=pkg%>/web" }
]
},
@@ -135,7 +131,7 @@ module.exports = function(grunt) {
{ expand: true, cwd: "etc/deploy",
src: ["worldview.spec"], dest: "build/rpmbuild/SPECS" },
{ expand: true, cwd: "dist",
- src: ["worldview.tar.bz2", "worldview-debug.tar.bz2"],
+ src: ["<%=pkg%>.tar.bz2", "<%=pkg%>-debug.tar.bz2"],
dest: "build/rpmbuild/SOURCES" }
]
},
@@ -147,6 +143,21 @@ module.exports = function(grunt) {
{ expand: true, flatten: true, cwd: "build/rpmbuild",
src: ["**/*.rpm"], dest: "dist" }
]
+ },
+
+ apache: {
+ files: [
+ { expand: true, flatten: true, cwd: "etc/dev",
+ src: ["worldview-dev.conf"], dest: "build" }
+ ]
+ },
+
+ },
+
+ rename: {
+ apache: {
+ src: "build/worldview-dev.conf",
+ dest: "dist/<%=pkg%>-dev.conf"
}
},
@@ -168,70 +179,71 @@ module.exports = function(grunt) {
// Enable executable bits for all CGI programs
cgi_echo: {
- command: "chmod 755 build/worldview*/web/service/echo.cgi"
+ command: "chmod 755 build/<%=pkg%>*/web/service/echo.cgi"
},
cgi_shorten: {
- command: "chmod 755 build/worldview*/web/service/link/shorten.cgi"
+ command: "chmod 755 build/<%=pkg%>*/web/service/link/shorten.cgi"
},
// Create a tarball of the debug build with a version number and
// git revision.
tar_debug_versioned: {
- command: "tar cjCf build dist/" +
- "<%= pkg.name %>" +
+ command: "tar cjCf build dist/<%=pkg%>" +
"-debug" +
- "-<%= pkg.version %>" +
- "-<%= pkg.release %>" +
+ "-" + opt.version +
+ "-" + opt.release +
buildNumber +
".git<%= grunt.config.get('git-revision') %>" +
- ".tar.bz2 worldview-debug"
+ ".tar.bz2 " +
+ "<%=pkg%>-debug"
},
// Create a tarball of the debug build without versioning
// information
tar_debug: {
- command: "tar cjCf build dist/worldview-debug.tar.bz2 " +
- "worldview-debug"
+ command: "tar cjCf build dist/" +
+ "<%=pkg%>-debug.tar.bz2 " +
+ "<%=pkg%>-debug"
},
// Create a tarball of the release build with a version number and
// git revision
tar_release_versioned: {
- command: "tar cjCf build dist/" +
- "<%= pkg.name %>" +
- "-<%= pkg.version %>" +
- "-<%= pkg.release %>" +
+ command: "tar cjCf build dist/<%=pkg%>" +
+ "-" + opt.version +
+ "-" + opt.release +
buildNumber +
".git<%= grunt.config.get('git-revision') %>" +
- ".tar.bz2 worldview"
+ ".tar.bz2 " +
+ "<%=pkg%>"
},
// Create a tarball of the release build without versioning
// information
tar_release: {
- command: "tar cjCf build dist/worldview.tar.bz2 " +
- "worldview"
+ command: "tar cjCf build dist/" +
+ "<%=pkg%>.tar.bz2 " +
+ "<%=pkg%>"
},
// Create a tarball of the documentation with a version number and
// git revision
tar_doc_versioned: {
- command: "tar cjCf build dist/" +
- "<%= pkg.name %>" +
- "-doc" +
- "-<%= pkg.version %>" +
- "-<%= pkg.release %>" +
+ command: "tar cjCf build dist/<%=pkg%>-doc" +
+ "-" + opt.version +
+ "-" + opt.release +
buildNumber +
".git<%= grunt.config.get('git-revision') %>" +
- ".tar.bz2 worldview-doc"
+ ".tar.bz2 <%=pkg%>-doc"
},
// Create a tarball of the documentation without versioning
// information
tar_doc: {
- command: "tar cjCf build dist/worldview-doc.tar.bz2 " +
- "worldview-doc"
+ command: "tar cjCf build dist/" +
+ "<%=pkg%>-doc.tar.bz2 " +
+ "<%=pkg%>-doc"
},
// Builds the RPM
@@ -246,32 +258,29 @@ module.exports = function(grunt) {
// Official name of the application
tokens: {
src: [
- "build/worldview-debug/web/*.html",
- "build/worldview-debug/web/js/**/*.js",
- "build/worldview-debug/web/pages/**/*.html"
+ "build/<%=pkg%>-debug/web/*.html",
+ "build/<%=pkg%>-debug/web/js/**/*.js",
+ "build/<%=pkg%>-debug/web/pages/**/*.html"
],
overwrite: true,
replacements: [{
from: "@OFFICIAL_NAME@",
- to: options.officialName
+ to: opt.officialName
}, {
from: "@LONG_NAME@",
- to: options.longName
+ to: opt.longName
},{
from: "@NAME@",
- to: options.shortName
+ to: opt.shortName
},{
from: "@EMAIL@",
- to: options.email
- },{
- from: "@WEBMASTERS@",
- to: options.webmasters
+ to: opt.email
},{
from: "@BUILD_TIMESTAMP@",
to: buildTimestamp
},{
from: "@BUILD_VERSION@",
- to: "<%= pkg.version %>"
+ to: opt.version
},{
from: "@BUILD_NONCE@",
to: buildNonce
@@ -282,8 +291,8 @@ module.exports = function(grunt) {
// all the release links <1-- link.prod -->
links: {
src: [
- "build/worldview-debug/web/index.html",
- "build/worldview-debug/web/pages/*.html",
+ "build/<%=pkg%>-debug/web/index.html",
+ "build/<%=pkg%>-debug/web/pages/*.html",
],
overwrite: true,
replacements: [{
@@ -306,17 +315,31 @@ module.exports = function(grunt) {
overwrite: true,
replacements: [{
from: "@WORLDVIEW@",
- to: "<%= pkg.name %>"
+ to: opt.packageName
}, {
from: "@BUILD_VERSION@",
- to: "<%= pkg.version %>"
+ to: opt.version
},{
from: "@BUILD_RELEASE@",
- to: "<%= pkg.release %>"
+ to: opt.release
},{
from: "@GIT_REVISION@",
to: ".git<%= grunt.config.get('git-revision') %>"
}]
+ },
+
+ apache: {
+ src: [
+ "build/worldview-dev.conf"
+ ],
+ overwrite: true,
+ replacements: [{
+ from: "@WORLDVIEW@",
+ to: opt.packageName
+ },{
+ from: "@ROOT@",
+ to: process.cwd()
+ }]
}
},
@@ -324,12 +347,12 @@ module.exports = function(grunt) {
// Combine all the Worldview JavaScript files into one file.
wv_js: {
src: wvJs,
- dest: "build/worldview-debug/web/js/wv.js"
+ dest: "build/<%=pkg%>-debug/web/js/wv.js"
},
// Combine all the Worldview CSS files into one file.
wv_css: {
src: wvCss,
- dest: "build/worldview-debug/web/css/wv.css"
+ dest: "build/<%=pkg%>-debug/web/css/wv.css"
}
},
@@ -340,8 +363,8 @@ module.exports = function(grunt) {
banner: banner
},
files: {
- "build/worldview/web/js/wv.js": [
- "build/worldview-debug/web/js/wv.js"
+ "build/<%=pkg%>/web/js/wv.js": [
+ "build/<%=pkg%>-debug/web/js/wv.js"
]
}
}
@@ -355,8 +378,8 @@ module.exports = function(grunt) {
keepSpecialComments: false
},
files: {
- "build/worldview/web/css/wv.css": [
- "build/worldview-debug/web/css/wv.css"
+ "build/<%=pkg%>/web/css/wv.css": [
+ "build/<%=pkg%>-debug/web/css/wv.css"
]
}
}
@@ -365,10 +388,10 @@ module.exports = function(grunt) {
minjson: {
main: {
files: {
- "build/worldview/web/conf/wv.json":
- "build/worldview/web/conf/wv.json",
- "build/worldview/web/conf/palettes.json":
- "build/worldview/web/conf/palettes.json"
+ "build/<%=pkg%>/web/conf/wv.json":
+ "build/<%=pkg%>/web/conf/wv.json",
+ "build/<%=pkg%>/web/conf/palettes.json":
+ "build/<%=pkg%>/web/conf/palettes.json"
}
}
},
@@ -378,21 +401,21 @@ module.exports = function(grunt) {
// are a lot of blank lines in index.html. Remove them
release: {
files: {
- "build/worldview/web/index.html":
- "build/worldview/web/index.html"
+ "build/<%=pkg%>/web/index.html":
+ "build/<%=pkg%>/web/index.html"
}
}
},
yuidoc: {
main: {
- name: "Worldview",
- description: "Interactive satellite imagery browser",
- version: "<%= pkg.version %>",
- url: "https://earthdata.nasa.gov/worldview",
+ name: opt.officialName,
+ description: opt.description,
+ version: opt.version,
+ url: opt.url,
options: {
paths: ["src/js"],
- outdir: "build/worldview-doc"
+ outdir: "build/<%=pkg%>-doc"
}
}
},
@@ -440,13 +463,13 @@ module.exports = function(grunt) {
// in a release build. Place exceptions for JavaScript and
// CSS here.
source: [
- "build/worldview-debug/web/css/**/*.css",
- "build/worldview-debug/web/**/*.js",
- "!build/worldview-debug/web/css/wv.css",
- "!build/worldview-debug/web/js/wv.js",
- "!build/worldview-debug/web/css/bulkDownload.css",
- "!build/worldview-debug/web/js/map/wv.map.tileworker.js",
- "!build/worldview-debug/web/ext/**/*"
+ "build/<%=pkg%>-debug/web/css/**/*.css",
+ "build/<%=pkg%>-debug/web/**/*.js",
+ "!build/<%=pkg%>-debug/web/css/wv.css",
+ "!build/<%=pkg%>-debug/web/js/wv.js",
+ "!build/<%=pkg%>-debug/web/css/bulkDownload.css",
+ "!build/<%=pkg%>-debug/web/js/map/wv.map.tileworker.js",
+ "!build/<%=pkg%>-debug/web/ext/**/*"
],
conf_src: [
"src/conf/**/*"
@@ -476,6 +499,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-git-rev-parse");
grunt.loadNpmTasks("grunt-minjson");
grunt.loadNpmTasks("grunt-text-replace");
+ grunt.loadNpmTasks("grunt-rename");
grunt.renameTask("clean", "remove");
grunt.task.run("git-rev-parse");
@@ -521,6 +545,13 @@ module.exports = function(grunt) {
"copy:rpm"
]);
+ grunt.registerTask("apache-config" , [
+ "copy:apache",
+ "replace:apache",
+ "rename:apache"
+ ]);
+
+ grunt.registerTask("brand", ["copy:brand"]);
grunt.registerTask("doc", ["yuidoc"]);
grunt.registerTask("lint", ["jshint:console"]);
grunt.registerTask("test", ["buster:console"]);
diff --git a/etc/brand.example/src/images/wv-logo.svg b/etc/brand.example/src/images/wv-logo.svg
new file mode 100644
index 000000000..b3096fab9
--- /dev/null
+++ b/etc/brand.example/src/images/wv-logo.svg
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="1"
+ height="1"
+ id="svg2">
+ <defs
+ id="defs4" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ transform="translate(0,-1051.3622)"
+ id="layer1" />
+</svg>
diff --git a/etc/brand.example/src/pages/about.html b/etc/brand.example/src/pages/about.html
new file mode 100644
index 000000000..0bc8f6d3e
--- /dev/null
+++ b/etc/brand.example/src/pages/about.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+<head>
+ <title>@OFFICIAL_NAME@ - About</title>
+ <link type="text/css" href="css/wv.document.css?v=@BUILD_NONCE@" rel="Stylesheet" />
+ <link type="text/css" href="css/wv.standalone.css?v=@BUILD_NONCE@" rel="Stylesheet" />
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+</head>
+
+<body>
+ <div id="page" class="wv-document">
+ <h1>@NAME@</h1>
+ <div>@BUILD_VERSION@ - @BUILD_TIMESTAMP@</div>
+ <div>
+ Based upon code developed by NASA EOSDIS for the Worldview
+ project.
+ </div>
+ </div>
+</body>
diff --git a/src/images/wv-logo.svg b/etc/brand.worldview/src/images/wv-logo.svg
similarity index 100%
rename from src/images/wv-logo.svg
rename to etc/brand.worldview/src/images/wv-logo.svg
diff --git a/etc/brand.worldview/src/pages/about.html b/etc/brand.worldview/src/pages/about.html
new file mode 100644
index 000000000..3a2f161a4
--- /dev/null
+++ b/etc/brand.worldview/src/pages/about.html
@@ -0,0 +1,149 @@
+<!doctype html>
+<html>
+<head>
+ <title>@OFFICIAL_NAME@ - About</title>
+ <link type="text/css" href="css/wv.document.css?v=@BUILD_NONCE@" rel="Stylesheet" />
+ <link type="text/css" href="css/wv.standalone.css?v=@BUILD_NONCE@" rel="Stylesheet" />
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+</head>
+
+<body>
+ <div id="page" class="wv-document">
+ <div class="right">
+ <div>Version @BUILD_VERSION@</div>
+ <div>Release Notes</div>
+ </div>
+ <h1 class="title">Welcome to @NAME@</h1>
+ <p>
+ This tool from NASA's
+ <a href='https://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a>
+ provides the capability to interactively browse global,
+ full-resolution satellite imagery and then download the underlying
+ data. Most of the 100+ available products are updated within three
+ hours of observation, essentially showing the entire Earth as it
+ looks "right now". This supports time-critical application areas
+ such as wildfire management, air quality measurements, and flood
+ monitoring. Arctic and Antarctic views of several products are
+ also available for a "full globe" perspective. Browsing on tablet
+ and smartphone devices is generally supported for mobile access to
+ the imagery.
+ </p>
+ <p>
+ <div class="right">
+ <a href='https://earthdata.nasa.gov/gibs' target='_blank' class="gibs-logo"></a>
+ <div class="gibs-caption">Powered by GIBS</div>
+ </div>
+ @NAME@ uses the
+ <a href='https://earthdata.nasa.gov/gibs' target='_blank'>Global Imagery Browse Services (GIBS)</a>
+ to rapidly retrieve its imagery for an interactive browsing experience.
+ While @NAME@ uses
+ <a href='http://openlayers.org/' target='_blank'>OpenLayers</a> as
+ its mapping library, GIBS imagery can also be accessed from
+ 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>
+
+ <hr/>
+
+ <h2><a id='imagery-use'>Imagery Use</a></h2>
+ <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 @NAME@; when
+ doing so, please cite it as "NASA @NAME@" and also consider
+ including a permalink (such as
+ <a href='https://earthdata.nasa.gov/labs/worldview/?map=-126.907471,36.373535,-117.415283,42.815918&products=baselayers,MODIS_Aqua_CorrectedReflectance_TrueColor~overlays,MODIS_Fires_All,sedac_bound&time=2012-08-23&switch=geographic' target='_blank'>this one</a>)
+ to allow others to explore the imagery.
+ </p>
+
+ <hr/>
+
+ <h2><a id='acknowledgements'>Acknowledgements</a></h2>
+ <p>
+ <ul>
+ <li>
+ Near-real time data is courtesy of <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a> data providers:
+ <ul>
+ <li><a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a></li>
+ <li><a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a></li>
+ <li><a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a></li>
+ <li><a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a></li>
+ <li><a href='http://earthdata.nasa.gov/data/near-real-time-data/firms' target='_blank'>FIRMS</a></li>
+ </ul>
+ </li>
+ <li>
+ Ocean color and temperature data provided by
+ <a href='http://oceancolor.gsfc.nasa.gov/' target='_blank'>OBPG</a>
+ and <a href='http://podaac.jpl.nasa.gov/' target='_blank'>PO.DAAC</a>
+ </li>
+ <li>
+ Socioeconomic data supplied by
+ <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>.
+ </li>
+ <li>
+ Freeze / Thaw products supplied by
+ <a href='http://nsidc.org' target='_blank'>NSIDC</a>.
+ </li>
+ <li>
+ Orbit tracks provided by
+ <a href='https://www.space-track.org' target='_blank'>space-track.org</a>.
+ </li>
+ <li>
+ Polar coastlines and graticules courtesy of
+ <a href='http://www.add.scar.org/' target='_blank'>ADD SCAR</a>,
+ <a href='http://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a>,
+ and <a href='http://www.polarview.aq/' target='_blank'>PolarView</a>.
+ </li>
+ <li>
+ User-selectable color palettes are primarily derived from
+ <a href='http://neo.sci.gsfc.nasa.gov/' target='_blank'>NEO</a>.
+ </li>
+ <li>
+ The imagery ingest and serving system (GIBS) is built by
+ NASA/JPL and operated by NASA/GSFC.
+ </li>
+ <li>
+ @NAME@ 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='pages/worldview-opensourcelibs.html' target='_blank'>open source projects</a>.
+ </li>
+ </ul>
+ </p>
+
+ <hr/>
+
+ <h2><a id='disclaimer'>Disclaimer</a></h2>
+ <p>
+ The information presented through this interface is provided
+ "as is" and users bear all responsibility and liability for their
+ use of the data. Please read the
+ <a href='https://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>full disclaimer</a>.
+ </p>
+
+ <hr/>
+
+ <h2><a id='license'>License</a></h2>
+ <p>
+ Copyright (C) 2013 - 2014 United States Government as represented
+ by the Administrator of the National Aeronautics and Space
+ Administration. All Rights Reserved.
+ </p>
+ <p>
+ This software is licensed under the
+ <a href='pages/license.html'>NASA Open Source Software Agreement, Version 1.3</a>
+ </p>
+ <hr/>
+
+ <p>
+ <div>
+ @BUILD_TIMESTAMP@
+ </div>
+ @WEBMASTERS@
+ </p>
+
+ </div>
+</body>
diff --git a/etc/dev/worldview-dev.conf b/etc/dev/worldview-dev.conf
new file mode 100644
index 000000000..b862afd32
--- /dev/null
+++ b/etc/dev/worldview-dev.conf
@@ -0,0 +1,11 @@
+Alias /@WORLDVIEW@ @ROOT@/src
+Alias /@WORLDVIEW@-release @ROOT@/build/@WORLDVIEW@/web
+Alias /@WORLDVIEW@-debug @ROOT@/build/@WORLDVIEW@-debug/web
+Alias /@WORLDVIEW@-doc @ROOT@/build/@WORLDVIEW@-doc
+
+<Directory @ROOT@>
+ Options Indexes FollowSymLinks ExecCGI
+ AllowOverride All
+ Order allow,deny
+ Allow from all
+</Directory>
diff --git a/package.json b/package.json
index 119bc3ba8..715a6168d 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"grunt-git-rev-parse": "0.1.x",
"grunt-line-remover": "0.0.x",
"grunt-minjson": "0.1.x",
+ "grunt-rename": "0.1.x",
"grunt-text-replace": "0.3.x",
"phantomjs": "1.9.x",
"jshint": "2.3.x",
diff --git a/src/pages/about.html b/src/pages/about.html
index 3a2f161a4..0bc8f6d3e 100644
--- a/src/pages/about.html
+++ b/src/pages/about.html
@@ -9,141 +9,11 @@
<body>
<div id="page" class="wv-document">
- <div class="right">
- <div>Version @BUILD_VERSION@</div>
- <div>Release Notes</div>
+ <h1>@NAME@</h1>
+ <div>@BUILD_VERSION@ - @BUILD_TIMESTAMP@</div>
+ <div>
+ Based upon code developed by NASA EOSDIS for the Worldview
+ project.
</div>
- <h1 class="title">Welcome to @NAME@</h1>
- <p>
- This tool from NASA's
- <a href='https://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a>
- provides the capability to interactively browse global,
- full-resolution satellite imagery and then download the underlying
- data. Most of the 100+ available products are updated within three
- hours of observation, essentially showing the entire Earth as it
- looks "right now". This supports time-critical application areas
- such as wildfire management, air quality measurements, and flood
- monitoring. Arctic and Antarctic views of several products are
- also available for a "full globe" perspective. Browsing on tablet
- and smartphone devices is generally supported for mobile access to
- the imagery.
- </p>
- <p>
- <div class="right">
- <a href='https://earthdata.nasa.gov/gibs' target='_blank' class="gibs-logo"></a>
- <div class="gibs-caption">Powered by GIBS</div>
- </div>
- @NAME@ uses the
- <a href='https://earthdata.nasa.gov/gibs' target='_blank'>Global Imagery Browse Services (GIBS)</a>
- to rapidly retrieve its imagery for an interactive browsing experience.
- While @NAME@ uses
- <a href='http://openlayers.org/' target='_blank'>OpenLayers</a> as
- its mapping library, GIBS imagery can also be accessed from
- 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>
-
- <hr/>
-
- <h2><a id='imagery-use'>Imagery Use</a></h2>
- <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 @NAME@; when
- doing so, please cite it as "NASA @NAME@" and also consider
- including a permalink (such as
- <a href='https://earthdata.nasa.gov/labs/worldview/?map=-126.907471,36.373535,-117.415283,42.815918&products=baselayers,MODIS_Aqua_CorrectedReflectance_TrueColor~overlays,MODIS_Fires_All,sedac_bound&time=2012-08-23&switch=geographic' target='_blank'>this one</a>)
- to allow others to explore the imagery.
- </p>
-
- <hr/>
-
- <h2><a id='acknowledgements'>Acknowledgements</a></h2>
- <p>
- <ul>
- <li>
- Near-real time data is courtesy of <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a> data providers:
- <ul>
- <li><a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a></li>
- <li><a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a></li>
- <li><a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a></li>
- <li><a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a></li>
- <li><a href='http://earthdata.nasa.gov/data/near-real-time-data/firms' target='_blank'>FIRMS</a></li>
- </ul>
- </li>
- <li>
- Ocean color and temperature data provided by
- <a href='http://oceancolor.gsfc.nasa.gov/' target='_blank'>OBPG</a>
- and <a href='http://podaac.jpl.nasa.gov/' target='_blank'>PO.DAAC</a>
- </li>
- <li>
- Socioeconomic data supplied by
- <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>.
- </li>
- <li>
- Freeze / Thaw products supplied by
- <a href='http://nsidc.org' target='_blank'>NSIDC</a>.
- </li>
- <li>
- Orbit tracks provided by
- <a href='https://www.space-track.org' target='_blank'>space-track.org</a>.
- </li>
- <li>
- Polar coastlines and graticules courtesy of
- <a href='http://www.add.scar.org/' target='_blank'>ADD SCAR</a>,
- <a href='http://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a>,
- and <a href='http://www.polarview.aq/' target='_blank'>PolarView</a>.
- </li>
- <li>
- User-selectable color palettes are primarily derived from
- <a href='http://neo.sci.gsfc.nasa.gov/' target='_blank'>NEO</a>.
- </li>
- <li>
- The imagery ingest and serving system (GIBS) is built by
- NASA/JPL and operated by NASA/GSFC.
- </li>
- <li>
- @NAME@ 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='pages/worldview-opensourcelibs.html' target='_blank'>open source projects</a>.
- </li>
- </ul>
- </p>
-
- <hr/>
-
- <h2><a id='disclaimer'>Disclaimer</a></h2>
- <p>
- The information presented through this interface is provided
- "as is" and users bear all responsibility and liability for their
- use of the data. Please read the
- <a href='https://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>full disclaimer</a>.
- </p>
-
- <hr/>
-
- <h2><a id='license'>License</a></h2>
- <p>
- Copyright (C) 2013 - 2014 United States Government as represented
- by the Administrator of the National Aeronautics and Space
- Administration. All Rights Reserved.
- </p>
- <p>
- This software is licensed under the
- <a href='pages/license.html'>NASA Open Source Software Agreement, Version 1.3</a>
- </p>
- <hr/>
-
- <p>
- <div>
- @BUILD_TIMESTAMP@
- </div>
- @WEBMASTERS@
- </p>
-
</div>
</body>