Skip to content

Why does nxvalidate report errors for NXazint1d and NXazint2d example files generated by nxdl_to_hdf5.py? #40

@meghdadyazdi

Description

@meghdadyazdi

Hi

To test the application definitionsNXazint1d and NXazint2d, I ran nxdl_to_hdf5.py to produce the corresponding example files nx_azint1d.h5 and nx_azint2d.h5

Both files contain:

/entry annotated as NX_class="NXentry"

/entry/data annotated as NX_class="NXdata"

However, when I run nxvalidate for nx_azint1d.h5 and nx_azint1d.h5, I always receive the following messages:

...

definition=NXazint2d.nxdl.xml message="Required group missing"
... nxdlPath=/NXentry/NXdata
... sev=error dataPath=/entry dataFile=nx_azint2d.h5

definition=NXazint2d.nxdl.xml message="Additional base class group data of type NXdata found"
... nxdlPath=/NXentry
... sev=warnbase dataPath=/entry/data dataFile=nx_azint2d.h5

I see the same validation errors with output files produced by our azint_writer, which follows the NXazint1d and NXazint2d structure.

I’m trying to understand whether the validator is interpreting the NXazint1d and NXazint2d layout differently than the files produced by nxdl_to_hdf5.py or I am doing something wrong?

Any suggestions would be appreciated.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions