Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fixed bug which prevented using MODISGrid handler by itself and added small time cushion to prevent retrieving granules from adjacent days

Ryan Bollerd89e2bc92bb4
diff --git a/web/js/data/wv.data.handler.js b/web/js/data/wv.data.handler.js
index c1f725a72..5adda8c62 100644
--- a/web/js/data/wv.data.handler.js
+++ b/web/js/data/wv.data.handler.js
@@ -389,12 +389,14 @@ wv.data.handler.dailyAMSRE = function(config, model, spec) {
};
wv.data.handler.modisGrid = function(config, model, spec) {
- var self = wv.data.handler.base(config);
+ var self = wv.data.handler.base(config, model);
self._submit = function() {
var crs = model.crs.replace(/:/, "_");
var queryOptions = {
+ startTimeDelta: 180,
+ endTimeDelta: -180,
time: model.time,
data: config.products[model.selectedProduct].query
};