Interactive interface for browsing global, full-resolution satellite imagery
Start of AIRS layers
Mike McGann122ba81f4c1c
diff --git a/conf/web/wv.main/layers/airs/AIRS_CO_Total_Column_Day.json b/conf/web/wv.main/layers/airs/AIRS_CO_Total_Column_Day.jsonnew file mode 100644index 000000000..44a84e6ff--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_CO_Total_Column_Day.json@@ -0,0 +1,17 @@+{+ "layers": {+ "AIRS_CO_Total_Column_Day": {+ "id": "AIRS_CO_Total_Column_Day",+ "title": "Carbon Monoxide (Total Column, Day)",+ "subtitle": "Aqua / AIRS",+ "tags": "co",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_COTotalColumn_A",+ "recommended": ["red_1"]+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_CO_Total_Column_Night.json b/conf/web/wv.main/layers/airs/AIRS_CO_Total_Column_Night.jsonnew file mode 100644index 000000000..ca3c05316--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_CO_Total_Column_Night.json@@ -0,0 +1,17 @@+{+ "layers": {+ "AIRS_CO_Total_Column_Night": {+ "id": "AIRS_CO_Total_Column_Night",+ "title": "Carbon Monoxide (Total Column, Night)",+ "subtitle": "Aqua / AIRS",+ "tags": "co",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_COTotalColumn_D",+ "recommended": ["red_1"]+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_Dust_Score.json b/conf/web/wv.main/layers/airs/AIRS_Dust_Score.jsonnew file mode 100644index 000000000..568df15f2--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_Dust_Score.json@@ -0,0 +1,17 @@+{+ "layers": {+ "AIRS_Dust_Score": {+ "id": "AIRS_Dust_Score",+ "title": "Dust Score",+ "subtitle": "Aqua / AIRS",+ "group": "overlays",+ "product": "AIRIBQAP",++ "palette": {+ "id": "AIRS_DustScore_A",+ "exclude": ["orange_1"]+ }+ }+ }++}\ No newline at end of filediff --git a/conf/web/wv.main/layers/airs/AIRS_Prata_SO2_Index_Day.json b/conf/web/wv.main/layers/airs/AIRS_Prata_SO2_Index_Day.jsonnew file mode 100644index 000000000..6e31e6d82--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_Prata_SO2_Index_Day.json@@ -0,0 +1,17 @@+{+ "layers": {+ "AIRS_Prata_SO2_Index_Day": {+ "id": "AIRS_Prata_SO2_Index_Day",+ "title": "Sulfur Dioxide (Day, Prata Algorithm)",+ "subtitle": "Aqua / AIRS",+ "tags": "so2",+ "group": "overlays",+ "product": "AIRIBRAD_DAY",++ "palette": {+ "id": "AIRS_Prata_SO2_A",+ "recommended": ["orange_1", "red_1"]+ }+ }+ }+}\ No newline at end of filediff --git a/conf/web/wv.main/layers/airs/AIRS_Prata_SO2_Index_Night.json b/conf/web/wv.main/layers/airs/AIRS_Prata_SO2_Index_Night.jsonnew file mode 100644index 000000000..3187ceb84--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_Prata_SO2_Index_Night.json@@ -0,0 +1,17 @@+{+ "layers": {+ "AIRS_Prata_SO2_Index_Night": {+ "id": "AIRS_Prata_SO2_Index_Night",+ "title": "Sulfur Dioxide (Night, Prata Algorithm)",+ "subtitle": "Aqua / AIRS",+ "tags": "so2",+ "group": "overlays",+ "product": "AIRIBRAD_NIGHT",++ "palette": {+ "id": "AIRS_Prata_SO2_D",+ "recommended": ["orange_1", "red_1"]+ }+ }+ }+}\ No newline at end of filediff --git a/conf/web/wv.main/layers/airs/AIRS_Precipitation_Day.json b/conf/web/wv.main/layers/airs/AIRS_Precipitation_Day.jsonnew file mode 100644index 000000000..d8d3947a5--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_Precipitation_Day.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_Precipitation_Day": {+ "id": "AIRS_Precipitation_Day",+ "title": "Precipitation Estimate (Day)",+ "subtitle": "Aqua / AIRS",+ "group": "overlays",+ "product": "AIRX2SUP_DAY",++ "palette": {+ "id": "AIRS_Precipitation_A",+ "recommended": ["blue_1", "blue_3"]+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_Precipitation_Night.json b/conf/web/wv.main/layers/airs/AIRS_Precipitation_Night.jsonnew file mode 100644index 000000000..e28b6da41--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_Precipitation_Night.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_Precipitation_Night": {+ "id": "AIRS_Precipitation_Night",+ "title": "Precipitation Estimate (Night)",+ "subtitle": "Aqua / AIRS",+ "group": "overlays",+ "product": "AIRX2SUP_DAY",++ "palette": {+ "id": "AIRS_Precipitation_D",+ "recommended": ["blue_1", "blue_3"]+ }+ }+ }+}\ No newline at end of filediff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_400hPa_Day.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_400hPa_Day.jsonnew file mode 100644index 000000000..e4d563198--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_400hPa_Day.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_400hPa_Day": {+ "id": "AIRS_RelativeHumidity_400hPa_Day",+ "title": "Relative Humidity (400 hPa, Day)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_RH400_A"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_400hPa_Night.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_400hPa_Night.jsonnew file mode 100644index 000000000..2d5360f37--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_400hPa_Night.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_400hPa_Night": {+ "id": "AIRS_RelativeHumidity_400hPa_Night",+ "title": "Relative Humidity (400 hPa, Night)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_NIGHT",++ "palette": {+ "id": "AIRS_RH400_D"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_500hPa_Day.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_500hPa_Day.jsonnew file mode 100644index 000000000..bdd3448e7--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_500hPa_Day.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_500hPa_Day": {+ "id": "AIRS_RelativeHumidity_500hPa_Day",+ "title": "Relative Humidity (500 hPa, Day)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_RH500_A"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_500hPa_Night.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_500hPa_Night.jsonnew file mode 100644index 000000000..a83129a8b--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_500hPa_Night.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_500hPa_Night": {+ "id": "AIRS_RelativeHumidity_500hPa_Night",+ "title": "Relative Humidity (500 hPa, Night)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_NIGHT",++ "palette": {+ "id": "AIRS_RH500_D"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_600hPa_Day.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_600hPa_Day.jsonnew file mode 100644index 000000000..0f182ee30--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_600hPa_Day.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_600hPa_Day": {+ "id": "AIRS_RelativeHumidity_600hPa_Day",+ "title": "Relative Humidity (600 hPa, Day)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_RH600_A"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_600hPa_Night.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_600hPa_Night.jsonnew file mode 100644index 000000000..2e96c313d--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_600hPa_Night.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_600hPa_Night": {+ "id": "AIRS_RelativeHumidity_600hPa_Night",+ "title": "Relative Humidity (600 hPa, Night)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_NIGHT",++ "palette": {+ "id": "AIRS_RH600_D"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_700hPa_Day.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_700hPa_Day.jsonnew file mode 100644index 000000000..2dedbcb80--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_700hPa_Day.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_700hPa_Day": {+ "id": "AIRS_RelativeHumidity_700hPa_Day",+ "title": "Relative Humidity (700 hPa, Day)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_RH700_A"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_700hPa_Night.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_700hPa_Night.jsonnew file mode 100644index 000000000..6282e7438--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_700hPa_Night.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_700hPa_Night": {+ "id": "AIRS_RelativeHumidity_700hPa_Night",+ "title": "Relative Humidity (700 hPa, Night)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_NIGHT",++ "palette": {+ "id": "AIRS_RH700_D"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_850hPa_Day.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_850hPa_Day.jsonnew file mode 100644index 000000000..d6e6b5e4a--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_850hPa_Day.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_850hPa_Day": {+ "id": "AIRS_RelativeHumidity_850hPa_Day",+ "title": "Relative Humidity (850 hPa, Day)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_DAY",++ "palette": {+ "id": "AIRS_RH850_A"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_850hPa_Night.json b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_850hPa_Night.jsonnew file mode 100644index 000000000..cb2116291--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_RelativeHumidity_850hPa_Night.json@@ -0,0 +1,16 @@+{+ "layers": {+ "AIRS_RelativeHumidity_850hPa_Night": {+ "id": "AIRS_RelativeHumidity_850hPa_Night",+ "title": "Relative Humidity (850 hPa, Night)",+ "subtitle": "Aqua / AIRS",+ "tags": "rh",+ "group": "overlays",+ "product": "AIRX2RET_NIGHT",++ "palette": {+ "id": "AIRS_RH850_D"+ }+ }+ }+}diff --git a/conf/web/wv.main/layers/airs/AIRS_Temperature_400hPa_Day.json b/conf/web/wv.main/layers/airs/AIRS_Temperature_400hPa_Day.jsonnew file mode 100644index 000000000..17098012a--- /dev/null+++ b/conf/web/wv.main/layers/airs/AIRS_Temperature_400hPa_Day.json@@ -0,0 +1,11 @@+{+ "layers": {+ "AIRS_Temperature_400hPa_Day": {+ "id": "AIRS_Temperature_400hPa_Day",+ "title": "Temperature (400 hPa, Day)",+ "subtitle": "Aqua / AIRS",+ "group": "overlays",+ "product": "AIRX2RET_DAY"+ }+ }+}\ No newline at end of filediff --git a/src/js/layers/wv.layers.model.js b/src/js/layers/wv.layers.model.jsindex 2abba0926..1091e2558 100644--- a/src/js/layers/wv.layers.model.js+++ b/src/js/layers/wv.layers.model.js@@ -35,6 +35,7 @@ wv.layers.model = wv.layers.model || function(models, config) {var layers = _.cloneDeep(config.layers);_.each(layers, function(layer) {if ( !layer.group ) {+ console.error("No group for layer: " + layer.id);delete config.layers[layer.id];}});