MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_ionex.h File Reference

MRTKLIB IONEX Module — IONEX ionospheric TEC map I/O and interpolation. More...

Include dependency graph for mrtk_ionex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void readtec (const char *file, nav_t *nav, int opt)
 Read IONEX ionospheric TEC grid file.
int iontec (gtime_t time, const nav_t *nav, const double *pos, const double *azel, int opt, double *delay, double *var)
 Compute ionospheric delay by TEC grid data.

Detailed Description

MRTKLIB IONEX Module — IONEX ionospheric TEC map I/O and interpolation.

This header declares the IONEX-related functions extracted from rtklib.h with zero algorithmic changes.

Note
Functions declared here are implemented in mrtk_ionex.c.

Definition in file mrtk_ionex.h.

Function Documentation

◆ iontec()

int iontec ( gtime_t time,
const nav_t * nav,
const double * pos,
const double * azel,
int opt,
double * delay,
double * var )

Compute ionospheric delay by TEC grid data.

Parameters
[in]timeTime (GPST)
[in]navNavigation data (with TEC grid)
[in]posReceiver position {lat,lon,h} (rad,m)
[in]azelAzimuth/elevation angle {az,el} (rad)
[in]optModel option (bit 0: 0=E-layer, 1=F2-layer; bit 1: 0=single-layer, 1=modified single-layer)
[out]delayIonospheric delay (L1) (m)
[out]varIonospheric delay variance (L1) (m^2)
Returns
Status (1:ok, 0:error)

Definition at line 481 of file mrtk_ionex.c.

References iondelay(), MIN_EL, MIN_HGT, nav_s::nt, R2D, nav_s::tec, tec_t::time, time_str(), timediff(), trace(), and VAR_NOTEC.

Referenced by ionocorr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readtec()

void readtec ( const char * file,
nav_t * nav,
int opt )

Read IONEX ionospheric TEC grid file.

Parameters
[in]fileIONEX TEC grid file path (wild-card * expanded)
[in,out]navNavigation data (tec grid data appended)
[in]optRead option (1: no clear of old TEC data, 0: clear)

Definition at line 301 of file mrtk_ionex.c.

References nav_s::cbias, CLIGHT, combtec(), expath(), free, malloc, MAXEXFILE, MAXSAT, nav_s::nt, nav_s::ntmax, readionexb(), readionexh(), nav_s::tec, and trace().

Referenced by execses().

Here is the call graph for this function:
Here is the caller graph for this function: