diff --git a/pangeo_forge_ndpyramid/transforms.py b/pangeo_forge_ndpyramid/transforms.py index 5d70821..a3283e5 100644 --- a/pangeo_forge_ndpyramid/transforms.py +++ b/pangeo_forge_ndpyramid/transforms.py @@ -99,7 +99,7 @@ def expand( ds = xr.Dataset(attrs=attrs) - target_path = (self.target_root / self.store_name).get_mapper() + target_path = (self.target_root / self.store_name).get_mapper() ds.to_zarr(store=target_path, compute=False) # noqa # generate all pyramid levels diff --git a/pyproject.toml b/pyproject.toml index 6627841..3023281 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ dependencies = [ "pangeo-forge-recipes", "ndpyramid", + "rioxarray" ] [project.optional-dependencies] diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index 71dfb0e..95d87d5 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -8,6 +8,7 @@ # TODO: We should parameterize the reprojection methods available in ndpyramid +# TODO: Test names and attrs def test_pyramid( pyramid_datatree, create_file_pattern,