Go to the documentation of this file.
84 const Numeric theta = 1 - 300 / t;
85 const Numeric e0 = 77.66 - 103.3 * theta;
87 const Numeric f1 = 20.2 + 146 * theta + 316 * theta * theta;
91 for (
Index iv = 0; iv < nf; iv++) {
95 (e0 - e1) / (
Numeric(1.0) - ifGHz / f1));
97 complex_n(iv, 0) = n.real();
98 complex_n(iv, 1) = n.imag();
137 const Numeric deltabeta = exp(-9.963 + 0.0372 * (t - 273));
138 const Numeric ebdt = exp(b / t);
139 const Numeric betam = (B1 / t) * ebdt / ((ebdt - 1.) * (ebdt - 1.));
141 const Numeric theta = 300. / t - 1;
142 const Numeric alfa = (0.00504 + 0.0062 * theta) * exp(-22.1 * theta);
143 const Numeric reps = 3.1884 + 9.1e-4 * (t - 273);
145 for (
Index iv = 0; iv < nf; iv++) {
152 complex_n(iv, 0) = n.real();
153 complex_n(iv, 1) = n.imag();
220 for (
Index is = 0; is <
ns; is++) {
315 for (
Index is = 0; is <
ns; is++) {
412 for (
Index is = 0; is <
ns; is++) {
Tensor3 z_field(Workspace &ws) noexcept
Numeric lat(Workspace &ws) noexcept
void gridpos(ArrayOfGridPos &gp, ConstVectorView old_grid, ConstVectorView new_grid, const Numeric &extpolfac)
Set up a grid position Array.
void itw2p(VectorView p_values, ConstVectorView p_grid, const ArrayOfGridPos &gp, ConstMatrixView itw)
Converts interpolation weights to pressures.
void refr_index_air_agendaExecute(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, const Numeric rtp_pressure, const Numeric rtp_temperature, const Vector &rtp_vmr, const Vector &f_grid, const Agenda &input_agenda)
Vector lat_grid(Workspace &ws) noexcept
Header file for interpolation.cc.
Numeric refell2d(ConstVectorView refellipsoid, ConstVectorView lat_grid, const GridPos gp)
refell2d
Numeric interp(ConstVectorView itw, ConstVectorView a, const GridPos &tc)
Red 1D Interpolate.
Agenda refr_index_air_agenda(Workspace &ws) noexcept
void z_at_latlon(VectorView z, ConstVectorView p_grid, ConstVectorView lat_grid, ConstVectorView lon_grid, ConstTensor3View z_field, const GridPos &gp_lat, const GridPos &gp_lon)
Returns the geomtrical altitudes of p_grid for one latitude and one longitude.
Numeric refr_index_air(Workspace &ws) noexcept
void get_refr_index_1d(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, const Agenda &refr_index_air_agenda, ConstVectorView p_grid, ConstVectorView refellipsoid, ConstTensor3View z_field, ConstTensor3View t_field, ConstTensor4View vmr_field, ConstVectorView f_grid, const Numeric &r)
get_refr_index_1d
Vector rtp_vmr(Workspace &ws) noexcept
void get_refr_index_2d(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, const Agenda &refr_index_air_agenda, ConstVectorView p_grid, ConstVectorView lat_grid, ConstVectorView refellipsoid, ConstTensor3View z_field, ConstTensor3View t_field, ConstTensor4View vmr_field, ConstVectorView f_grid, const Numeric &r, const Numeric &lat)
get_refr_index_2d
void complex_n_water_liebe93(Matrix &complex_n, const Vector &f_grid, const Numeric &t)
complex_n_water_liebe93
std::complex< Numeric > Complex
void z_at_lat_2d(VectorView z, ConstVectorView p_grid, ConstVectorView lat_grid, ConstMatrixView z_field, const GridPos &gp_lat)
Returns the geomtrical altitudes of p_grid for one latitude.
Numeric lon(Workspace &ws) noexcept
Numeric sqrt(const Rational r)
Square root.
A constant view of a Tensor4.
A class implementing complex numbers for ARTS.
This can be used to make arrays out of anything.
Tensor4 vmr_field(Workspace &ws) noexcept
Vector p_grid(Workspace &ws) noexcept
void refr_gradients_1d(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, Numeric &dndr, const Agenda &refr_index_air_agenda, ConstVectorView p_grid, ConstVectorView refellipsoid, ConstTensor3View z_field, ConstTensor3View t_field, ConstTensor4View vmr_field, ConstVectorView f_grid, const Numeric &r)
refr_gradients_1d
NUMERIC Numeric
The type to use for all floating point numbers.
Numeric refr_index_air_group(Workspace &ws) noexcept
void refr_gradients_2d(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, Numeric &dndr, Numeric &dndlat, const Agenda &refr_index_air_agenda, ConstVectorView p_grid, ConstVectorView lat_grid, ConstVectorView refellipsoid, ConstTensor3View z_field, ConstTensor3View t_field, ConstTensor4View vmr_field, ConstVectorView f_grid, const Numeric &r, const Numeric &lat)
refr_gradients_2d
Vector refellipsoid(Workspace &ws) noexcept
Vector f_grid(Workspace &ws) noexcept
void resize(Index r, Index c)
Resize function.
Numeric rtp_pressure(Workspace &ws) noexcept
Vector lon_grid(Workspace &ws) noexcept
invlib::Vector< ArtsVector > Vector
invlib wrapper type for ARTS vectors.
Numeric rtp_temperature(Workspace &ws) noexcept
Tensor3 t_field(Workspace &ws) noexcept
A constant view of a Tensor3.
Header file for special_interp.cc.
void get_refr_index_3d(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, const Agenda &refr_index_air_agenda, ConstVectorView p_grid, ConstVectorView lat_grid, ConstVectorView lon_grid, ConstVectorView refellipsoid, ConstTensor3View z_field, ConstTensor3View t_field, ConstTensor4View vmr_field, ConstVectorView f_grid, const Numeric &r, const Numeric &lat, const Numeric &lon)
void refr_gradients_3d(Workspace &ws, Numeric &refr_index_air, Numeric &refr_index_air_group, Numeric &dndr, Numeric &dndlat, Numeric &dndlon, const Agenda &refr_index_air_agenda, ConstVectorView p_grid, ConstVectorView lat_grid, ConstVectorView lon_grid, ConstVectorView refellipsoid, ConstTensor3View z_field, ConstTensor3View t_field, ConstTensor4View vmr_field, ConstVectorView f_grid, const Numeric &r, const Numeric &lat, const Numeric &lon)
refr_gradients_3d
INDEX Index
The type to use for all integer numbers and indices.
void complex_n_ice_matzler06(Matrix &complex_n, const Vector &f_grid, const Numeric &t)
complex_n_ice_matzler06
A constant view of a Vector.
void interpweights(VectorView itw, const GridPos &tc)
Red 1D interpolation weights.