Skip to content

Commit

Permalink
removed chunk in postprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramonte committed Jul 26, 2024
1 parent 9f77ab2 commit 9876f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/intake_geokube/afm.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def postprocess_afm(ds: xr.Dataset, **post_process_chunks):
indexes = {dim: ~deduplicated.get_index(dim).duplicated(keep='first')}
deduplicated = deduplicated.isel(indexes)
return DataCube.from_xarray(
deduplicated.sortby('time').sortby('latitude').sortby('longitude').chunk(post_process_chunks))
deduplicated.sortby('time').sortby('latitude').sortby('longitude'))

def add_projection(dset: xr.Dataset, **kwargs) -> xr.Dataset:
"""Add projection information to the dataset"""
Expand Down

0 comments on commit 9876f1d

Please sign in to comment.