Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Updated polar coastline layers, tweaked zoom button colors

Ryan Bollerf25842605f55
diff --git a/js/mapSote.js b/js/mapSote.js
index 2bfe13331..907a2dcdb 100644
--- a/js/mapSote.js
+++ b/js/mapSote.js
@@ -139,7 +139,7 @@ SOTE.widget.MapSote.prototype.handleMapZoomEnd = function(evt)
}
else
{
- $('.olControlZoomInCustomItemInactive').css("background-color", "rgba(45,45,45,0.75)");
+ $('.olControlZoomInCustomItemInactive').css("background-color", "rgba(45,50,55,0.70)");
$('.olControlZoomInCustomItemInactive').css("color", "#FFFFFF");
}
@@ -151,7 +151,7 @@ SOTE.widget.MapSote.prototype.handleMapZoomEnd = function(evt)
}
else
{
- $('.olControlZoomOutCustomItemInactive').css("background-color", "rgba(45,45,45,0.75)");
+ $('.olControlZoomOutCustomItemInactive').css("background-color", "rgba(45,50,55,0.70)");
$('.olControlZoomOutCustomItemInactive').css("color", "#FFFFFF");
}
@@ -279,12 +279,29 @@ SOTE.widget.MapSote.prototype.addProductToMap = function(product, state)
SOTE.util.generateProductLayersForDateRange(product, "MODIS_Terra_Snow_Cover", "MODIS_Terra_Snow_Cover", "image/png", ["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_500m),
SOTE.util.generateProductLayersForDateRange(product, "MODIS_Aqua_Snow_Cover", "MODIS_Aqua_Snow_Cover", "image/png", ["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_500m),
SOTE.util.generateProductLayersForDateRange(product, "MODIS_Terra_Sea_Ice", "MODIS_Terra_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km),
- SOTE.util.generateProductLayersForDateRange(product, "MODIS_Aqua_Sea_Ice", "MODIS_Aqua_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km),
-
+ SOTE.util.generateProductLayersForDateRange(product, "MODIS_Aqua_Sea_Ice", "MODIS_Aqua_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km),
+
+ // Commented out until polar WMTSes are ready
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_CorrectedReflectance_TrueColor", "MODIS_Terra_CorrectedReflectance_TrueColor", "image/jpeg", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_250m, this.TILEMATRIXSET_ARCTIC_250m),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_CorrectedReflectance_TrueColor", "MODIS_Aqua_CorrectedReflectance_TrueColor", "image/jpeg", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_250m, this.TILEMATRIXSET_ARCTIC_250m),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_CorrectedReflectance_Bands367", "MODIS_Terra_CorrectedReflectance_Bands367", "image/jpeg", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_250m, this.TILEMATRIXSET_ARCTIC_250m),
+//
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Brightness_Temp_Band31_Day", "MODIS_Terra_Brightness_Temp_Band31_Day", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Brightness_Temp_Band31_Night", "MODIS_Terra_Brightness_Temp_Band31_Night", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Brightness_Temp_Band31_Day", "MODIS_Aqua_Brightness_Temp_Band31_Day", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Brightness_Temp_Band31_Night", "MODIS_Aqua_Brightness_Temp_Band31_Night", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_1km),
+//
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Snow_Cover", "MODIS_Terra_Snow_Cover", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_500m),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Snow_Cover", "MODIS_Aqua_Snow_Cover", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_500m),
+//
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Sea_Ice", "MODIS_Terra_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Sea_Ice", "MODIS_Aqua_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], [512,512], "EPSG:3995", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ARCTIC_1km),
+ // (product == "arctic_coastlines") ? [{displayName: "arctic_coastlines", wmsProductName: "arctic_coastlines", time:"", format: "image/png", urls:["http://map1a.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-arctic/wmts.cgi"], tileSize:[512,512], projection:"EPSG:3995", numZoomLevels:6, maxExtent:[-4194304,-4194304,4194304,4194304], maxResolution:8192.0, tileMatrixSet: this.TILEMATRIXSET_ARCTIC_250m, resolutions: RESOLUTIONS_ON_SCREEN_POLAR_ALL, serverResolutions: RESOLUTIONS_ON_SERVER_POLAR_250m, preferredOpacity: 1.0, bringToFront: true, transitionEffect:"none" }] : [],
+
+ (product == "arctic_coastlines") ? [{displayName: "arctic_coastlines", wmsProductName: "arctic_coastlines", time:"", format: "image/png", urls:["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], tileSize:[512,512], projection:"EPSG:3995", numZoomLevels:6, maxExtent:[-4194304,-4194304,4194304,4194304], maxResolution:8192.0, resolutions: this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, serverResolutions: this.RESOLUTIONS_ON_SERVER_POLAR_250m, preferredOpacity: 1.0, bringToFront: true, transitionEffect:"none" }] : [],
(product == "grump-v1-population-count_2000") ? [{displayName: "grump-v1-population-count_2000", wmsProductName: "grump-v1-population-count_2000", time:"", format: "image/png", urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"], projection:"EPSG:3995", preferredOpacity: 0.75, bringToFront: true }] : [],
(product == "polarview:graticuleN") ? [{displayName: "polarview:graticuleN", wmsProductName: "polarview:graticuleN", time:"", urls:["http://geos.polarview.aq/geoserver/wms?"], layers:"polarview:graticuleN", transparent:true, projection:"EPSG:3995", preferredOpacity: 0.75, bringToFront: true }] : [],
(product == "cartographic:national-boundaries") ? [{displayName: "cartographic:national-boundaries", wmsProductName: "cartographic:national-boundaries", time:"", urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"], layers:"cartographic:national-boundaries", transparent:true, projection:"EPSG:3995", preferredOpacity: 0.55, bringToFront: true }] : [],
- (product == "arctic_coastlines") ? [{displayName: "arctic_coastlines", wmsProductName: "arctic_coastlines", time:"", format: "image/png", urls:["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"], tileSize:[512,512], projection:"EPSG:3995", numZoomLevels:6, maxExtent:[-4194304,-4194304,4194304,4194304], maxResolution:8192.0, preferredOpacity: 1.0, bringToFront: true, transitionEffect:"none" }] : [],
//{displayName: "coastlines", wmsProductName: "coastlines", time:"", urls:[" http://nsidc.org/cgi-bin/atlas_north?"], layers:"coastlines", transparent:true, projection:"EPSG:32661", preferredOpacity: 0.85, bringToFront: true },
(product == "cartographic:00-global-labels") ? [{displayName: "cartographic:00-global-labels", wmsProductName: "cartographic:00-global-labels", time:"", urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"], layers:"cartographic:00-global-labels", transparent:true, projection:"EPSG:3995", preferredOpacity: 0.95, bringToFront: true }] : []
];
@@ -307,10 +324,30 @@ SOTE.widget.MapSote.prototype.addProductToMap = function(product, state)
SOTE.util.generateProductLayersForDateRange(product, "MODIS_Aqua_Sea_Ice", "MODIS_Aqua_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km),
SOTE.util.generateProductLayersForDateRange(product, "NSIDC_Sea_Ice_Concentration", "NSIDC_Sea_Ice_Concentration", "image/png", ["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km),
+ // Commented out until polar WMTSes are ready
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_CorrectedReflectance_TrueColor", "MODIS_Terra_CorrectedReflectance_TrueColor", "image/jpeg", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_250m, this.TILEMATRIXSET_ANTARCTIC_250m),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_CorrectedReflectance_TrueColor", "MODIS_Aqua_CorrectedReflectance_TrueColor", "image/jpeg", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_250m, this.TILEMATRIXSET_ANTARCTIC_250m),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_CorrectedReflectance_Bands367", "MODIS_Terra_CorrectedReflectance_Bands367", "image/jpeg", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_250m, this.TILEMATRIXSET_ANTARCTIC_250m),
+//
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Brightness_Temp_Band31_Day", "MODIS_Terra_Brightness_Temp_Band31_Day", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Brightness_Temp_Band31_Night", "MODIS_Terra_Brightness_Temp_Band31_Night", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Brightness_Temp_Band31_Day", "MODIS_Aqua_Brightness_Temp_Band31_Day", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Brightness_Temp_Band31_Night", "MODIS_Aqua_Brightness_Temp_Band31_Night", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_1km),
+//
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Snow_Cover", "MODIS_Terra_Snow_Cover", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_500m),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Snow_Cover", "MODIS_Aqua_Snow_Cover", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_500m),
+//
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Terra_Sea_Ice", "MODIS_Terra_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_1km),
+ // SOTE.util.generateProductLayersForDateRangeTMS(product, "MODIS_Aqua_Sea_Ice", "MODIS_Aqua_Sea_Ice", "image/png", ["http://map1a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map1c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km, this.TILEMATRIXSET_ANTARCTIC_1km),
+
+ // (product == "antarctic_coastlines") ? [{displayName: "antarctic_coastlines", wmsProductName: "antarctic_coastlines", time:"", format: "image/png", urls:["http://map2a.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map2b.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi", "http://map2c.vis.earthdata.nasa.gov/wmts-antarctic/wmts.cgi"], tileSize:[512,512], projection:"EPSG:3031", numZoomLevels:6, maxExtent:[-4194304,-4194304,4194304,4194304], maxResolution:8192.0, tileMatrixSet: this.TILEMATRIXSET_ANTARCTIC_250m, resolutions: RESOLUTIONS_ON_SCREEN_POLAR_ALL, serverResolutions: RESOLUTIONS_ON_SERVER_POLAR_250m, preferredOpacity: 1.0, bringToFront: true, transitionEffect:"none" }] : [],
+
+ // SOTE.util.generateProductLayersForDateRange(product, "NSIDC_Sea_Ice_Concentration", "NSIDC_Sea_Ice_Concentration", "image/png", ["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"], [512,512], "EPSG:3031", 6, [-4194304,-4194304,4194304,4194304], 8192.0, 1.0, this.NUM_DAYS_TO_GENERATE, this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, this.RESOLUTIONS_ON_SERVER_POLAR_1km),
+
+ (product == "antarctic_coastlines") ? [{displayName: "antarctic_coastlines", wmsProductName: "antarctic_coastlines", time:"", format: "image/png", urls:["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"], tileSize:[512,512], projection:"EPSG:3031", numZoomLevels:6, maxExtent:[-4194304,-4194304,4194304,4194304], maxResolution:8192.0, resolutions: this.RESOLUTIONS_ON_SCREEN_POLAR_ALL, serverResolutions: this.RESOLUTIONS_ON_SERVER_POLAR_250m, preferredOpacity: 1.0, bringToFront: true, transitionEffect:"none" }] : [],
(product == "grump-v1-population-count_2000") ? [{displayName: "grump-v1-population-count_2000", wmsProductName: "grump-v1-population-count_2000", time:"", format: "image/png", urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"], projection:"EPSG:3031", preferredOpacity: 0.75, bringToFront: true }] : [],
(product == "polarview:graticule3031_10x30") ? [{displayName: "polarview:graticule3031_10x30", wmsProductName: "polarview:graticule3031_10x30", time:"", urls:["http://geos.polarview.aq/geoserver/wms?"], layers:"polarview:graticule3031_10x30", transparent:true, projection:"EPSG:3031", preferredOpacity: 0.75, bringToFront: true }] : [],
(product == "cartographic:national-boundaries") ? [{displayName: "cartographic:national-boundaries", wmsProductName: "cartographic:national-boundaries", time:"", urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"], layers:"cartographic:national-boundaries", transparent:true, projection:"EPSG:3031", preferredOpacity: 0.55, bringToFront: true }] : [],
- (product == "antarctic_coastlines") ? [{displayName: "antarctic_coastlines", wmsProductName: "antarctic_coastlines", time:"", format: "image/png", urls:["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi", "http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"], tileSize:[512,512], projection:"EPSG:3031", numZoomLevels:6, maxExtent:[-4194304,-4194304,4194304,4194304], maxResolution:8192.0, preferredOpacity: 1.0, bringToFront: true, transitionEffect:"none" }] : [],
(product == "lat_long_grid") ? [{displayName: "lat_long_grid", wmsProductName: "lat_long_grid", time:"", urls:["http://nsidc.org/cgi-bin/atlas_south?"], layers:"lat_long_grid", transparent:true, projection:"EPSG:3031", preferredOpacity: 0.85, bringToFront: true }] : [],
(product == "coastlines") ? [{displayName: "coastlines", wmsProductName: "coastlines", time:"", urls:["http://nsidc.org/cgi-bin/atlas_south?"], layers:"coastlines", transparent:true, projection:"EPSG:3031", preferredOpacity: 0.95, bringToFront: true }] : []
];