Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for legacy source names #460

Open
philsmt opened this issue Oct 27, 2023 · 0 comments
Open

Support for legacy source names #460

philsmt opened this issue Oct 27, 2023 · 0 comments

Comments

@philsmt
Copy link
Contributor

philsmt commented Oct 27, 2023

As part of the data reduction effort, files from offline corrections will end up in the same folder as raw data. Attempting to open this folder as a single data collection would load files covering the trains for the same source names, which EXtra-data prevents. Therefore we aim to rename source names for data resulting from offline corrections.

To make the transition period easier, we can insert an h5py.SoftLink under the old source name. This allows transparent access under the original name, while we can make EXtra-data aware of the link for the purpose of duplication checks. Additionally, access via the legacy name should return the same SourceData as the proper name, rather than one for the legacy name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant