ARTS
2.4.0(git:4fb77825)
|
Workspace functions of geodetic character. More...
#include <cmath>
#include <stdexcept>
#include "arts.h"
#include "check_input.h"
#include "geodetic.h"
#include "matpackI.h"
#include "messages.h"
Go to the source code of this file.
Functions | |
void | refellipsoidForAzimuth (Vector &refellipsoid, const Numeric &latitude, const Numeric &azimuth, const Verbosity &) |
WORKSPACE METHOD: refellipsoidForAzimuth. More... | |
void | refellipsoidOrbitPlane (Vector &refellipsoid, const Numeric &orbitinc, const Verbosity &) |
WORKSPACE METHOD: refellipsoidOrbitPlane. More... | |
void | refellipsoidSet (Vector &refellipsoid, const Numeric &re, const Numeric &e, const Verbosity &) |
WORKSPACE METHOD: refellipsoidSet. More... | |
Variables | |
const Numeric | DEG2RAD |
Workspace functions of geodetic character.
These functions are listed in the doxygen documentation as entries of the file auto_md.h.
Definition in file m_geodetic.cc.
void refellipsoidForAzimuth | ( | Vector & | refellipsoid, |
const Numeric & | latitude, | ||
const Numeric & | azimuth, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: refellipsoidForAzimuth.
Conversion of 3D ellipsoid to 1D curvature radius.
Calculates the curvature radius for the given latitude and azimuth angle, and uses this to set a spherical reference ellipsoid suitable for 1D calculations. The curvature radius is a better local approximation than using the local ellipsoid radius.
The used expression assumes a geodetic latitude, but also latitudes should be OK as using this method anyhow signifies an approximation.
[in,out] | refellipsoid | WS Input/Output |
[in] | latitude | Generic Input |
[in] | azimuth | Generic Input |
Definition at line 53 of file m_geodetic.cc.
References DEG2RAD, pow(), ARTS::Var::refellipsoid(), and sqrt().
Referenced by refellipsoidForAzimuth_g().
void refellipsoidOrbitPlane | ( | Vector & | refellipsoid, |
const Numeric & | orbitinc, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: refellipsoidOrbitPlane.
Conversion of 3D ellipsoid to 2D orbit track geometry.
Determines an approximate reference ellipsoid following an orbit track. The new ellipsoid is determined simply, by determining the radius at the maximum latitude and from this value calculate a new new eccentricity. The orbit is specified by giving the orbit inclination (orbitinc), that is normally a value around 100 deg for polar sun-synchronous orbits.
[in,out] | refellipsoid | WS Input/Output |
[in] | orbitinc | Generic Input |
Definition at line 76 of file m_geodetic.cc.
References chk_if_in_range(), pow(), refell2r(), ARTS::Var::refellipsoid(), and sqrt().
Referenced by refellipsoidOrbitPlane_g().
void refellipsoidSet | ( | Vector & | refellipsoid, |
const Numeric & | re, | ||
const Numeric & | e, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: refellipsoidSet.
Manual setting of the reference ellipsoid.
The two values of refellipsoid can here be set manually. The two arguments correspond directly to first and second element of refellipsoid*.
[out] | refellipsoid | WS Output |
[in] | re | Generic Input |
[in] | e | Generic Input (Default: "0") |
Definition at line 91 of file m_geodetic.cc.
Referenced by refellipsoidSet_g().
|
extern |
Referenced by refellipsoidForAzimuth().