Skip to content

Conversation

@fabiolrdiniz
Copy link
Contributor

Description

This PR is clamping the acos argument to [-1,1] to avoid NaN when converting AHI data using the obs2ioda converter.

Issue(s) addressed

Resolves #1731

Dependencies

None

Impact

None

Manual Testing Instructions (optional)

If you would like your reviewers to manually build and test the change, please include
instructions on how the change should be built and tested. Also include a short
justification on why manual testing is necessary for this change.

Checklist

  • I have performed a self-review of my own code
    - [ ] I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

@fabiolrdiniz fabiolrdiniz added the OBS OBS processing, UFO label Dec 8, 2025
@fabiolrdiniz fabiolrdiniz assigned fabiolrdiniz and fcvdb and unassigned fcvdb Dec 8, 2025
@fabiolrdiniz fabiolrdiniz requested a review from fcvdb December 8, 2025 04:46
Copy link
Collaborator

@fcvdb fcvdb left a comment

Choose a reason for hiding this comment

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

Thanks Fabio!

Copy link
Collaborator

@BenjaminRuston BenjaminRuston left a comment

Choose a reason for hiding this comment

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

great thanks @fabiolrdiniz

@fabiolrdiniz fabiolrdiniz added the ready for merge PR is reviewed and is ready for merge label Dec 10, 2025
@BenjaminRuston BenjaminRuston merged commit 05ec1ed into develop Dec 11, 2025
3 checks passed
@BenjaminRuston BenjaminRuston deleted the bugfix/fix4obs2ioda branch December 11, 2025 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OBS OBS processing, UFO ready for merge PR is reviewed and is ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] obs2ioda crashes converting AHI data

4 participants