Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

removed warnings when GIBS layers are not used

Mike McGann1af28dd607e4
diff --git a/tasks/validateOptions.py b/tasks/validateOptions.py
index 7a507e9a6..6c686f8cb 100755
--- a/tasks/validateOptions.py
+++ b/tasks/validateOptions.py
@@ -78,12 +78,7 @@ for layer_id in wv["layers"].keys():
continue
elif tolerant or opt.get("ignoreLayerOrder", False):
wv["layerOrder"] += [layer_id]
- elif opt.get("warnOnUnexpectedLayer"):
- warn("[%s] Unexpected layer, not in layer order" % layer_id)
- remove_layer(wv, layer_id)
- continue
else:
- error("[%s] Unexpected layer, not in layer order" % layer_id)
remove_layer(wv, layer_id)
continue
if "projections" not in layer or len(layer["projections"]) == 0: