|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB Station Module — Implementation. More...
#include "mrtklib/mrtk_station.h"#include <ctype.h>#include <math.h>#include <stdio.h>#include <string.h>#include "mrtklib/mrtk_trace.h"Go to the source code of this file.
Macros | |
| #define | PI 3.1415926535897932 /* pi */ |
| #define | D2R (PI / 180.0) /* deg to rad */ |
Functions | |
| int | readblqrecord (FILE *fp, double *odisp) |
| Read a single BLQ record (6 lines x 11 values). | |
| int | readelmask (const char *file, int16_t *elmask) |
| Read elevation mask file. | |
| void | readpos (const char *file, const char *rcv, double *pos) |
| Read station positions from file. | |
| int | readblq (const char *file, const char *sta, double *odisp) |
| Read BLQ ocean tide loading parameters. | |
MRTKLIB Station Module — Implementation.
All functions and static data in this file are cut-and-paste extractions from the legacy rtkcmn.c with zero algorithmic changes.
Definition in file mrtk_station.c.
| #define D2R (PI / 180.0) /* deg to rad */ |
Definition at line 42 of file mrtk_station.c.
| #define PI 3.1415926535897932 /* pi */ |
Definition at line 41 of file mrtk_station.c.
|
extern |
Read BLQ ocean tide loading parameters.
| [in] | file | BLQ ocean tide loading parameter file |
| [in] | sta | Station name |
| [out] | odisp | Ocean tide loading parameters |
Definition at line 179 of file mrtk_station.c.
References readblqrecord(), and trace().
Referenced by readotl().
|
extern |
Read a single BLQ record (6 lines x 11 values).
| [in] | fp | Open file pointer |
| [out] | odisp | Ocean tide loading parameters (6*11 values) |
Definition at line 49 of file mrtk_station.c.
Referenced by readblq(), and readblqgrid().
|
extern |
Read elevation mask file.
| [in] | file | Elevation mask file |
| [out] | elmask | Elevation mask vector (360 x 1) (0.1 deg) elmask[i]: elevation mask at azimuth i (deg) |
Definition at line 90 of file mrtk_station.c.
References trace().
|
extern |
Read station positions from file.
| [in] | file | Station position file (lat lon height name per line) |
| [in] | rcv | Station name to search |
| [out] | pos | Station position {lat,lon,h} (rad/m) (all 0 if search error) |
Definition at line 135 of file mrtk_station.c.
References D2R, stas, and trace().