Skip to content

Commit

Permalink
adds rioxarray
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed May 29, 2024
1 parent daac5c9 commit adc22d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pangeo_forge_ndpyramid/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
dependencies = [
"pangeo-forge-recipes",
"ndpyramid",
"rioxarray"
]

[project.optional-dependencies]
Expand Down
1 change: 1 addition & 0 deletions tests/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit adc22d5

Please sign in to comment.