Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cspp-geo-gridded-glm
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
cspp-geo-gridded-glm
Merge requests
!20
Something went wrong on our end
Resolve "look into GOES-18 support"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "look into GOES-18 support"
37-look-into-goes-18-support
into
master
Overview
1
Commits
2
Pipelines
0
Changes
1
Merged
Nick Bearson
requested to merge
37-look-into-goes-18-support
into
master
2 years ago
Overview
1
Commits
2
Pipelines
0
Changes
1
Expand
Closes #37
0
0
Merge request reports
Viewing commit
346863a3
Prev
Next
Show latest version
1 file
+
2
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
346863a3
adds goes-position auto-detection for G18
· 346863a3
Nick Bearson
authored
2 years ago
gridded_glm/libexec/_minute_gridder.py
+
2
−
0
Options
@@ -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