📄 ashtech.h
字号:
#include <stdio.h>
/* HEADER FILE for ASHTECH binary data */
typedef struct /* Header & structure for binary files */
{
char fname[40]; /* file name */
FILE *f; /* file pointer */
short vbufsize; /* size of file buffer (internal) */
void *vbuf; /* pointer to vbuf (allocated in open) */
} ash_bin_file_type;
/* structrues */
typedef struct /* binary header (all records) */
{
char sych[10]; /* $PASHR.MCA or $PASHR.MPC */
unsigned short sequence_tag; /* unit ms */
unsigned char left;
} mben_header_ash_type;
typedef struct /* measurement (data) record */
{
unsigned svprn;
unsigned elev; /* unit degree */
unsigned azim; /* unit 10 degree */
unsigned char chnind;
unsigned char warning;
unsigned char goodbad;
unsigned char polarity_know;
unsigned char ireg;
unsigned char qa_phase;
double phase; /* unit cycle */
double raw_range; /* unit s */
long doppler; /* unit 10 -4 Hz */
long smoothing; /* unit cm */
unsigned char checksum;
} mben_data_nov_type;
int Asheten2Rinex(char *SourceFile,char *RinexFile,int Interval);
void close_bin_file( ash_bin_file_type *h );
ash_bin_file_type *open_bin_file( char *fname, unsigned vbufsize );
int read_bin_epoch( ash_bin_file_type *h, mben_header_ash_type *mben_head,
mben_data_nov_type *mben_data );
void WriteRinexObsEpochFile(FILE *RinexRecFile,mben_header_ash_type *p,mben_data_nov_type *m);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -