Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Grib Processor
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Max Drexler
Grib Processor
Commits
9f6e446e
Commit
9f6e446e
authored
3 months ago
by
Max Drexler
Browse files
Options
Downloads
Patches
Plain Diff
remove todo file
parent
be34945d
No related branches found
No related tags found
1 merge request
!3
remove todo file
Pipeline
#56299
failed
3 months ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
grib_processor/main.py
+11
-2
11 additions, 2 deletions
grib_processor/main.py
todo
+0
-8
0 additions, 8 deletions
todo
with
11 additions
and
10 deletions
grib_processor/main.py
+
11
−
2
View file @
9f6e446e
...
...
@@ -123,7 +123,12 @@ def setup() -> tuple[Iterable[GribPayload], Callable[[GribPayload], None]]:
"
--output
"
,
choices
=
[
"
amqp
"
,
"
json
"
],
default
=
"
json
"
,
help
=
"
Where to output processed grib messages to. Default is %(default)s.
"
,
help
=
"
How to output processed grib messages to. Default is %(default)s.
"
,
)
parser
.
add_argument
(
'
--no-xcd
'
,
action
=
'
store_true
'
,
help
=
"
Don
'
t load XCD information when processing grib files such as model names.
"
)
mq_group
=
parser
.
add_argument_group
(
...
...
@@ -160,7 +165,11 @@ def setup() -> tuple[Iterable[GribPayload], Callable[[GribPayload], None]]:
if
args
.
verbosity
<
0
:
parser
.
error
(
"
--verbosity cannot be negative!
"
)
initialize_logging
(
args
.
verbosity
,
args
.
log_dir
)
load_xcd_models
()
if
args
.
no_xcd
:
"""
Don
'
t load those models
"""
else
:
load_xcd_models
()
# Get an iterator over grib files to process
file_iter
:
Iterable
[
str
]
...
...
This diff is collapsed.
Click to expand it.
todo
deleted
100644 → 0
+
0
−
8
View file @
be34945d
Not in any particular order:
* TESTING!!!
* packaging
* Automatically bundle with grib2io
* Add support for GRIB1 processing
* DID I MENTION TESTING!!!
* Documentation for the package.
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