Skip to content

Commit

Permalink
refactor: move xrmemreader into odc.loader._zarr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Jun 24, 2024
1 parent c06020a commit f3e1a23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions odc/loader/testing/mem_reader.py → odc/loader/_zarr.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Reader Driver from in-memory xarray.
Reader Driver from in-memory xarray/zarr spec docs.
"""

from __future__ import annotations
Expand All @@ -14,7 +14,7 @@
from odc.geo.geobox import GeoBox
from odc.geo.xr import ODCExtensionDa, ODCExtensionDs, xr_coords, xr_reproject

from ..types import (
from .types import (
BandKey,
DaskRasterReader,
FixedCoord,
Expand Down
2 changes: 1 addition & 1 deletion odc/loader/test_memreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from odc.geo.geobox import GeoBox
from odc.geo.xr import ODCExtensionDa, ODCExtensionDs, rasterize

from .testing.mem_reader import Context, XrMemReader, XrMemReaderDriver, raster_group_md
from ._zarr import Context, XrMemReader, XrMemReaderDriver, raster_group_md
from .types import FixedCoord, RasterGroupMetadata, RasterLoadParams, RasterSource

# pylint: disable=missing-function-docstring,use-implicit-booleaness-not-comparison
Expand Down

0 comments on commit f3e1a23

Please sign in to comment.