TUV-x
Loading...
Searching...
No Matches
tuvx_temperature_parameterization::temperature_parameterization_t Interface Reference

Parameters for calculating cross section values based on temperature. More...

Inheritance diagram for tuvx_temperature_parameterization::temperature_parameterization_t:
tuvx_temperature_parameterization_burkholder::temperature_parameterization_burkholder_t tuvx_temperature_parameterization_harwood::temperature_parameterization_harwood_t tuvx_temperature_parameterization_taylor_series::temperature_parameterization_taylor_series_t

Public Member Functions

procedure merge_wavelength_grids (this, input_grid)
 Merges NetCDF wavelength grid with parameterization grid.
 
procedure calculate (this, temperature, wavelengths, cross_section)
 Calculate the cross section value for a specific temperature and wavelength.
 
procedure pack_size (this, comm)
 Returns the number of bytes required to pack the parameterization onto a character buffer.
 
procedure mpi_pack (this, buffer, position, comm)
 Packs the parameterization onto a character buffer.
 
procedure mpi_unpack (this, buffer, position, comm)
 Unpacks the parameterization from a character buffer.
 
type(temperature_parameterization_t) function constructor (config, wavelengths)
 

Public Attributes

integer n_sets_ = 0
 
real(kind=dk), dimension(:), allocatable aa_
 
real(kind=dk), dimension(:), allocatable bb_
 
real(kind=dk), dimension(:), allocatable lp_
 
real(kind=dk), dimension(:), allocatable wavelengths_
 Wavelengths in parameterization range [nm].
 
real(kind=dk) base_temperature_ = 0.0_dk
 Base temperature [K] to use in calculations.
 
real(kind=dk) base_wavelength_ = 0.0_dk
 Base wavelength [nm] to use in calcuations.
 
logical is_base_10_ = .true.
 Flag indicating whether cross section algorithm is base 10 (true) or base e (false)
 
logical is_temperature_inverted_ = .false.
 Flad indicating whether to subtract base temperature from actual temperature (false) or to subtract actual temperature from base temperature (true)
 
real(kind=dk) min_wavelength_ = 0.0_dk
 Minimum wavelength [nm] to calculate values for.
 
real(kind=dk) max_wavelength_ = 0.0_dk
 Maximum wavelength [nm] to calculate values for.
 
integer min_wavelength_index_ = 0
 Index of minimum wavelength [nm] to calculate values for.
 
integer max_wavelength_index_ = 0
 Index of maximum wavelength to calculate values for.
 
type(temperature_range_t), dimension(:), allocatable ranges_
 Temperature ranges used in parameterization.
 

Detailed Description

Parameters for calculating cross section values based on temperature.

Constructor for temperature_parameterization_t.

Cross section elements are calculated as:

\[      10^{\sum_i{(AA_i + (T-273)*BB_i)*\lambda^{lp_i}}}
\]

where $\lambda$ is the wavelength [nm] and $T$ is the temperature [K].

Member Function/Subroutine Documentation

◆ constructor()

type(temperature_parameterization_t) function tuvx_temperature_parameterization::temperature_parameterization_t::constructor ( type(config_t), intent(inout) config,
class(grid_t), intent(in) wavelengths )

The documentation for this interface was generated from the following file: