Skip to content

Commit

Permalink
bench: compress saved data
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Aug 5, 2023
1 parent 72fb27d commit 722e998
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 416 deletions.
4 changes: 3 additions & 1 deletion fast/setup_wave3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,6 @@
shape_str = '_'.join(str(item) for item in shape)
np.save("so%s_critical_dt%s.npy" % (so, shape_str), model.critical_dt, allow_pickle=True)
np.save("so%s_wave_dat%s.npy" % (so, shape_str), u.data[:], allow_pickle=True)
np.save("so%s_grid_extent%s.npy" % (so, shape_str), model.grid.extent, allow_pickle=True)

np.savez_compressed("so%s_grid_extent%s" % (so, shape_str), model.grid.extent,
allow_pickle=True)
201 changes: 0 additions & 201 deletions fast/temp1

This file was deleted.

Loading

0 comments on commit 722e998

Please sign in to comment.