<div dir="ltr"><div><div><div><div>Dear Pete,<br><br></div> If you are on a system with good dlfnc support and are using a recent HDF5 library, then use of the plugin filters is transparent (just install the filters and define the HDF5_PLUGIN_PATH environment variable). The serious problem is on a system or applications with an old hdf5 library (e.g. 1.6). Then you need an application such as h5repack built against a recent hdf5 to repack the file with compressions that are known to the old application, but somewhere you need a new hdf5 installation to make this work.<br><br></div> This will make a good test case to document in detail on the <a href="http://hdrmx.medsbio.org">hdrmx.medsbio.org</a> website as a tutorial both for users and sysadmins.<br><br></div> Regards,<br></div> Herbert <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 24, 2016 at 8:45 AM, Jemian, Pete R. <span dir="ltr"><<a href="mailto:jemian@anl.gov" target="_blank">jemian@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF">
<div>Eugen</div>
<div><br>
</div>
<div>First off, I (representing the user who asked me about this) want to read that file with the HDF5 plugin in IgorPro on a Mac.</div>
<div><br>
</div>
<div>Adding the compression library to this toolset is not trivial. I must persuade the 3rd party developer of that plugin to make this addition.</div>
<div><br>
</div>
<div>I also want to read that file with the h5py package in python on mac, Windows, and Linux.</div>
<div><br>
</div>
<div>We are on the leading edge here but our users have already begun to struggle with reading these files. Until the compression filters are part of common installations, a converter tool is needed.</div>
<div><br>
</div>
<div>Pete</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:85%;color:#575757"><br>
</div>
<div style="font-size:85%;color:#575757">Sent from a device with a dreadfully small screen</div>
</div><div><div class="h5">
<br>
<br>
-------- Original message --------<br>
From: Eugen Wintersberger <<a href="mailto:eugen.wintersberger@desy.de" target="_blank">eugen.wintersberger@desy.de</a>> <br>
Date: 6/24/2016 3:05 AM (GMT-06:00) <br>
To: "Jemian, Pete R." <<a href="mailto:jemian@anl.gov" target="_blank">jemian@anl.gov</a>>, "Herbert J. Bernstein" <<a href="mailto:yayahjb@gmail.com" target="_blank">yayahjb@gmail.com</a>>, Discussion forum for the NeXus data format <<a href="mailto:nexus@nexusformat.org" target="_blank">nexus@nexusformat.org</a>>
<br>
Cc: <a href="mailto:Tobias.Richter@diamond.ac.uk" target="_blank">Tobias.Richter@diamond.ac.uk</a>, <a href="mailto:jjakoncic@bnl.gov" target="_blank">jjakoncic@bnl.gov</a>, <a href="mailto:andreas.foerster@dectris.com" target="_blank">andreas.foerster@dectris.com</a>, <a href="mailto:rsweet@bnl.gov" target="_blank">rsweet@bnl.gov</a>
<br>
Subject: Re: [Nexus] how to read files from Eiger? <br>
<br>
<div>
<p>Hi Pete,</p>
<p>On which Linux systems do you want to read the files. For Ubuntu 14.04 and Debian 8 we have packages available.
<br>
</p>
<div>On 06/23/16 19:27, Pete Jemian wrote:<br>
</div>
<blockquote type="cite">Very helpful. Thanks for the quick turnaround. <br>
Now I go off in a corner with an internet connection for quiet time ... <br>
<br>
On 6/23/2016 12:25 PM, Herbert J. Bernstein wrote: <br>
<blockquote type="cite">Dear Pete, <br>
<br>
This is a solvable problem, but requires some preliminary software installations. First, be sure your HDF5 kit is reasonably recent and has filter plugin support. Then pickup and install both the LZ4 and BitShuffle filters. Now make sure HDF5_PLUGIN_PATH
is defined to point to the directory containing the filter libraries. Then h5dump should be able to handle the Eiger files.
<br>
</blockquote>
</blockquote>
For the current files BittShuffle is not required. Most probably required for latter releases of the detector?<br>
<br>
regards<br>
Eugen<br>
<blockquote type="cite">
<blockquote type="cite"><br>
Eugen is gathering the filters on github. I am gathering other software and links to test data and templates at <a href="http://HDRMX.medsbio.org" target="_blank">HDRMX.medsbio.org</a>. There is a link for the hdrmx-bb list on the page. Please post comments, questions and suggestions there.
<br>
<br>
Regards, <br>
Herbert <br>
<br>
Sent from my iPad <br>
<br>
<blockquote type="cite">On Jun 23, 2016, at 12:48, Pete Jemian <a href="mailto:prjemian@gmail.com" target="_blank">
<prjemian@gmail.com></a> wrote: <br>
<br>
<br>
We have received a linked fileset from an Eiger 1M Anderson want to read it. <br>
Cannot seem to progress past knowing that there is data. <br>
Here is an excerpt from h5dump (version 1.8.16): <br>
<br>
DATASET "data" { <br>
DATATYPE H5T_STD_U32LE <br>
DATASPACE SIMPLE { ( 1, 1065, 1030 ) / ( H5S_UNLIMITED, 1065, 1030 ) }
<br>
DATA {h5dump error: unable to print data <br>
<br>
} <br>
ATTRIBUTE "image_nr_high" { <br>
DATATYPE H5T_STD_I32LE <br>
DATASPACE SCALAR <br>
DATA { <br>
(0): 1 <br>
} <br>
} <br>
ATTRIBUTE "image_nr_low" { <br>
DATATYPE H5T_STD_I32LE <br>
DATASPACE SCALAR <br>
DATA { <br>
(0): 1 <br>
} <br>
} <br>
} <br>
<br>
It's the error: "h5dump error: unable to print data" <br>
<br>
Is this the case where we have the wrong version of the HDF5 libraries? <br>
Is there a tool to render such files compatible with the 1.8 libraries? <br>
If so, where is that tool? <br>
<br>
Pete <br>
<br>
_______________________________________________ <br>
NeXus mailing list <br>
<a href="mailto:NeXus@nexusformat.org" target="_blank">NeXus@nexusformat.org</a>
<br>
<a href="http://lists.nexusformat.org/mailman/listinfo/nexus" target="_blank">http://lists.nexusformat.org/mailman/listinfo/nexus</a>
<br>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
<div>-- <br>
Dr. Eugen Wintersberger <br>
<br>
FS-EC <br>
DESY <br>
Notkestr. 85 <br>
D-22607 Hamburg <br>
Germany <br>
<br>
E-Mail: <a href="mailto:eugen.wintersberger@desy.de" target="_blank">
eugen.wintersberger@desy.de</a> <br>
Telefon: <a href="tel:%2B49-40-8998-1917" value="+494089981917" target="_blank">+49-40-8998-1917</a> <br>
</div>
</div>
</div></div></div>
</blockquote></div><br></div>