NBTropModel.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 NB_TROP_MODEL_HPP
41 #define NB_TROP_MODEL_HPP
42 
43 #include "TropModel.hpp"
44 
45 namespace gnsstk
46 {
86  class NBTropModel : public TropModel
87  {
88  public:
90  NBTropModel();
91 
99  NBTropModel(const double& lat,
100  const int& day);
101 
108  NBTropModel(const double& lat,
109  const int& day,
110  const WxObservation& wx);
111 
120  NBTropModel(const double& lat,
121  const int& day,
122  const double& T,
123  const double& P,
124  const double& H);
125 
133  NBTropModel(const double& ht,
134  const double& lat,
135  const int& day);
136 
138  virtual std::string name()
139  { return std::string("NB"); }
140 
142  virtual double correction(double elevation) const;
143 
145  virtual double correction(const Position& RX,
146  const Position& SV,
147  const CommonTime& tt);
148 
150  virtual double correction(const Xvt& RX,
151  const Xvt& SV,
152  const CommonTime& tt);
153 
155  virtual double dry_zenith_delay() const;
156 
158  virtual double wet_zenith_delay() const;
159 
161  virtual double dry_mapping_function(double elevation) const;
162 
164  virtual double wet_mapping_function(double elevation) const;
165 
167  virtual void setWeather(const WxObservation& wx);
168 
170  virtual void setWeather(const double& T,
171  const double& P,
172  const double& H);
173 
177  void setWeather();
178 
180  void setReceiverHeight(const double& ht);
181 
183  void setReceiverLatitude(const double& lat);
184 
186  void setDayOfYear(const int& d);
187 
188  private:
189  bool interpolateWeather; // if true, compute T,P,H from latitude,doy
190  double height; // height (m) of the receiver
191  double latitude; // latitude (deg) of receiver
192  int doy; // day of year
196  bool validDOY;
197  };
198 
199 }
200 #endif
gnsstk::NBTropModel::dry_mapping_function
virtual double dry_mapping_function(double elevation) const
Definition: NBTropModel.cpp:283
gnsstk::NBTropModel
Definition: NBTropModel.hpp:86
gnsstk::NBTropModel::setReceiverLatitude
void setReceiverLatitude(const double &lat)
Definition: NBTropModel.cpp:394
gnsstk::NBTropModel::wet_mapping_function
virtual double wet_mapping_function(double elevation) const
Definition: NBTropModel.cpp:308
example6.day
day
Definition: example6.py:66
gnsstk::NBTropModel::interpolateWeather
bool interpolateWeather
Definition: NBTropModel.hpp:189
gnsstk::NBTropModel::height
double height
Definition: NBTropModel.hpp:190
gnsstk::NBTropModel::validRxHeight
bool validRxHeight
Definition: NBTropModel.hpp:195
gnsstk::TropModel
Definition: TropModel.hpp:105
gnsstk::WxObservation
A Single Weather Observation.
Definition: WxObsMap.hpp:55
gnsstk::NBTropModel::setDayOfYear
void setDayOfYear(const int &d)
Definition: NBTropModel.cpp:404
TropModel.hpp
gnsstk::NBTropModel::doy
int doy
Definition: NBTropModel.hpp:192
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::NBTropModel::validWeather
bool validWeather
Definition: NBTropModel.hpp:193
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::NBTropModel::name
virtual std::string name()
Return the name of the model.
Definition: NBTropModel.hpp:138
gnsstk::Xvt
Definition: Xvt.hpp:60
gnsstk::NBTropModel::latitude
double latitude
Definition: NBTropModel.hpp:191
gnsstk::TrackingCode::P
@ P
Legacy GPS precise code.
gnsstk::NBTropModel::correction
virtual double correction(double elevation) const
Definition: NBTropModel.cpp:205
gnsstk::NBTropModel::NBTropModel
NBTropModel()
Empty constructor.
Definition: NBTropModel.cpp:148
gnsstk::NBTropModel::wet_zenith_delay
virtual double wet_zenith_delay() const
Definition: NBTropModel.cpp:262
gnsstk::NBTropModel::validRxLatitude
bool validRxLatitude
Definition: NBTropModel.hpp:194
gnsstk::Position
Definition: Position.hpp:136
gnsstk::NBTropModel::setWeather
void setWeather()
Definition: NBTropModel.cpp:360
gnsstk::NBTropModel::dry_zenith_delay
virtual double dry_zenith_delay() const
Definition: NBTropModel.cpp:242
gnsstk::NBTropModel::validDOY
bool validDOY
Definition: NBTropModel.hpp:196
gnsstk::NBTropModel::setReceiverHeight
void setReceiverHeight(const double &ht)
Definition: NBTropModel.cpp:384


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