Skip to content

corr_mode="i0" not functional due to missing(?) dataset variable #214

@KSRandazzo

Description

@KSRandazzo

Attempting to load data using corr_mode="i0" does not work as expected. For example, the following code:

load = phs.load.SST1RSoXSDB(corr_mode="i0", catalog=cat["rsoxs"]["raw"])

results in the error:

KeyError: "No variable named 'RSoXS Au Mesh Current'. Variables on the dataset include []"

This occurs even though "RSoXS Au Mesh Current" appears in the metadata.

As a result, users can't apply i0 correction during data loading, and instead must load with corr_mode="none" and apply the correction manually downstream.

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