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
14 changes: 7 additions & 7 deletions simpeg/dask/potential_fields/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ def dask_linear_operator(self):
# Check that loaded kernel matches supplied data and mesh
print("Zarr file detected with same shape and chunksize ... re-loading")
return kernel
else:
print("Writing Zarr file to disk")
with ProgressBar():
print("Saving kernel to zarr: " + sens_name)
kernel = array.to_zarr(
stack, sens_name, compute=True, return_stored=True, overwrite=True
)

print("Writing Zarr file to disk")
with ProgressBar():
print("Saving kernel to zarr: " + sens_name)
kernel = array.to_zarr(
stack, sens_name, compute=True, return_stored=True, overwrite=True
)
elif forward_only:
with ProgressBar():
print("Forward calculation: ")
Expand Down