Skip to content

[essdiffraction, BEER, bug] cannot load recent McStas data for 2D detector layout #627

@celinedurniak

Description

@celinedurniak

In the latest version of the McStas model, the output NeXus file contains only the layout of the detectors with events.

This means that when using the 2D layout, all the components corresponding to the 3D stack of layers are not in the file.
In the previous version, the 3D structure was in the tree structure but left empty.

This trimmed 2D structure cannot be loaded using the Sciline workflow:
There is an error raised by detector_rotation in io.py:

ValueError: Could not find ".*nD_Mantid_?north.*" in <HDF5 group "[/entry1/instrument/components](http://localhost:8888/entry1/instrument/components)" (208 members)>.

Below is an example of input file for testing

mccode.h5.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions