Browser to dump an entire SILO file? #422
-
Hi, @markcmiller86 et al., I can use browser to print the value of a particular variable, e.g.:
Is there a command or recipe to (hopefully recursively) dump all the variables contained within a given SILO file? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@wnissen I think you might be able to diff the file with itself and have it print everything, not just diffs. Lemme try. |
Beta Was this translation helpful? Give feedback.
-
@wnissen ok, that doesn't work. When the file is diffed with itself, all the diffs are zero and I cannot set a negative tolerance. If it is a Silo/HDF5 file you can use HDF5 tools ( Another option is to use Silo's python interface and write a small amount of python code to do it....recursively using |
Beta Was this translation helpful? Give feedback.
@wnissen ok, that doesn't work. When the file is diffed with itself, all the diffs are zero and I cannot set a negative tolerance. If it is a Silo/HDF5 file you can use HDF5 tools (
h5ls
andh5dump
). But, you wind up having to understand a bit about the internals of how Silo writes its high level objects to HDF5.Another option is to use Silo's python interface and write a small amount of python code to do it....recursively using
Silo.SetDir()
andSilo.GetToc()
.