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

PP field extra data words fix #5058

Merged
merged 15 commits into from Nov 14, 2022
Merged

Conversation

bjlittle
Copy link
Member

@bjlittle bjlittle commented Nov 10, 2022

🚀 Pull Request

Description

This PR addresses an issue with MULE altered PP files that include at least 1 extra word in the field data (specified by lblrec) as padding, causing the expected field data shape (specified by lbrow and lbnpt) to disagree with the actual payload data size.

This is limited to specific diagnostics which have been reduced over longitude.

Normally, the fix would be within MULE, however there are now PP files in existence with this issue, and iris is unable to load and save them.

This PR addresses this issue for the specific use case that we are aware of; the solution has not been generalised.

Ping @rcomer


Consult Iris pull request check list

@bjlittle bjlittle changed the title PP extra word fix PP field extra data words fix Nov 11, 2022
@trexfeathers trexfeathers self-assigned this Nov 11, 2022
Copy link
Contributor

@trexfeathers trexfeathers left a comment

Choose a reason for hiding this comment

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

Might be more to come, when I understand this properly!

@trexfeathers
Copy link
Contributor

Thanks @bjlittle! A tangible improvement for those still using PP format 😊

@trexfeathers trexfeathers merged commit e7a8f31 into SciTools:main Nov 14, 2022
@rcomer
Copy link
Member

rcomer commented Nov 14, 2022

Thanks @bjlittle @trexfeathers! 😊🍻

@bjlittle bjlittle deleted the pp-extra-word-fix branch November 16, 2022 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants