QString AntFileName = "D:\igs14_2035.atx", AntType = "ASH700936B_M SNOW";//1. Class initialization
double ObsJD = 2455296.50;// start time (approximately) Julian day
QReadAnt readAnt(AntFileName,AntType,ObsJD); // or QReadAnt readAnt(AntFileName); readAnt.setObsJD(AntType,ObsJD);
readAnt.getAllData();// 2. Read data files
double E = 0.7,A = 0.3;// altitude Angle and azimuth Angle
double L1Offset = 0, L2Offset = 0;// save the correction of L1 and L2 line of sight (unit m)
QVector FrqFlag;//
FrqFlag.append("C1C"); FrqFlag.append("L1C"); FrqFlag.append("C1W"); FrqFlag.append("L1W");
readAnt.getRecvL12(E,A,&L1Offset,&L2Offset, FrqFlag);// 3. Function call method (unit m)
Example
QString AntFileName = "D:\igs14_2035.atx", AntType = "ASH700936B_M SNOW";//1. Class initialization double ObsJD = 2455296.50;// start time (approximately) Julian day QReadAnt readAnt(AntFileName,AntType,ObsJD); // or QReadAnt readAnt(AntFileName); readAnt.setObsJD(AntType,ObsJD);
readAnt.getAllData();// 2. Read data files
double E = 0.7,A = 0.3;// altitude Angle and azimuth Angle double L1Offset = 0, L2Offset = 0;// save the correction of L1 and L2 line of sight (unit m) QVector FrqFlag;//
FrqFlag.append("C1C"); FrqFlag.append("L1C"); FrqFlag.append("C1W"); FrqFlag.append("L1W");
readAnt.getRecvL12(E,A,&L1Offset,&L2Offset, FrqFlag);// 3. Function call method (unit m)
int Year = 2010,Month = 4,Day = 10,Hours = 0,Minuts = 0,PRN = 32; double Seconds = 0.0; double StaPos[3] = {9999,999,9999},RecPos[3] = {9999,9999,9999}; double L12OffSet[2] = {0}; QVector FrqFlag;
FrqFlag.append("C1C"); FrqFlag.append("L1C"); FrqFlag.append("C1W"); FrqFlag.append("L1W");
readAnt.getSatOffSet(Year,Month,Day,Hours,Minuts,Seconds,PRN,StaPos,RecPos, L12OffSet, FrqFlag);