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

Update HDF5 to avoid scipp.DataArray.attrs deprecation warnings #25

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

SimonHeybrock
Copy link
Member

The new files are in ess/loki/2. I am currently not planning on changing any code in ess.

Copy link
Member

@nvaytet nvaytet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check that the results were identical to that when using the old files?

@SimonHeybrock
Copy link
Member Author

SimonHeybrock commented Oct 25, 2023

It is not, and I do not understand why. Have there been other changes to the file?
image
image

@SimonHeybrock
Copy link
Member Author

I pushed an update to fix the discrepancy. I decided to not alter the files (since then the info is kind of lost) and instead applied the offsets in code. I did not apply a bench pos and beam-center offset. Result:

image

@SimonHeybrock SimonHeybrock merged commit 1888ddf into main Oct 26, 2023
3 checks passed
@SimonHeybrock SimonHeybrock deleted the update-data-files-no-attrs branch October 26, 2023 11:49
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

Successfully merging this pull request may close these issues.

2 participants