Conversation
…he ANTEX file When the antenna type in the RINEX header has no entry in the ANTEX file, rdatx prints "###WARNING(rdatx): Antenna not found" and applies a zero antenna model (no PCO, no PCV). pdp3 runs the programs through ExecuteWithoutOutput, which discards their output when they exit 0, so the warning never reaches the user and the run looks clean. Observed with a SparkFun SFESPK6618H (calibrated by NGS, absent from igs20.atx): the height came out about 102 mm high compared with the same day processed after adding the NGS entry, with nothing on the console pointing at the antenna. After the ANTEX file is prepared, read the antenna type from the RINEX header (columns 21-40 of "ANT # / TYPE") and look it up in abs_igs.atx by an exact 20-column match on the "TYPE / SERIAL NO" lines. If it is missing, try the radome NONE variant as rdatx does and say so; if that is missing too, print two warning lines and a hint naming the table file to augment. Warning only, processing is unchanged; skipped in LEO mode, where leoatx.py adds the entry. Verified on Ubuntu 24.04 with one daily RINEX file processed twice: the stock igs20_2425.atx prints the warning and the pos file shows zero PCO; with the NGS entry appended to the table copy there is no warning and the PCO values are applied. Antennas present in the stock table pass silently.
smyrgl
marked this pull request as ready for review
September 16, 2026 17:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem: When the antenna type in the RINEX header has no entry in the ANTEX file,
rdatxprints###WARNING(rdatx): Antenna not foundand applies a zero antenna model (no PCO, no PCV). Butpdp3runs the programs throughExecuteWithoutOutput, which discards their output when they exit 0, so that warning never reaches the user and the run looks clean.I hit this with a SparkFun SFESPK6618H, which is calibrated by NGS but absent from
igs20.atx. The processing succeeded and the height came out about 102 mm high compared with the same day processed after adding the NGS entry to the table copy of the ANTEX (horizontal position unaffected). Nothing in the console pointed at the antenna.Fix: Right after
Prepare IGS ANTEX file ... done,pdp3reads the antenna type from the RINEX header (columns 21-40 of theANT # / TYPEline) and looks it up inabs_igs.atxby an exact 20-column match on theTYPE / SERIAL NOlines. If it is missing it tries the radomeNONEvariant, mirroring whatrdatxdoes itself, and says so. If that is missing too it prints two warning lines and a hint naming the table file to augment:It is a warning only; processing is unchanged. The check is skipped in LEO mode, where
leoatx.pyadds the entry.Verified: The same daily RINEX file processed twice on Ubuntu 24.04: with the stock
igs20_2425.atxthe warning is printed and theSITE ANTENNA PCOlines in the pos file are zero; with the NGS entry appended to the table copy there is no warning and the PCO values are applied. Antennas present in the stock table (for exampleTRM59800.00 SCIS) pass silently.