Skip to content
Snippets Groups Projects
Commit 346863a3 authored by Nick Bearson's avatar Nick Bearson
Browse files

adds goes-position auto-detection for G18

parent 8111e609
1 merge request!20Resolve "look into GOES-18 support"
......@@ -112,6 +112,8 @@ def get_goes_position(filenames):
return "east"
if all("_G17_" in f for f in filenames):
return "west"
if all("_G18_" in f for f in filenames):
return "west"
# we require that all files are from the same sensor and raise an exception if not
raise ValueError("could not determine GOES position - did you provide a mix of satellites?")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment