With the lack of response, I've been trying to hack h5diff to print compound type field labels. I'm planning on sharing patches in the hopes that the changes will get integrated into the distribution.

That said, is there a preference of the positioning of the field name? I've currently added the feature to the function that prints the element position in the dataset, so it looks like:

[ 1 0 ]latency          -198.484        -136.111 62.3722

but could add it to the end instead (yeah I realize the format above needs a bit of work). It's slightly more difficult to add a field label to the end, but not impossible.

Any comments from the HDF team? Quincy? Peter? Barbara?

On 08/26/2013 03:55 PM, John K wrote:
I was trying to use h5diff to compare results between two hardware platforms and was quickly reminded that I'm always going to have different results. We store the latency of the data, which is of course different between the two systems.

These are (nearly) all compound types that I'm comparing, and I'd like to be able to ignore the "latency" field when doing comparisons, but I don't see any way to do this with h5diff. What's more, I haven't been able to get h5diff to print the field name with the different output, so I can't be sure the differences are all the latency without hand-inspecting each and every value (there are thousands).

Is there a more efficient way to do differencing on hdf5 files where you ignore one or more field of a compound type?


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

Reply via email to