SaasTropModel.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 //==============================================================================
26 //
27 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
39 
40 #ifndef SAAS_TROP_MODEL_HPP
41 #define SAAS_TROP_MODEL_HPP
42 
43 #include "TropModel.hpp"
44 
45 namespace gnsstk
46 {
80  class SaasTropModel : public TropModel
81  {
82  public:
84  SaasTropModel();
85 
91  SaasTropModel(const double& lat,
92  const int& day);
93 
100  SaasTropModel(const double& lat,
101  const int& day,
102  const WxObservation& wx);
103 
112  SaasTropModel(const double& lat,
113  const int& day,
114  const double& T,
115  const double& P,
116  const double& H);
117 
119  virtual std::string name()
120  { return std::string("Saas"); }
121 
123  virtual double correction(double elevation) const;
124 
126  virtual double correction(const Position& RX,
127  const Position& SV,
128  const CommonTime& tt);
129 
131  virtual double correction(const Xvt& RX,
132  const Xvt& SV,
133  const CommonTime& tt);
134 
136  virtual double dry_zenith_delay() const;
137 
139  virtual double wet_zenith_delay() const;
140 
142  virtual double dry_mapping_function(double elevation) const;
143 
145  virtual double wet_mapping_function(double elevation) const;
146 
148  virtual void setWeather(const WxObservation& wx);
149 
151  virtual void setWeather(const double& T,
152  const double& P,
153  const double& H);
154 
156  void setReceiverHeight(const double& ht);
157 
159  void setReceiverLatitude(const double& lat);
160 
162  void setDayOfYear(const int& d);
163 
164  private:
165  double height;
166  double latitude;
167  int doy;
171  bool validDOY;
172  };
173 
174 }
175 #endif
gnsstk::SaasTropModel::validRxLatitude
bool validRxLatitude
flag for valid Rx latitude
Definition: SaasTropModel.hpp:169
example6.day
day
Definition: example6.py:66
gnsstk::SaasTropModel::doy
int doy
day of year
Definition: SaasTropModel.hpp:167
gnsstk::SaasTropModel::SaasTropModel
SaasTropModel()
Empty constructor.
Definition: SaasTropModel.cpp:77
gnsstk::SaasTropModel::height
double height
height (m) of the receiver above the geoid
Definition: SaasTropModel.hpp:165
gnsstk::SaasTropModel::wet_mapping_function
virtual double wet_mapping_function(double elevation) const
Definition: SaasTropModel.cpp:273
gnsstk::TropModel
Definition: TropModel.hpp:105
gnsstk::SaasTropModel::validDOY
bool validDOY
flag for valid day of year
Definition: SaasTropModel.hpp:171
gnsstk::WxObservation
A Single Weather Observation.
Definition: WxObsMap.hpp:55
TropModel.hpp
gnsstk::SaasTropModel::validWeather
bool validWeather
flag for valid weather
Definition: SaasTropModel.hpp:168
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::SaasTropModel::correction
virtual double correction(double elevation) const
Definition: SaasTropModel.cpp:120
gnsstk::SaasTropModel::validRxHeight
bool validRxHeight
flag for valid Rx longitude
Definition: SaasTropModel.hpp:170
gnsstk::SaasTropModel::latitude
double latitude
latitude (deg) of receiver
Definition: SaasTropModel.hpp:166
gnsstk::SaasTropModel::name
virtual std::string name()
Return the name of the model.
Definition: SaasTropModel.hpp:119
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::SaasTropModel::setReceiverHeight
void setReceiverHeight(const double &ht)
Definition: SaasTropModel.cpp:336
gnsstk::Xvt
Definition: Xvt.hpp:60
gnsstk::SaasTropModel::setWeather
virtual void setWeather(const WxObservation &wx)
Definition: SaasTropModel.cpp:322
gnsstk::TrackingCode::P
@ P
Legacy GPS precise code.
gnsstk::SaasTropModel::dry_zenith_delay
virtual double dry_zenith_delay() const
Definition: SaasTropModel.cpp:189
gnsstk::Position
Definition: Position.hpp:136
gnsstk::SaasTropModel::setDayOfYear
void setDayOfYear(const int &d)
Definition: SaasTropModel.cpp:352
gnsstk::SaasTropModel::dry_mapping_function
virtual double dry_mapping_function(double elevation) const
Definition: SaasTropModel.cpp:224
gnsstk::SaasTropModel
Definition: SaasTropModel.hpp:80
gnsstk::SaasTropModel::setReceiverLatitude
void setReceiverLatitude(const double &lat)
Definition: SaasTropModel.cpp:344
gnsstk::SaasTropModel::wet_zenith_delay
virtual double wet_zenith_delay() const
Definition: SaasTropModel.cpp:199


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41