[Nexus] NXDL technical meetings: poll for meeting on NX_class

Osborn, Raymond rosborn at anl.gov
Tue Nov 10 15:59:21 GMT 2026


Hi everyone,
I feel that we are over-thinking this. In NXDL files, the class is specified as the group’s type.

<group type="NXentry" name="entry"></group>

Each type has a corresponding file containing a definition:

<definition xmlns="http://definition.nexusformat.org/nxdl/3.1" name="NXentry" type="group" extends="NXobject"category="base”>

’NX_class’ isn’t an arbitrary attribute to be defined in NXDL. It’s the way that the NXDL definitions are mapped onto HDF5 files and so it shouldn’t appear anywhere in a NXDL file, except possibly in a <doc> tag. We could perhaps put such a <doc> tag in the NXobject base class.

I had a conversation with Claude about this topic, and it came up with these analogies:

“NX_class is information about a group, namely which definition applies to it. Listing it among the contents is like a dictionary entry including “this is a dictionary entry' in its definition, or a database table storing its own table name in a column.”

In my view, this is a documentation issue, not a NXDL issue. It is the job of validation tools, such as those in NeXpy and pynxtools, to be aware of how the ’type’ attribute in base class definitions maps onto HDF5 attributes. Hiding such implementation details was one of the original purposes of the NAPI and remains one of my motivations for maintaining the Python nexusformat package. The longer such arguments go on, the more I feel like recommending that we revive NAPI. In an age of agentic coding, it would not, in my view, be particularly difficult to maintain, and it would save a lot of time on philosophical arguments like this one.

I will try to make the next meeting.

With regards,
Ray
--
Ray Osborn, Senior Scientist
Materials Science Division
Argonne National Laboratory
Lemont, IL 60439, USA
Phone: +1 (630) 252-9011
Email: ROsborn at anl.gov


From: NeXus <nexus-bounces at shadow.nd.rl.ac.uk> on behalf of Wout De Nolf via NeXus <nexus at shadow.nd.rl.ac.uk>
Date: Monday, November 9, 2026 at 10:16 AM
To: Discussion forum for the NeXus data format <nexus at shadow.isis.cclrc.ac.uk>
Cc: Wout De Nolf <wout.de_nolf at esrf.fr>; nexus at nexusformat.org <nexus at nexusformat.org>
Subject: Re: [Nexus] NXDL technical meetings: poll for meeting on NX_class

This Message Is From an External Sender
This message came from outside your organization.


Hi folks,

The original issue description of https://github.com/nexusformat/definitions/issues/1687<https://urldefense.us/v3/__https://github.com/nexusformat/definitions/issues/1687__;!!G_uCfscf7eWS!d48FchVJr_o2I_5SY-JCFvj03w7I1-nwntz5XQtvqAkf7zCG4N2_bMyqCAuHxAIGetlP8_iTHotsmyvCMK-8ww$> still tried considering the possibility of treating NX_class like any other attribute. This causes so many problems I already decided to remove it from the viable solutions.

But if NX_class is an HDF5 attribute but not a NeXus attribute, then what is it?

And why am I suddenly dragging the "name" of a group into this?

Join the meeting to descend into the bowels of NeXus and find out together!


What: NXDL Technical Meetings
Topic: Name and class: must every group have them and what are they?
Time: November 13, 2026

🌐 UTC: 15:00
🇪🇺 CET (Paris): 16:00
🇺🇸 EST (US East): 10:00
🇺🇸 CST (US Central): 09:00
🇺🇸 PST (US West): 07:00

Zoom meeting details: #NXDL > Declare attributes of all fields and groups @ 💬<https://urldefense.us/v3/__https://nexusformat.zulipchat.com/*narrow/channel/638997-NXDL/topic/Declare.20attributes.20of.20all.20fields.20and.20groups/near/638776547__;Iw!!G_uCfscf7eWS!d48FchVJr_o2I_5SY-JCFvj03w7I1-nwntz5XQtvqAkf7zCG4N2_bMyqCAuHxAIGetlP8_iTHotsmyvudh40iA$>

Cheers,

Wout De Nolf


On 2026-11-06 15:29, Wout De Nolf via NeXus wrote:

Hi folks,

New poll for an NXDL technical meeting:

Topic: NX_class which is not really an attribute like the others (https://github.com/nexusformat/definitions/issues/1687<https://urldefense.us/v3/__https://github.com/nexusformat/definitions/issues/1687__;!!G_uCfscf7eWS!d48FchVJr_o2I_5SY-JCFvj03w7I1-nwntz5XQtvqAkf7zCG4N2_bMyqCAuHxAIGetlP8_iTHotsmyvCMK-8ww$>)

Poll: #NXDL > Declare attributes of all fields and groups @ 💬<https://urldefense.us/v3/__https://nexusformat.zulipchat.com/*narrow/channel/638997-NXDL/topic/Declare.20attributes.20of.20all.20fields.20and.20groups/near/638149013__;Iw!!G_uCfscf7eWS!d48FchVJr_o2I_5SY-JCFvj03w7I1-nwntz5XQtvqAkf7zCG4N2_bMyqCAuHxAIGetlP8_iTHotsmyuB8WwlxA$>

Cheers,
Wout De Nolf

_______________________________________________
NeXus mailing list
NeXus at nexusformat.org<mailto:NeXus at nexusformat.org>
https://lists.nexusformat.org/mailman/listinfo/nexus<https://urldefense.us/v3/__https://lists.nexusformat.org/mailman/listinfo/nexus__;!!G_uCfscf7eWS!d48FchVJr_o2I_5SY-JCFvj03w7I1-nwntz5XQtvqAkf7zCG4N2_bMyqCAuHxAIGetlP8_iTHotsmyvwBaHo7A$>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nexusformat.org/pipermail/nexus/attachments/20261110/19b3cc0f/attachment-0003.htm>


More information about the NeXus mailing list