Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Initial product configurations complete

Mike McGann14d4baabe865
diff --git a/etc/config/config/layers/OMI_Absorbing_Aerosol_Optical_Depth.json b/etc/config/config/layers/OMI_Absorbing_Aerosol_Optical_Depth.json
index 901a72d55..83ac7fbea 100644
--- a/etc/config/config/layers/OMI_Absorbing_Aerosol_Optical_Depth.json
+++ b/etc/config/config/layers/OMI_Absorbing_Aerosol_Optical_Depth.json
@@ -41,5 +41,6 @@
"rendered": "OMI_Aerosol",
"startDate": "2012-04-07",
"type": "wmts",
- "units": ""
+ "units": "",
+ "product": "OMAERUV"
}
diff --git a/etc/config/config/layers/OMI_Aerosol_Index.json b/etc/config/config/layers/OMI_Aerosol_Index.json
index 47fc80ae8..1a1565692 100644
--- a/etc/config/config/layers/OMI_Aerosol_Index.json
+++ b/etc/config/config/layers/OMI_Aerosol_Index.json
@@ -41,5 +41,6 @@
"rendered": "OMI_Aerosol",
"startDate": "2012-04-07",
"type": "wmts",
- "units": ""
+ "units": "",
+ "product": "OMAERUV"
}
diff --git a/etc/config/config/layers/OMI_Aerosol_Optical_Depth.json b/etc/config/config/layers/OMI_Aerosol_Optical_Depth.json
index 95a3c97ef..6c5337c27 100644
--- a/etc/config/config/layers/OMI_Aerosol_Optical_Depth.json
+++ b/etc/config/config/layers/OMI_Aerosol_Optical_Depth.json
@@ -41,5 +41,6 @@
"rendered": "OMI_Aerosol",
"startDate": "2012-04-07",
"type": "wmts",
- "units": ""
+ "units": "",
+ "product": "OMAERUV"
}
diff --git a/etc/config/config/layers/OMI_Cloud_Pressure.json b/etc/config/config/layers/OMI_Cloud_Pressure.json
index 914576940..97d678a62 100644
--- a/etc/config/config/layers/OMI_Cloud_Pressure.json
+++ b/etc/config/config/layers/OMI_Cloud_Pressure.json
@@ -41,5 +41,6 @@
"rendered": "OMI_Cloud_Pressure",
"startDate": "2012-04-07",
"type": "wmts",
- "units": "hPa"
+ "units": "hPa",
+ "product": "OMCLDRR"
}
diff --git a/etc/config/config/layers/OMI_SO2_Lower_Troposphere.json b/etc/config/config/layers/OMI_SO2_Lower_Troposphere.json
index 5fee44489..db1370cb7 100644
--- a/etc/config/config/layers/OMI_SO2_Lower_Troposphere.json
+++ b/etc/config/config/layers/OMI_SO2_Lower_Troposphere.json
@@ -41,5 +41,6 @@
"rendered": "OMI_SO2_Lower_Troposphere",
"startDate": "2012-04-07",
"type": "wmts",
- "units": "DU"
+ "units": "DU",
+ "product": "OMSO2"
}
diff --git a/etc/config/config/layers/OMI_SO2_Middle_Troposphere.json b/etc/config/config/layers/OMI_SO2_Middle_Troposphere.json
index 7ade85dbc..e2b806479 100644
--- a/etc/config/config/layers/OMI_SO2_Middle_Troposphere.json
+++ b/etc/config/config/layers/OMI_SO2_Middle_Troposphere.json
@@ -41,5 +41,6 @@
"rendered": "OMI_SO2_Middle_Troposphere",
"startDate": "2012-04-07",
"type": "wmts",
- "units": "DU"
+ "units": "DU",
+ "product": "OMSO2"
}
diff --git a/etc/config/config/layers/OMI_SO2_Planetary_Boundary_Layer.json b/etc/config/config/layers/OMI_SO2_Planetary_Boundary_Layer.json
index edcdc3a72..725575e0b 100644
--- a/etc/config/config/layers/OMI_SO2_Planetary_Boundary_Layer.json
+++ b/etc/config/config/layers/OMI_SO2_Planetary_Boundary_Layer.json
@@ -41,5 +41,6 @@
"rendered": "OMI_SO2_Planetary_Boundary_Layer",
"startDate": "2012-04-07",
"type": "wmts",
- "units": "DU"
+ "units": "DU",
+ "product": "OMSO2"
}
diff --git a/etc/config/config/layers/OMI_SO2_Upper_Troposphere_and_Stratosphere.json b/etc/config/config/layers/OMI_SO2_Upper_Troposphere_and_Stratosphere.json
index fe6ebc9db..ace17a29d 100644
--- a/etc/config/config/layers/OMI_SO2_Upper_Troposphere_and_Stratosphere.json
+++ b/etc/config/config/layers/OMI_SO2_Upper_Troposphere_and_Stratosphere.json
@@ -41,5 +41,6 @@
"rendered": "OMI_SO2_Upper_Troposphere_and_Stratosphere",
"startDate": "2012-04-07",
"type": "wmts",
- "units": "DU"
+ "units": "DU",
+ "product": "OMSO2"
}
diff --git a/etc/config/config/layers/grump-v1-population-count_2000.json b/etc/config/config/layers/grump-v1-population-count_2000.json
index 16aa9cf60..d00adb039 100644
--- a/etc/config/config/layers/grump-v1-population-count_2000.json
+++ b/etc/config/config/layers/grump-v1-population-count_2000.json
@@ -22,5 +22,6 @@
"type": "wms",
"url": [
"http://sedac.ciesin.columbia.edu/geoserver/ows"
- ]
+ ],
+ "product": "CIESIN_SEDAC_GRUMPv1_POPCOUNT"
}
diff --git a/etc/config/config/products/CIESIN_SEDAC_GRUMPv1_POPCOUNT.json b/etc/config/config/products/CIESIN_SEDAC_GRUMPv1_POPCOUNT.json
new file mode 100644
index 000000000..c9ba50102
--- /dev/null
+++ b/etc/config/config/products/CIESIN_SEDAC_GRUMPv1_POPCOUNT.json
@@ -0,0 +1,9 @@
+{
+ "name": "Global Rural-Urban Mapping Project, Version 1 (GRUMPv1): Population Count Grid",
+ "handler": "CollectionList",
+ "query": {
+ "collection": "true",
+ "shortName": "CIESIN_SEDAC_GRUMPv1_POPCOUNT",
+ "dataCenterId": "SEDAC"
+ }
+}
\ No newline at end of file
diff --git a/etc/config/config/products/OMAERUV.json b/etc/config/config/products/OMAERUV.json
new file mode 100644
index 000000000..fd4d8ad08
--- /dev/null
+++ b/etc/config/config/products/OMAERUV.json
@@ -0,0 +1,8 @@
+{
+ "name": "OMI/Aura Near UV Aerosol Optical Depth and Single Scattering Albedo 1-orbit L2 Swath 13x24 km",
+ "handler": "List",
+ "query": {
+ "shortName": "OMAERUV",
+ "dataCenterId": "GSFCS4PA"
+ }
+}
\ No newline at end of file
diff --git a/etc/config/config/products/OMCLDRR.json b/etc/config/config/products/OMCLDRR.json
new file mode 100644
index 000000000..c0adea18c
--- /dev/null
+++ b/etc/config/config/products/OMCLDRR.json
@@ -0,0 +1,8 @@
+{
+ "name": "OMI/Aura Cloud Pressure and Fraction (Raman Scattering) 1-Orbit L2 Swath 13x24 km",
+ "handler": "List",
+ "query": {
+ "shortName": "OMCLDRR",
+ "dataCenterId": "GSFCS4PA"
+ }
+}
\ No newline at end of file
diff --git a/etc/config/config/products/OMSO2.json b/etc/config/config/products/OMSO2.json
new file mode 100644
index 000000000..523f885ca
--- /dev/null
+++ b/etc/config/config/products/OMSO2.json
@@ -0,0 +1,7 @@
+{
+ "name": "OMI/Aura Sulphur Dioxide (SO2) Total Column 1-orbit L2 Swath 13x24 km",
+ "handler": "List",
+ "query": {
+ "shortName": ["OMSO2", "OMSO2NRTb"]
+ }
+}
\ No newline at end of file
diff --git a/src/data/config.json b/src/data/config.json
index d1efe60fe..4f742d92a 100644
--- a/src/data/config.json
+++ b/src/data/config.json
@@ -6099,6 +6099,7 @@
"min": "0.27",
"name": "Absorbing Aerosol Optical Depth",
"period": "daily",
+ "product": "OMAERUV",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6147,6 +6148,7 @@
"min": "1.1",
"name": "Aerosol Index",
"period": "daily",
+ "product": "OMAERUV",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6195,6 +6197,7 @@
"min": "1.1",
"name": "Aerosol Optical Depth",
"period": "daily",
+ "product": "OMAERUV",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6243,6 +6246,7 @@
"min": "0",
"name": "Cloud Pressure",
"period": "daily",
+ "product": "OMCLDRR",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6291,6 +6295,7 @@
"min": "0.8",
"name": "Sulfur Dioxide (Lower Troposphere)",
"period": "daily",
+ "product": "OMSO2",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6340,6 +6345,7 @@
"min": "0.4",
"name": "Sulfur Dioxide (Middle Troposphere)",
"period": "daily",
+ "product": "OMSO2",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6389,6 +6395,7 @@
"min": "1.2",
"name": "Sulfur Dioxide (Planetary Boundary Layer)",
"period": "daily",
+ "product": "OMSO2",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6438,6 +6445,7 @@
"min": "0.4",
"name": "Sulfur Dioxide (Upper Troposphere and Stratosphere)",
"period": "daily",
+ "product": "OMSO2",
"projections": {
"geographic": {
"matrixSet": "EPSG4326_2km",
@@ -6832,6 +6840,7 @@
"transparent": "true"
},
"period": "static",
+ "product": "CIESIN_SEDAC_GRUMPv1_POPCOUNT",
"projections": {
"arctic": {},
"geographic": {}
@@ -60019,6 +60028,15 @@
"shortName": "CIESIN_CHRR_NDH_VOLCANO_PELRD"
}
},
+ "CIESIN_SEDAC_GRUMPv1_POPCOUNT": {
+ "handler": "CollectionList",
+ "name": "Global Rural-Urban Mapping Project, Version 1 (GRUMPv1): Population Count Grid",
+ "query": {
+ "collection": "true",
+ "dataCenterId": "SEDAC",
+ "shortName": "CIESIN_SEDAC_GRUMPv1_POPCOUNT"
+ }
+ },
"ML2CO": {
"handler": "List",
"name": "MLS/Aura L2 Carbon Monoxide (CO) Mixing Ratio",
@@ -60512,6 +60530,32 @@
"dayNightFlag": "DAY",
"shortName": "MYD29"
}
+ },
+ "OMAERUV": {
+ "handler": "List",
+ "name": "OMI/Aura Near UV Aerosol Optical Depth and Single Scattering Albedo 1-orbit L2 Swath 13x24 km",
+ "query": {
+ "dataCenterId": "GSFCS4PA",
+ "shortName": "OMAERUV"
+ }
+ },
+ "OMCLDRR": {
+ "handler": "List",
+ "name": "OMI/Aura Cloud Pressure and Fraction (Raman Scattering) 1-Orbit L2 Swath 13x24 km",
+ "query": {
+ "dataCenterId": "GSFCS4PA",
+ "shortName": "OMCLDRR"
+ }
+ },
+ "OMSO2": {
+ "handler": "List",
+ "name": "OMI/Aura Sulphur Dioxide (SO2) Total Column 1-orbit L2 Swath 13x24 km",
+ "query": {
+ "shortName": [
+ "OMSO2",
+ "OMSO2NRTb"
+ ]
+ }
}
},
"projections": {
diff --git a/src/js/Worldview/DataDownload/Results/DateTimeLabel.js b/src/js/Worldview/DataDownload/Results/DateTimeLabel.js
index 8120932f0..4cb7c1978 100644
--- a/src/js/Worldview/DataDownload/Results/DateTimeLabel.js
+++ b/src/js/Worldview/DataDownload/Results/DateTimeLabel.js
@@ -22,10 +22,17 @@ Worldview.DataDownload.Results.DateTimeLabel = function(time) {
self.process = function(meta, granule) {
var timeStart = Date.parseISOString(granule.time_start);
- var timeEnd = Date.parseISOString(granule.time_end);
- granule.label = timeStart.toISOStringDate() + ": " +
- timeStart.toISOStringTimeHM() + "-" + timeEnd.toISOStringTimeHM();
+ // Some granules may not have an end time
+ if ( granule.time_end ) {
+ var timeEnd = Date.parseISOString(granule.time_end);
+ granule.label = timeStart.toISOStringDate() + ": " +
+ timeStart.toISOStringTimeHM() + "-" +
+ timeEnd.toISOStringTimeHM();
+ } else {
+ granule.label = timeStart.toISOStringDate() + ": " +
+ timeStart.toISOStringTimeHM();
+ }
return granule;
};
diff --git a/src/js/Worldview/DataDownload/Results/TagNRT.js b/src/js/Worldview/DataDownload/Results/TagNRT.js
index 99f54fe8a..1f0846f1c 100644
--- a/src/js/Worldview/DataDownload/Results/TagNRT.js
+++ b/src/js/Worldview/DataDownload/Results/TagNRT.js
@@ -21,6 +21,10 @@ Worldview.DataDownload.Results.TagNRT = function(spec) {
self.name = "TagNRT";
self.process = function(meta, granule) {
+ // Exit now if this product doesn't have information about NRT
+ if ( !spec ) {
+ return granule;
+ }
var isNRT;
if ( spec.by === "value" ) {
isNRT = granule[spec.field] === spec.value;
diff --git a/src/service/echo.cgi b/src/service/echo.cgi
index 2bbec150e..6ac32201c 100755
--- a/src/service/echo.cgi
+++ b/src/service/echo.cgi
@@ -253,7 +253,7 @@ def process_request(options):
raise RequestError("Missing parameter: %s" % required_field)
xml = None
- if "collections" in fields:
+ if "collections" not in fields:
xml = create_xml(fields)
if options.xml: