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

ANTEX: PCV with azimuth, full freq range, ANTEX 2, SINEX metadata #533

Open
wants to merge 2 commits into
base: demo5
Choose a base branch
from

Conversation

ourairquality
Copy link

The ANTEX support was limited, perhaps good for GPS frequencies L1 and L2, but beyond that it was limited, and using more signals across multiple systems it was problematic. If the PCO is missing or wrong for some signals then that makes the solution difficult or throws it off, often showing up as an error in the height first. While addressing those issues, also added support for PCV azimuth, and for ANTEX 2 which in turn needed some limited support for satellite meta data SINEX files.

This helps if not using matched antennas, and if using a competent base for RTK.

It assumes the antennas are horizontal and pointing north. There is no support in the code yet to consider the rover heading.

Added interpolation for the receiver PCO an PCV across frequencies. If a low end antenna has at least a GPS L1 and L2 calibration then that will be used for other signals in the same band. Even supplying the L1 and L2 PCO can help and this is often printed on the label.

Some antennas with an otherwise tight PCO can vary a lot over frequency in the lower frequency band, 10mm+, so interpolation will not always be great particularly in the lower frequency band.

The ANTEX 2 files are at https://files.igs.org/pub/station/general/atx_alternative/atx2/ and the meta data at https://files.igs.org/pub/station/general/ ANTEX 2 adds nothing over ANTEX 1 for the solution and should give the same solution, it was just a small thing to add support while look over this code. ANTEX 2 has less redundant information, almost half the file size. Some example options for ANTEX 2:
file-satmetafile =igs_satellite_metadata.snx
file-satantfile =igs20_sat.atx2
file-rcvantfile =igs20_rcv.atx2

The windows app GUI support is not done, that just means there is no file selection for the ANTEX 2 meta data file, it should otherwise work, and ANTEX 2 adds nothing to the solution.

This is a useful function for parsing the formatted files, so
move this from rinex.c into rktcmd.c and export it.
Improve the ANTEX support.

* Support PCV with azimuth. Was just NOAZI. Use linear interpolation
  between azimuth points, as well as the zenith. Satellite PCV still
  only supports NOAZI as that is most common, but all the support is
  there to extend this to vary with azimuth

* Support ZEN1, ZEN2, DZEN, and DAZI. The PHV size is also now
  variable so the smallest size array is allocated. There was a fixed
  azimuth length of 19. It now correctly handles variations of these
  parameters. Require some more memory management, to free these.

* Support the full range of frequencies, across systems. Was just GPS
  and NFREQ. The usage of the antmodel() etc functions needed to
  change. There were returning a NFREQ array with the offsets, but
  that did not work with multiple systems with different frequencies
  mapped to the frequency same indices - these functions are now
  single frequency functions.

* Support PCO and PCV interpolation between frequency entries, with
  heuristics to avoid extrapolation of noisy data, and avoid
  interpolation across frequency bands (which may well be implemented
  with separate antenna elements e.g. stacked elements).

* Add support for ANTEX 2 which avoids much redundancy. This required
  the PRN to SVN mapping in the SINEX satellite meta data.

* Add minimal SINEX satellite meta data support, just for the PRN to
  SVN mappings. Adding the file-satmetafile option.

* Support for the console apps.

* Support for the qt apps, adding the satellite meta data file to the
  GUI.

* Some windows app support, untested, and not yet the satellite meta
  data file for ANTEX 2 which needs adding to the GUI.
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 this pull request may close these issues.

1 participant