Skip to content

Fixes to AACGM_v2 conversions and rpos geolocation#661

Open
egthomas wants to merge 3 commits into
developfrom
fix/aacgm_and_rpos
Open

Fixes to AACGM_v2 conversions and rpos geolocation#661
egthomas wants to merge 3 commits into
developfrom
fix/aacgm_and_rpos

Conversation

@egthomas
Copy link
Copy Markdown
Member

This pull request addresses #660 and #548 by making several changes throughout the RST. First, the calls to AACGM_v2_Convert now use the GEOCENTRIC option where the input coordinates are already in geocentric (rather than geodetic) coordinates, thus avoiding an extra conversion into geocentric coordinates. There isn't an obvious way to test this other than to insert your own debug print statements into the modified plotting binaries or invmag.c, or just running make_grid to ensure it still gives nearly identical results.

Second, an older bug causing AACGM_v2 warnings when applying the Chisham virtual height model to very long-range (presumably multi-hop) scatter has been fixed by modifying fldpnth to return the "corrected" virtual height for multi-hop ionospheric scatter rather than the artificially-high "pseudo" virtual height needed for the Chisham VHM's range-finding. This particular fix is most easily tested by using make_grid with the -chisham keyword on recent Falkland Islands (FIR) data.

Note there is another error in cnvtcoord.c where input elevation angles are not correctly handled by fldpnth, but that may be better left for another pull request (or perhaps those functions should be replaced entirely by the more comprehensive RPosGeo_v2 functionality I added a few years ago).

…ight for multi-hop scatter with Chisham VHM using actual elevation angle, instead of artificially high pseudo virtual height
…r multi-hop scatter with Chisham VHM, and updating C version to use rrad instead of RE for consistency
@egthomas egthomas added the bug label Apr 17, 2026
@egthomas egthomas linked an issue Apr 17, 2026 that may be closed by this pull request
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible incorrect AACGMv2 usage

1 participant