Skip to content

Commit

Permalink
move interpolation to its own submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrover1 committed Jan 25, 2024
1 parent 2b8d9b9 commit 0550e2c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
11 changes: 11 additions & 0 deletions xradar/interpolate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python
# Copyright (c) 2024, openradar developers.
# Distributed under the MIT License. See LICENSE for more info.

"""
XRadar Interpolation
====================
"""

__all__ = [s for s in dir() if not s.startswith("_")]
File renamed without changes.
9 changes: 4 additions & 5 deletions xradar/io/backends/nexrad_level2.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
from xarray.core.variable import Variable

from xradar import util
from xradar.interpolate.nexrad_interpolate import (
_fast_interpolate_scan_2,
_fast_interpolate_scan_4,
)
from xradar.io.backends.common import (
LazyLoadDict,
_assign_root,
Expand All @@ -29,11 +33,6 @@
get_time_attrs,
)

from .nexrad_interpolate import (
_fast_interpolate_scan_2,
_fast_interpolate_scan_4,
)

nexrad_mapping = {
"REF": "DBZH",
"VEL": "VRADH",
Expand Down

0 comments on commit 0550e2c

Please sign in to comment.