#include <weath.h>
|
| Weath () |
|
void | computeRefCo (double &refCoA, double &refCoB, double wavelen, double elev, double lat) const |
|
void | updateSite (coordConv::Site &site) const |
|
Definition at line 9 of file weath.h.
void tcc::Weath::computeRefCo |
( |
double & |
refCoA, |
|
|
double & |
refCoB, |
|
|
double |
wavelen, |
|
|
double |
elev, |
|
|
double |
lat |
|
) |
| const |
Compute refraction coefficients A and B
unrefractedZD = refractedZD + deltaZD, where: deltaZD = A tan(refractedZD) + B tan(refractedZD)^3 refractedZD is the observed zenith distance on earth (rad) unrefractedZD is the zenith distance in vacuum (rad) (The equation is backwards from what we need to compute refracted zenith distance.)
- Parameters
-
[out] | refCoA | refraction coefficient A (deg) |
[out] | refCoB | refraction coefficient B (deg) |
[in] | wavelen | wavelength (Angstroms) |
[in] | elev | height of the observer above sea level (m) |
[in] | lat | latitude of the observer (deg) |
Definition at line 23 of file weath.cc.
void tcc::Weath::updateSite |
( |
coordConv::Site & |
site | ) |
const |
Update refraction coefficients in site information
- Parameters
-
[in,out] | site | information fields read:
- elev
- meanLat
- wavelen fields written:
- refCoA
- refCoB
|
Definition at line 41 of file weath.cc.
double tcc::Weath::airTemp |
ambient air temperature (C)
Definition at line 11 of file weath.h.
humidity (fraction)
Definition at line 18 of file weath.h.
air pressure (Pascals)
Definition at line 17 of file weath.h.
double tcc::Weath::primBackFrontTemp |
primary mirror back - front temperature difference (C)
Definition at line 14 of file weath.h.
double tcc::Weath::primFrontTemp |
primary mirror front temperature (C)
Definition at line 13 of file weath.h.
double tcc::Weath::secBackFrontTemp |
secondary mirror back - front temperature difference (C)
Definition at line 16 of file weath.h.
double tcc::Weath::secFrontTemp |
secondary mirror front temperature (C)
Definition at line 15 of file weath.h.
double tcc::Weath::secTrussTemp |
secondary truss temperature (C)
Definition at line 12 of file weath.h.
double tcc::Weath::tempLapseRate |
temperature lapse rate (C/km); 6.5 is a good default
Definition at line 19 of file weath.h.
double tcc::Weath::timestamp |
TAI date of last update (MJD, sec)
Definition at line 22 of file weath.h.
double tcc::Weath::windDir |
wind direction (degrees, from the south = 0, from the east = 90)
Definition at line 21 of file weath.h.
double tcc::Weath::windSpeed |
wind speed (m/sec)
Definition at line 20 of file weath.h.
The documentation for this class was generated from the following files: