Skip to content

Commit

Permalink
Merge pull request #562 from pangeo-forge/return-target-store
Browse files Browse the repository at this point in the history
Return target_store from StoreToZarr stage
  • Loading branch information
cisaacstern authored Aug 10, 2023
2 parents 934e34b + 014df55 commit 0ee97ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pangeo_forge_recipes/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,4 +399,5 @@ def expand(self, datasets: beam.PCollection) -> beam.PCollection:
target_store = schema | PrepareZarrTarget(
target=self.get_full_target(), target_chunks=self.target_chunks
)
return rechunked_datasets | StoreDatasetFragments(target_store=target_store)
rechunked_datasets | StoreDatasetFragments(target_store=target_store)
return target_store

0 comments on commit 0ee97ff

Please sign in to comment.