Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arctic image snapshot fix #395

Merged
merged 6 commits into from
Jul 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions web/css/wv.layers.modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
.layer-modal p, .layer-modal div,
.layer-modal h1, .layer-modal h2,
.layer-modal h3, .layer-modal h4 {
font-family: open_sans_light;
font-family: open_sans_light, Arial, sans-serif;
font-weight:300;
color:#383838;
}
Expand Down Expand Up @@ -82,7 +82,7 @@
height: 40px;
line-height:40px;
font-size: 28px;
font-family: open_sans_light;
font-family: open_sans_light, Arial, sans-serif;
padding:0 10px;
position:absolute;
left:35px;
Expand Down Expand Up @@ -251,7 +251,7 @@
#category-breadcrumb{
height:30px;
line-height:30px;
font-family: open_sans_light;
font-family: open_sans_light, Arial, sans-serif;
font-size:16px;
color:#000;
/*font-style:italic;*/
Expand Down Expand Up @@ -378,7 +378,7 @@
-o-box-sizing: border-box;
padding: 0.5em 0.5em;
width:150px;
font-family: open_sans_light;
font-family: open_sans_light, Arial, sans-serif;
font-size:13px;
text-align:left;
font-weight:300;
Expand Down Expand Up @@ -452,7 +452,7 @@
#selected-category .ui-tabs-panel p,
#selected-category .ui-tabs-panel span {
font-size: 11px;
font-family: open_sans_light;
font-family: open_sans_regular, Arial, sans-serif;
font-weight: 300;
color: #bbb;
}
Expand All @@ -466,14 +466,16 @@
#selected-category .ui-tabs-panel .source-metadata a,
.layer-metadata p,
.layer-metadata a {
font-family: open_sans_light;
font-family: open_sans_regular, Arial, sans-serif;
font-size: 13px;
line-height:14px;
margin-bottom: 15px;
}
#layers-all .source-metadata p,
#layers-all .source-metadata p {
color: #bbb;
}
.layer-metadata p {
color: #bbb;
color: #ccc;
}
#selected-category .ui-tabs-panel .source-metadata.overflow{
height:100px;
Expand Down
9 changes: 7 additions & 2 deletions web/css/wv.main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@
*/
@font-face {
font-family: open_sans_light;
src: local(open_sans_light), url('../font/OpenSans-Light.ttf') format('opentype');
src: local(open_sans_light), url('../font/OpenSans-Light.ttf') format('truetype');
font-weight:300;
}
@font-face {
font-family: open_sans_regular;
src: local(open_sans_regulat), url('../font/OpenSans-Regular.ttf') format('truetype');
font-weight:400;
}
html,body, div, ul, li, p, h1, h2, h3, h4, h5, h6 {
display:block;
margin:0;
Expand Down Expand Up @@ -197,7 +202,7 @@ div.horizontalContainer {
}

.ui-widget-content {
background: rgba(40, 40, 40, 0.85);
background: rgb(40, 40, 40);
border:0;
border-radius:0;
}
Expand Down
42 changes: 23 additions & 19 deletions web/js/proj/wv.proj.change.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ wv.proj = wv.proj || {};
*/
wv.proj.change = wv.proj.change || function(models) {

var PROJECTION_CHANGE_DATE = new Date(Date.UTC(2013, 05, 06));
var EARLIEST_CHANGE_DATE = new Date(Date.UTC(2011, 10, 01));
var PROJECTION_CHANGE_DATE = new Date(Date.UTC(2013, 5, 6));
var EARLIEST_CHANGE_DATE = new Date(Date.UTC(2012, 11, 31));
var DO_NOT_SHOW_AGAIN = "arcticProjectionChangeNotification";
var notified = false;
var polarVisited = 0;
Expand Down Expand Up @@ -90,28 +90,32 @@ wv.proj.change = wv.proj.change || function(models) {
var notify = function() {
notified = true;
var message = [
"On " + wv.util.toISOStringDate(PROJECTION_CHANGE_DATE) +
" the polar projections for some layers changed as follows:" ,
"From 2013-01-01 to 2013-06-05, imagery in the polar projections",
" are different than the other dates as follows:",
"<br/><br/>",
"The <b>Arctic projection</b> changed from Arctic Polar ",
"Stereographic (EPSG:3995, \"Greenwich down\") to NSIDC Polar ",
"Stereographic North (EPSG:3413, \"Greenland down\"). ",
"Coastlines and Graticule in the older projection ",
"can be found in the Add Layer tab by searching for \"EPSG:3995\". ",
"The <b>Arctic projection</b> is in Arctic Polar ",
"Stereographic (EPSG:3995, \"Greenwich down\") rather than NSIDC ",
" Polar Stereographic North (EPSG:3413, \"Greenland down\"). ",
"Coastlines and Graticule for this time range ",
"can be found in the Add Layer tab by searching for ",
" \"EPSG:3995\". Note that the image snapshot tool will not work ",
"for Arctic imagery during this time range.",
"<br/><br/>" +

"The <b>Antarctic projection</b> changed from being projected onto ",
"a sphere with radius of 6371007.181 meters to being projected ",
"onto the WGS84 ellipsoid. The projection is now the correct ",
"Antarctic Polar Stereographic (EPSG:3031). This change results ",
"in a shift of the imagery that ranges up to tens of kilometers, ",
"depending on the location.",
"The <b>Antarctic projection</b> is a sphere with radius of ",
"6371007.181 meters during these dates rather than being ",
"projected onto the WGS84 ",
" ellipsoid. For all other dates, the projection is now the ",
"correct Antarctic Polar Stereographic (EPSG:3031). This change ",
"results in a shift of the imagery that ranges up to tens of ",
"kilometers, depending on the location.",
"<br/><br/>",

"Imagery before this transition date will eventually be ",
"reprocessed to be consistent with the imagery after it. In ",
"addition, the \"Population Density\" layer can no longer be ",
"displayed properly in the older projection.",
"Imagery during this time range will be reprocessed during winter ",
"2017-18 to be made consistent with all other imagery. In the ",
"meantime, imagery will continue to be back-processed to the ",
"start of the Terra and Aqua missions in 2000 and 2002, ",
"respectively.",
"<br/><br/>",

"Thanks for your patience as we improve and expand our ",
Expand Down