Skip to content

Commit

Permalink
Use get_filepath_str instead
Browse files Browse the repository at this point in the history
Signed-off-by: Nok <[email protected]>
  • Loading branch information
noklam committed Jul 2, 2024
1 parent cd9ceb4 commit 959723c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _describe(self) -> dict[str, Any]:
}

def _load(self) -> xarray.DataArray:
load_path = self._get_load_path().as_posix()
load_path = get_filepath_str(self._get_load_path(), self._protocol)
with rasterio.open(load_path) as data:
tags = data.tags()
data = rxr.open_rasterio(load_path, **self._load_args)
Expand Down

0 comments on commit 959723c

Please sign in to comment.