|
MRTKLIB 0.7.14
Modernized GNSS Positioning Library
|
MRTKLIB Station Module — Site environment parameter I/O. More...
#include <stdint.h>#include <stdio.h>Go to the source code of this file.
Functions | |
| 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 | readblqrecord (FILE *fp, double *odisp) |
| Read a single BLQ record (6 lines x 11 values). | |
| int | readblq (const char *file, const char *sta, double *odisp) |
| Read BLQ ocean tide loading parameters. | |
MRTKLIB Station Module — Site environment parameter I/O.
This header provides functions for reading station-related files: elevation mask, reference positions, and ocean tide loading (BLQ) parameters, extracted from rtkcmn.c with zero algorithmic changes.
Definition in file mrtk_station.h.
| int readblq | ( | const char * | file, |
| const char * | sta, | ||
| double * | odisp ) |
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().
| int readblqrecord | ( | FILE * | fp, |
| double * | odisp ) |
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().
| int readelmask | ( | const char * | file, |
| int16_t * | elmask ) |
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().
| void readpos | ( | const char * | file, |
| const char * | rcv, | ||
| double * | pos ) |
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().