|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB MADOCA Local Combination Module — local correction data combination functions. More...
#include "mrtklib/mrtk_foundation.h"#include "mrtklib/mrtk_madoca_local_corr.h"#include "mrtklib/mrtk_nav.h"#include "mrtklib/mrtk_rtcm.h"#include "mrtklib/mrtk_stream.h"#include "mrtklib/mrtk_time.h"Go to the source code of this file.
Classes | |
| struct | instat_t |
| struct | lclcmbsvr_t |
Functions | |
| int | initgridsta (const char *setfile, lclblock_t *lclblk, int btype) |
| Initialize grid/station settings from a specified file. | |
| void | grid_intp_trop (const gtime_t gt, const stat_t *stat, lclblock_t *lclblk) |
| Interpolate tropospheric grid data. | |
| void | sta_sel_trop (const gtime_t time, const stat_t *stat, lclblock_t *lslblk) |
| Select and assign tropospheric data blocks based on station positions. | |
| void | grid_intp_iono (const gtime_t gt, const stat_t *stat, lclblock_t *lclblk, double maxres, int *nrej, int *ncnt) |
| Interpolate ionospheric grid data. | |
| void | sta_sel_iono (const gtime_t gt, const stat_t *stat, lclblock_t *lslblk) |
| Select and assign ionospheric data blocks based on station positions. | |
| void | output_lclcmb (rtcm_t *rtcm, int btype, stream_t *ostr) |
| Generate and output RTCM3 local combination correction messages. | |
MRTKLIB MADOCA Local Combination Module — local correction data combination functions.
This header provides functions for combining local tropospheric and ionospheric correction data (grid interpolation, station selection, and RTCM3 output), extracted from lclcmbcmn.c with zero algorithmic changes.
Definition in file mrtk_madoca_local_comb.h.
| void grid_intp_iono | ( | const gtime_t | gt, |
| const stat_t * | stat, | ||
| lclblock_t * | lclblk, | ||
| double | maxres, | ||
| int * | nrej, | ||
| int * | ncnt ) |
Interpolate ionospheric grid data.
| [in] | gt | Time |
| [in] | stat | Station data |
| [in,out] | lclblk | Local block information struct |
| [in] | maxres | Maximum residual |
| [out] | nrej | Number of rejections |
| [out] | ncnt | Number of counts |
Definition at line 475 of file mrtk_madoca_local_comb.c.
References corr_iono_distwgt(), corr_iono_plane(), lclblock_t::extp, GN, blkinf_t::gp, blkinf_t::gpitch, blkinf_t::grid, lclblock_t::iblkinf, lclblock_t::idist, lclblock_t::interp, lclblock_t::inum, ion_t::ion, siteion_t::iond, lclblock_t::istat, blkinf_t::mask, MAXSAT, MODE_PLANE, blkinf_t::n, ion_t::std, and ion_t::time.
| void grid_intp_trop | ( | const gtime_t | gt, |
| const stat_t * | stat, | ||
| lclblock_t * | lclblk ) |
Interpolate tropospheric grid data.
| [in] | gt | Time |
| [in] | stat | Station data |
| [in,out] | lclblk | Local block information |
Definition at line 390 of file mrtk_madoca_local_comb.c.
References corr_trop_distwgt(), corr_trop_plane(), lclblock_t::extp, GN, blkinf_t::gp, blkinf_t::gpitch, blkinf_t::grid, lclblock_t::interp, blkinf_t::mask, MODE_PLANE, blkinf_t::n, trp_t::std, lclblock_t::tblkinf, lclblock_t::tdist, trp_t::time, lclblock_t::tnum, trp_t::trp, sitetrp_t::trpd, and lclblock_t::tstat.
| int initgridsta | ( | const char * | setfile, |
| lclblock_t * | lclblk, | ||
| int | btype ) |
Initialize grid/station settings from a specified file.
| [in] | setfile | Grid/station setting file path |
| [in,out] | lclblk | Local block information struct |
| [in] | btype | Block type (BTYPE_GRID or BTYPE_STA) |
Definition at line 308 of file mrtk_madoca_local_comb.c.
References blkinf_t::bn, blkinf_t::bs, blkinf_t::btype, BTYPE_GRID, blkinf_t::gpitch, lclblock_t::iblkinf, initblkinf(), lclblock_t::inum, ION_BLKSIZE, blkinf_t::mask, lclblock_t::tblkinf, lclblock_t::tnum, trace(), and TRP_BLKSIZE.
Generate and output RTCM3 local combination correction messages.
| [in,out] | rtcm | RTCM control struct |
| [in] | btype | Block type (BTYPE_GRID or BTYPE_STA) |
| [in] | ostr | Output stream |
Definition at line 579 of file mrtk_madoca_local_comb.c.
References BTYPE_GRID, BTYPE_STA, gen_rtcm3(), rtcm, and strwrite().
| void sta_sel_iono | ( | const gtime_t | gt, |
| const stat_t * | stat, | ||
| lclblock_t * | lslblk ) |
Select and assign ionospheric data blocks based on station positions.
| [in] | gt | Time |
| [in] | stat | Station data |
| [in,out] | lslblk | Local block information struct |
Definition at line 528 of file mrtk_madoca_local_comb.c.
References blkinf_t::bpos, blkinf_t::bs, D2R, spos_t::ecef, ecef2pos(), blkinf_t::grid, lclblock_t::iblkinf, ion_t::ion, siteion_t::iond, lclblock_t::istat, MAXSAT, blkinf_t::n, stat_t::nsi, stat_t::sion, siteion_t::site, sitetrp_t::site, ion_t::std, stat_t::strp, ion_t::time, timediff(), and lclblock_t::tnum.
| void sta_sel_trop | ( | const gtime_t | time, |
| const stat_t * | stat, | ||
| lclblock_t * | lslblk ) |
Select and assign tropospheric data blocks based on station positions.
| [in] | time | Time |
| [in] | stat | Station data |
| [in,out] | lslblk | Local block information struct |
Definition at line 432 of file mrtk_madoca_local_comb.c.
References blkinf_t::bpos, blkinf_t::bs, D2R, spos_t::ecef, ecef2pos(), blkinf_t::grid, blkinf_t::n, stat_t::nst, sitetrp_t::site, stat_t::strp, lclblock_t::tblkinf, lclblock_t::tnum, sitetrp_t::trpd, and lclblock_t::tstat.