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.