Salvus 0.11.38
Released: 2021-08-11
Minor update with some utilities to inspect the contents of a project and to free up space during an inversion by deleting disposable files.
Changes
SalvusProject
Add utility to compress the storage requirements of an inversion by deleting files which are no longer needed and/or can be recomputed.
Example:
p.inversions.delete_disposable_files(
inverse_problem_configuration="my_inversion",
data_to_remove=["auxiliary", "waveforms", "gradients"]
)
Note that data from the initial model and unfinished iterations
will be kept. It is recommend to remove files in the order
auxiliary, waveforms, gradients, because gradients are the most
expensive to recompute.
SalvusProject
Add utility to delete simulation results (waveforms / gradients).
Example:
# Delete waveforms
p.simulations.delete_results(
simulation_configuration="my_sim_config",
events=["event"]
)
# Delete gradients
p.simulations.delete_results(
simulation_configuration="my_sim_config",
misfit_configuration="my_misfit_config",
events=p.events.list()
) SalvusProject
Add utility to list a project’s contents. This function will be called automatically when a project is loaded.