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
bc131f5d
Commit
bc131f5d
authored
8 months ago
by
Max Drexler
Browse files
Options
Downloads
Patches
Plain Diff
fix circular import error
parent
4c1648f1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
grib_processor/grib.py
+2
-2
2 additions, 2 deletions
grib_processor/grib.py
grib_processor/main.py
+1
-1
1 addition, 1 deletion
grib_processor/main.py
with
3 additions
and
3 deletions
grib_processor/grib.py
+
2
−
2
View file @
bc131f5d
...
...
@@ -17,7 +17,7 @@ import grib2io
from
ssec_amqp
import
utils
as
amqp_utils
from
typing_extensions
import
Literal
,
TypedDict
,
TypeAlias
from
grib_processor
import
data
import
grib_processor
.
data
if
sys
.
version_info
<
(
3
,
9
):
...
...
@@ -101,7 +101,7 @@ def load_xcd_models(
global
_XCD_MODELS
if
_XCD_MODELS
is
None
:
# This MUST match name of xcd file in grib_processor.data
data_path
=
resources
.
files
(
data
)
/
"
xcd_model_info.json
"
data_path
=
resources
.
files
(
grib_processor
.
data
)
/
"
xcd_model_info.json
"
with
data_path
.
open
(
"
r
"
)
as
xcd_data
:
_XCD_MODELS
=
json
.
load
(
xcd_data
)
for
addtnl
in
addtnl_models
:
...
...
This diff is collapsed.
Click to expand it.
grib_processor/main.py
+
1
−
1
View file @
bc131f5d
...
...
@@ -95,7 +95,7 @@ def setup() -> tuple[Iterable[GribPayload], Callable[[GribPayload], None]]:
"
-v
"
,
"
--verbosity
"
,
type
=
int
,
default
=
3
,
default
=
1
,
help
=
"
Specify verbosity to stderr from 0 (CRITICAL) to 5 (DEBUG).
"
,
)
parser
.
add_argument
(
...
...
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