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

Fix logic in read_iasing for deriving scan positon (1-56) from field-of-view (1-224). #830

Closed
wx20jjung opened this issue Jan 29, 2025 · 0 comments · Fixed by #832
Closed

Comments

@wx20jjung
Copy link
Contributor

There is a logic error in deriving scan position from field-of-view. When the value of mod(istep,4) = 0, the position is off by 4. An example would be ipos = 20 and should be ipos = 24.

Here is the current code:
ifor = (ifov-1) / 16 ! Determine field-of-regard
istep = ifov - ((ifor) * 16) ! Determine field-of-view within field-of-regard
ipos = (ifor * 4) + mod(istep,4) ! Determine position of field-of-view within scan line

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 a pull request may close this issue.

1 participant