Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 3, 2025
1 parent e150bd6 commit 1fd874d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nwp_consumer/internal/entities/tensorstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def write_to_region(
region = region_result.unwrap()

# Perform the regional write
log.debug(f"Writing to region {region} of store {self.name}")
try:
# TODO not use safe_chunks=False in general
da.to_zarr(store=self.path, region=region, consolidated=True, safe_chunks=False)
Expand Down

0 comments on commit 1fd874d

Please sign in to comment.