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
Commits
b4aa5046
Commit
b4aa5046
authored
2 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
readability
parent
324ac5d8
No related branches found
No related tags found
1 merge request
!26
group inputs by minute and process accordingly
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gridded_glm/libexec/_minute_gridder.py
+4
-0
4 additions, 0 deletions
gridded_glm/libexec/_minute_gridder.py
with
4 additions
and
0 deletions
gridded_glm/libexec/_minute_gridder.py
+
4
−
0
View file @
b4aa5046
...
...
@@ -330,9 +330,13 @@ if __name__ == '__main__':
if
len
(
fileglob
)
!=
3
:
log
.
error
(
"
There are not (yet) three GLM files from this minute. This may be expected. Exiting.
"
)
exit
(
0
)
# this allows a user to use realtime mode to process a large directory of GLM without
# creating the same output file multiple times
if
sorted
(
fileglob
)[
-
1
]
!=
args
.
filenames
[
0
]:
log
.
error
(
"
This is not the last file from this minute. Exiting.
"
)
exit
(
0
)
args
.
filenames
=
fileglob
# check that all of our inputs exist
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment