Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pangeo_forge_recipes/recipes/xarray_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ def expand_target_dim(target: FSSpecTarget, concat_dim: Optional[str], dimsize:
logger.debug(f"resizing array {v} to shape {shape}")
arr.resize(shape)

# now explicity write the sequence coordinate to avoid missing data
# when reopening
if concat_dim in zgroup:
zgroup[concat_dim][:] = 0


def open_target(target: FSSpecTarget) -> xr.Dataset:
return xr.open_zarr(target.get_mapper())
Expand Down