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
4a463831
Commit
4a463831
authored
4 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
remove an erroneous print and pass a basename to parse_glm_filename
parent
662e287c
No related branches found
No related tags found
1 merge request
!12
Resolve "filename prefix change"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gridded_glm/libexec/_minute_gridder.py
+1
-2
1 addition, 2 deletions
gridded_glm/libexec/_minute_gridder.py
with
1 addition
and
2 deletions
gridded_glm/libexec/_minute_gridder.py
+
1
−
2
View file @
4a463831
...
...
@@ -157,8 +157,7 @@ def get_outpath_base(args):
start_time, end_time: datetimes that can be used with strftime syntax, e.g.
'
./{start_time:%y/%b/%d}/GLM_{start_time:%Y%m%d_%H%M%S}.nc
'
"""
print
(
parse_glm_filename
(
args
.
filenames
[
0
]))
ops_environment
,
algorithm
,
platform
,
start_time
,
end_time
,
created_time
=
parse_glm_filename
(
args
.
filenames
[
0
])
ops_environment
,
algorithm
,
platform
,
start_time
,
end_time
,
created_time
=
parse_glm_filename
(
os
.
path
.
basename
(
args
.
filenames
[
0
]))
sector_short
=
get_sector_shortstring
(
args
)
mode
=
"
M3
"
# FIXME: is GLM always in M3?
...
...
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