|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB Atmosphere Module — Ionospheric and tropospheric models. More...
#include "mrtklib/mrtk_coords.h"#include "mrtklib/mrtk_foundation.h"#include "mrtklib/mrtk_nav.h"#include "mrtklib/mrtk_opt.h"#include "mrtklib/mrtk_time.h"Go to the source code of this file.
Functions | |
| double | ionmodel (gtime_t t, const double *ion, const double *pos, const double *azel) |
| Compute ionospheric delay by broadcast ionosphere model (Klobuchar). | |
| double | ionmapf (const double *pos, const double *azel) |
| Compute ionospheric delay mapping function by single layer model. | |
| double | ionppp (const double *pos, const double *azel, double re, double hion, double *posp) |
| Compute ionospheric pierce point (IPP) position and slant factor. | |
| double | tropmodel (gtime_t time, const double *pos, const double *azel, double humi) |
| Compute tropospheric delay by standard atmosphere and Saastamoinen. | |
| double | tropmapf (gtime_t time, const double *pos, const double *azel, double *mapfw) |
| Compute tropospheric mapping function by NMF. | |
| int | ionocorr (gtime_t time, const nav_t *nav, int sat, const double *pos, const double *azel, int ionoopt, double *ion, double *var) |
| Compute ionospheric correction. | |
| int | tropcorr (gtime_t time, const nav_t *nav, const double *pos, const double *azel, int tropopt, double *trp, double *var) |
| Compute tropospheric correction. | |
MRTKLIB Atmosphere Module — Ionospheric and tropospheric models.
This header provides broadcast ionosphere (Klobuchar) model, ionospheric mapping function, ionospheric pierce point computation, tropospheric (Saastamoinen) model, and tropospheric mapping function (NMF/GMF).
Definition in file mrtk_atmos.h.
| double ionmapf | ( | const double * | pos, |
| const double * | azel ) |
Compute ionospheric delay mapping function by single layer model.
| [in] | pos | Receiver position {lat,lon,h} (rad,m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
Definition at line 114 of file mrtk_atmos.c.
References HION, PI, and RE_WGS84.
Referenced by ddres(), ddres(), and ddres().
| double ionmodel | ( | gtime_t | t, |
| const double * | ion, | ||
| const double * | pos, | ||
| const double * | azel ) |
Compute ionospheric delay by broadcast ionosphere model (Klobuchar).
| [in] | t | Time (GPST) |
| [in] | ion | Iono model parameters {a0,a1,a2,a3,b0,b1,b2,b3} |
| [in] | pos | Receiver position {lat,lon,h} (rad,m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
Definition at line 63 of file mrtk_atmos.c.
References CLIGHT, norm(), PI, and time2gpst().
Referenced by ionocorr().
| int ionocorr | ( | gtime_t | time, |
| const nav_t * | nav, | ||
| int | sat, | ||
| const double * | pos, | ||
| const double * | azel, | ||
| int | ionoopt, | ||
| double * | ion, | ||
| double * | var ) |
Compute ionospheric correction.
| [in] | time | Time |
| [in] | nav | Navigation data |
| [in] | sat | Satellite number |
| [in] | pos | Receiver position {lat,lon,h} (rad|m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
| [in] | ionoopt | Ionospheric correction option (IONOOPT_???) |
| [out] | ion | Ionospheric delay (L1) (m) |
| [out] | var | Ionospheric delay (L1) variance (m^2) |
Definition at line 310 of file mrtk_atmos.c.
References ERR_BRDCI, ERR_ION, nav_s::ion_gps, nav_s::ion_qzs, ionmodel(), IONOOPT_BRDC, IONOOPT_OFF, IONOOPT_QZS, IONOOPT_SBAS, IONOOPT_TEC, iontec(), norm(), R2D, sbsioncorr(), SQR, time_str(), and trace().
Referenced by rescode().
| double ionppp | ( | const double * | pos, |
| const double * | azel, | ||
| double | re, | ||
| double | hion, | ||
| double * | posp ) |
Compute ionospheric pierce point (IPP) position and slant factor.
| [in] | pos | Receiver position {lat,lon,h} (rad,m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
| [in] | re | Earth radius (km) |
| [in] | hion | Altitude of ionosphere (km) |
| [out] | posp | Pierce point position {lat,lon,h} (rad,m) |
Definition at line 131 of file mrtk_atmos.c.
Referenced by iondelay(), and sbsioncorr().
| int tropcorr | ( | gtime_t | time, |
| const nav_t * | nav, | ||
| const double * | pos, | ||
| const double * | azel, | ||
| int | tropopt, | ||
| double * | trp, | ||
| double * | var ) |
Compute tropospheric correction.
| [in] | time | Time |
| [in] | nav | Navigation data |
| [in] | pos | Receiver position {lat,lon,h} (rad|m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
| [in] | tropopt | Tropospheric correction option (TROPOPT_???) |
| [out] | trp | Tropospheric delay (m) |
| [out] | var | Tropospheric delay variance (m^2) |
Definition at line 350 of file mrtk_atmos.c.
References ERR_SAAS, ERR_TROP, R2D, REL_HUMI, sbstropcorr(), SQR, time_str(), trace(), tropmodel(), TROPOPT_EST, TROPOPT_ESTG, TROPOPT_OFF, TROPOPT_SAAS, and TROPOPT_SBAS.
Referenced by rescode().
| double tropmapf | ( | gtime_t | time, |
| const double * | pos, | ||
| const double * | azel, | ||
| double * | mapfw ) |
Compute tropospheric mapping function by NMF.
| [in] | time | Time |
| [in] | pos | Receiver position {lat,lon,h} (rad,m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
| [in,out] | mapfw | Wet mapping function (NULL: not output) |
| double tropmodel | ( | gtime_t | time, |
| const double * | pos, | ||
| const double * | azel, | ||
| double | humi ) |
Compute tropospheric delay by standard atmosphere and Saastamoinen.
| [in] | time | Time |
| [in] | pos | Receiver position {lat,lon,h} (rad,m) |
| [in] | azel | Azimuth/elevation angle {az,el} (rad) |
| [in] | humi | Relative humidity |
Definition at line 162 of file mrtk_atmos.c.
References PI.
Referenced by corr_trop_distwgt(), corr_trop_plane(), decode_lcltrop(), encode_lcltrop(), tropcorr(), zdres(), and zdres().