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

Open
wx20jjung opened this issue Jan 29, 2025 · 0 comments

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

@wx20jjung wx20jjung mentioned this issue Feb 1, 2025
5 tasks
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