Skip to content

Self-description of non-NeXus terms (SECoP) #1569

@g-guenther

Description

@g-guenther

As a result of the SECoP mapping to NeXus the need for a standardized annotation for the meaning of a (data) field arises, e. g. using a term of an ontology. This belongs to fields that are part of the base class definition (e. g. NXsensor/measurement) as well as to those not defined by base classes. It could be useful in general to make use of the sophisticated knowledge representations that exist. To improve machine-readability of a non-NeXus field, the following information could be provided :

  • data_type attribute: defines the NXDL data type of the field
  • identifier attribute: A PID of a resource defining the meaning of the field
  • units_identifier attribute: A PID of a resource defining the units of the field (could be provided in addition to the units attribute)

As it is somehow related, the example of #1335 is used:

entry:NXentry
    ...
    instrument:NXinstrument
        ...
        neutron_guide:NXguide
            ...
            pressure_valve_1=0.1
                @data_type="NX_FLOAT"
                @identifier="https://qudt.org/vocab/quantitykind/Pressure"
                @units="mbar"
                @units_identifier="http://qudt.org/vocab/unit/MilliBAR"

I noticed similar demands in other projects and I think it could be of general interest. Would that make sense?

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