Interactive interface for browsing global, full-resolution satellite imagery
added some comments #381
Benjamin991331d48cfc
diff --git a/bin/process_temporal_layer.py b/bin/process_temporal_layer.pyindex 5abb08b06..eff23f8da 100644--- a/bin/process_temporal_layer.py+++ b/bin/process_temporal_layer.py@@ -4,10 +4,13 @@ import isodatedef to_list(val):return [val] if not hasattr(val, 'reverse') else val+# Add duration to end date using+# ISO 8601 duration keysdef determine_end_date(key, date):- # Add duration to end datereturn date + isodate.parse_duration(key)+# This method takes a layer and a temporal+# value and tranlates it to start and end datesdef process_temporal(wv_layer, value):try:ranges = to_list(value)