|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
ISB (inter-system bias) and L2C phase shift corrections. More...
#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "mrtklib/mrtk_clas.h"#include "mrtklib/mrtk_const.h"#include "mrtklib/mrtk_foundation.h"#include "mrtklib/mrtk_nav.h"#include "mrtklib/mrtk_obs.h"#include "mrtklib/mrtk_opt.h"#include "mrtklib/mrtk_sys.h"#include "mrtklib/mrtk_trace.h"Go to the source code of this file.
Macros | |
| #define | NINCISB 256 /* ISB data realloc increment */ |
Functions | |
| static void | setstr (char *dst, const char *src, int n) |
| static int | code2sys (char code) |
| static int | sys2isbidx (int sys) |
| static void | chop_isb (char *str) |
| static int | addisbdata (nav_t *nav, const isb_t *data) |
| static int | readisbf (const char *file, nav_t *nav) |
| int | readisb (const char *file, nav_t *nav) |
| Read ISB correction table from file. | |
| void | setisb (const nav_t *nav, const char *rectype0, const char *rectype1, sta_t *sta0, sta_t *sta1) |
| Set ISB corrections for rover and reference stations. | |
| void | chk_isb (int sysno, const prcopt_t *opt, const sta_t *sta, double y[5][2]) |
| Get ISB correction values for a satellite system. | |
| static void | trim_str (char *str) |
| int | readL2C (const char *file, nav_t *nav) |
| Read L2C 1/4 cycle phase shift table from file. | |
| int | isL2C (int code) |
| Check if observation code is L2C. | |
ISB (inter-system bias) and L2C phase shift corrections.
References: [1] claslib (https://github.com/mf-arai/claslib) — upstream isb.c
Notes:
Definition in file mrtk_clas_isb.c.
| #define NINCISB 256 /* ISB data realloc increment */ |
Definition at line 41 of file mrtk_clas_isb.c.
Referenced by addisbdata().
Definition at line 130 of file mrtk_clas_isb.c.
References free, nav_s::isb, nav_s::ni, nav_s::nimax, NINCISB, and trace().
Referenced by readisbf().
Get ISB correction values for a satellite system.
| [in] | sysno | Satellite system code (SYS_GPS, etc.) |
| [in] | opt | Processing options |
| [in] | sta | Station data with ISB values |
| [out] | y | ISB corrections [NFREQ][2] (0:phase, 1:code) (m) |
Definition at line 451 of file mrtk_clas_isb.c.
References prcopt_t::isb, sta_t::isb, ISBOPT_TABLE, and sys2isbidx().
Referenced by clas_osr_zdres().
|
static |
Definition at line 119 of file mrtk_clas_isb.c.
Referenced by readisbf().
|
static |
Definition at line 71 of file mrtk_clas_isb.c.
References SYS_CMP, SYS_GAL, SYS_GLO, SYS_GPS, SYS_NONE, and SYS_QZS.
Referenced by readisbf().
|
extern |
Check if observation code is L2C.
| [in] | code | Observation code (CODE_???) |
Definition at line 546 of file mrtk_clas_isb.c.
References CODE_L2L, CODE_L2S, and CODE_L2X.
Referenced by clas_osr_zdres(), and zdres().
|
extern |
Read ISB correction table from file.
| [in] | file | ISB table file path (wild-card * expanded) |
| [in,out] | nav | Navigation data (isb array populated) |
Definition at line 308 of file mrtk_clas_isb.c.
References expath(), free, malloc, MAXEXFILE, nav_s::ni, nav_s::nimax, readisbf(), and trace().
Referenced by execses().
|
static |
Definition at line 153 of file mrtk_clas_isb.c.
References addisbdata(), chop_isb(), CLIGHT, code2sys(), isb_t::gsb, nav_s::isb, nav_s::ni, setstr(), isb_t::sta_name, isb_t::sta_name_base, str2num(), sys2isbidx(), and trace().
Referenced by readisb().
|
extern |
Read L2C 1/4 cycle phase shift table from file.
| [in] | file | L2C phase shift table file path |
| [in,out] | nav | Navigation data (sfts populated) |
Definition at line 489 of file mrtk_clas_isb.c.
References sft_t::bias, MAXRECTYP, sft_t::n, PHASE_CYCLE, sft_t::rectyp, nav_s::sfts, str2num(), trace(), and trim_str().
Referenced by execses().
|
extern |
Set ISB corrections for rover and reference stations.
| [in] | nav | Navigation data (contains isb table) |
| [in] | rectype0 | Rover receiver type |
| [in] | rectype1 | Reference receiver type |
| [out] | sta0 | Rover station (isb field populated) |
| [out] | sta1 | Reference station (isb field populated, can be NULL) |
Definition at line 340 of file mrtk_clas_isb.c.
References isb_t::gsb, nav_s::isb, sta_t::isb, nav_s::ni, NSYS, isb_t::sta_name, isb_t::sta_name_base, and trace().
Referenced by execses().
|
static |
Definition at line 49 of file mrtk_clas_isb.c.
Referenced by readisbf().
|
static |
|
static |
Definition at line 476 of file mrtk_clas_isb.c.
Referenced by readL2C().