Skip to content
Snippets Groups Projects
Commit bc131f5d authored by Max Drexler's avatar Max Drexler
Browse files

fix circular import error

parent 4c1648f1
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment