Skip to content
Snippets Groups Projects

Resolve "look into GOES-18 support"

Merged Nick Bearson requested to merge 37-look-into-goes-18-support into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -112,6 +112,8 @@ def get_goes_position(filenames):
@@ -112,6 +112,8 @@ def get_goes_position(filenames):
return "east"
return "east"
if all("_G17_" in f for f in filenames):
if all("_G17_" in f for f in filenames):
return "west"
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
# 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?")
raise ValueError("could not determine GOES position - did you provide a mix of satellites?")
Loading