[Nexus] NXroot attribute

Pete Jemian prjemian at gmail.com
Sun Apr 24 15:04:18 BST 2016


Also, none of these attributes are required
On Apr 24, 2016 8:59 AM, "Osborn, Raymond" <rosborn at anl.gov> wrote:

> I have created an issue on the NeXus Github to fix this (
> https://github.com/nexusformat/definitions/issues/466). The answer to
> your question is that you should set ‘HDF5_Version' to the version number
> of the HDF5 library you use. The ‘HDF_version’ refers to the HDF v4 version
> (before HDF was rebranded as HDF5), and ‘NeXus_version’ refers to the
> version of the NeXus API, which presumably you don’t use.
>
> The inconsistency in capitalization is regrettable. The NIAC will have to
> decide whether it’s worth harmonizing them, but both HDF4 and the NeXus API
> are gradually falling into disuse, so it’s a problem that will wither away
> if we do nothing about it. We should also probably add ‘h5py_version’ and
> possibly ‘nexusformat_version’ (for the Python API), so perhaps versioning
> is getting a bit too complicated.
>
> Ray
>
> > On Apr 23, 2016, at 5:52 PM, V. Armando Sole <sole at esrf.fr> wrote:
> >
> > Hello,
> >
> > In the web page concerning NXroot:
> >
> >
> http://download.nexusformat.org/doc/html/classes/base_classes/NXroot.html
> >
> > I guess one of the attributes is supposed to contain the HDF version.
> >
> > However, I see
> >
> > @NeXus_version: NX_CHAR
> >
> >    Version of NeXus API used in writing the file
> >
> > @HDF_version: NX_CHAR
> >
> >    Version of NeXus API used in writing the file
> >
> > @HDF5_Version: NX_CHAR
> >
> >    Version of NeXus API used in writing the file. Note this attribute is
> spelled with uppercase “V”, different than other version attributes.
> >
> > I guess cut and paste went too far :-)
> >
> > Please, what attribute should contain the HDF version?
> >
> > Best regards,
> >
> > Armando
> >
> > _______________________________________________
> > NeXus mailing list
> > NeXus at nexusformat.org
> > http://lists.nexusformat.org/mailman/listinfo/nexus
>
> --
> Ray Osborn, Senior Scientist
> Materials Science Division
> Argonne National Laboratory
> Argonne, IL 60439, USA
> Phone: +1 (630) 252-9011
> Email: ROsborn at anl.gov
>
>
>
> _______________________________________________
> NeXus mailing list
> NeXus at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20160424/0262d6ef/attachment.html>


More information about the NeXus mailing list