ARTS 2.5.4 (git: 31ce4f0e)
fastem.cc File Reference

This file contains functions that are adapted from FASTEM code which is used to calculate surface emissivity. More...

#include <cmath>
#include <stdexcept>
#include "arts_constants.h"
#include "arts_conversions.h"
#include "matpack_complex.h"
#include "exceptions.h"
#include "matpackI.h"

Go to the source code of this file.

Functions

void rttov_fastem5_ (const Index &fastem_version, const Numeric &frequency, const Numeric &za, const Numeric &temperature, const Numeric &salinity, const Numeric &wind_speed, Numeric *emissivity, Numeric *reflectivity, const Numeric &transmittance, const Numeric &rel_azimuth)
 
void fastem (Vector &emissivity, Vector &reflectivity, const Numeric frequency, const Numeric za, const Numeric temperature, const Numeric salinity, const Numeric wind_speed, const Numeric transmittance, const Numeric rel_azimuth, const Index fastem_version)
 Calculate the surface emissivity using FASTEM. More...
 

Variables

constexpr Numeric PI =Constant::pi
 
constexpr Numeric DEG2RAD =Conversion::deg2rad(1)
 
constexpr Numeric RAD2DEG =Conversion::rad2deg(1)
 

Detailed Description

This file contains functions that are adapted from FASTEM code which is used to calculate surface emissivity.

Author
Sreerekha Ravi rekha.nosp@m.@sat.nosp@m..phys.nosp@m.ik.u.nosp@m.ni-br.nosp@m.emen.nosp@m..de
Date
Tue Aug 10 15:16:31 2004

Definition in file fastem.cc.

Function Documentation

◆ fastem()

void fastem ( Vector emissivity,
Vector reflectivity,
const Numeric  frequency,
const Numeric  za,
const Numeric  temperature,
const Numeric  salinity,
const Numeric  wind_speed,
const Numeric  transmittance,
const Numeric  rel_azimuth,
const Index  fastem_version 
)

Calculate the surface emissivity using FASTEM.

Calculate surface emissivity using the FASTEM model from RTTOV.

This is a direct interface to the code from RTTOV. No checkls of input is made, to obtain this feature use FastemStandAlone that is also handling multiple frequencies.

Parameters
[out]emissivityCalculated surface emissivity
[out]reflectivityCalculated surface reflectivity
[in]frequencyFrequency [Hz]
[in]zaZenith angle of line-of-sigh
[in]temperatureTemperature
[in]salinitySalinity [0-1]
[in]wind_speedWind speed
[in]transmittanceTransmittance along downwelling direction.
[in]rel_azimuthRelative azimuth angle (may not be used)
[in]fastem_versionFASTEM version
Author
Oliver Lemke
Date
2014-12-09

Definition at line 109 of file fastem.cc.

References ConstVectorView::get_c_array(), Vector::resize(), and rttov_fastem5_().

Referenced by FastemStandAlone().

◆ rttov_fastem5_()

void rttov_fastem5_ ( const Index fastem_version,
const Numeric frequency,
const Numeric za,
const Numeric temperature,
const Numeric salinity,
const Numeric wind_speed,
Numeric emissivity,
Numeric reflectivity,
const Numeric transmittance,
const Numeric rel_azimuth 
)

Definition at line 71 of file fastem.cc.

Referenced by fastem().

Variable Documentation

◆ DEG2RAD

constexpr Numeric DEG2RAD =Conversion::deg2rad(1)
inlineconstexpr

Definition at line 46 of file fastem.cc.

◆ PI

constexpr Numeric PI =Constant::pi
inlineconstexpr

Definition at line 45 of file fastem.cc.

◆ RAD2DEG

constexpr Numeric RAD2DEG =Conversion::rad2deg(1)
inlineconstexpr

Definition at line 47 of file fastem.cc.