Skip to content
Snippets Groups Projects
Commit e3f173b6 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

refactor(image): homogeneise local interfaces

parent 0a0ff940
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ class ImageLocal: ...@@ -97,7 +97,7 @@ class ImageLocal:
@property @property
def data(self): def data(self):
return self.get_data_lazy_local() return self.get_data_lazy()
@property @property
def date(self): def date(self):
...@@ -124,7 +124,7 @@ class ImageLocal: ...@@ -124,7 +124,7 @@ class ImageLocal:
def metadata(self): def metadata(self):
return self._meta return self._meta
def get_data_lazy_local(self) -> da.Array: def get_data_lazy(self) -> da.Array:
"""Return 5D dask array. For lazy-loading multidimensional tiff files""" """Return 5D dask array. For lazy-loading multidimensional tiff files"""
if not hasattr(self, "formatted_img"): if not hasattr(self, "formatted_img"):
......
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