20#include "matpack_concepts.h"
52 friend std::ostream&
operator<<(std::ostream& os,
const Sun& sun);
90 const Matrix& transmitted_sunlight,
91 const Vector& gas_scattering_los_in,
92 const Vector& gas_scattering_los_out,
93 const Agenda& gas_scattering_agenda);
112 const Vector& f_grid,
113 const Index& stokes_dim,
114 const Index& atmosphere_dim,
115 const Vector& refellipsoid);
129 const Vector& rtp_pos,
130 const Vector& rtp_los,
131 const Vector& refellipsoid);
180 ArrayOfMatrix& direct_radiation,
181 ArrayOfArrayOfTensor3& ddirect_radiation_dx,
182 const Index& stokes_dim,
183 const Vector& f_grid,
184 const Index& atmosphere_dim,
185 const Vector& p_grid,
186 const Vector& lat_grid,
187 const Vector& lon_grid,
188 const Tensor3& t_field,
190 const Tensor4& vmr_field,
192 const Tensor3& wind_u_field,
193 const Tensor3& wind_v_field,
194 const Tensor3& wind_w_field,
195 const Tensor3& mag_u_field,
196 const Tensor3& mag_v_field,
197 const Tensor3& mag_w_field,
198 const Index& cloudbox_on,
200 const Index& gas_scattering_do,
201 const Index& irradiance_flag,
205 const Vector& refellipsoid,
206 const Tensor4& pnd_field,
207 const ArrayOfTensor4& dpnd_field_dx,
210 const Index& jacobian_do,
212 const Agenda& propmat_clearsky_agenda,
213 const Agenda& water_p_eq_agenda,
214 const Agenda& gas_scattering_agenda,
215 const Numeric& rte_alonglos_v,
244 ArrayOfVector& sun_rte_los,
245 const Vector& rte_pos,
247 const Vector& f_grid,
248 const Index& atmosphere_dim,
249 const Vector& p_grid,
250 const Vector& lat_grid,
251 const Vector& lon_grid,
252 const Tensor3& z_field,
253 const Matrix& z_surface,
254 const Vector& refellipsoid,
255 const Numeric& ppath_lmax,
256 const Numeric& ppath_lraytrace,
257 const Agenda& ppath_step_agenda,
280 const Vector &f_grid,
281 const Index &stokes_dim,
282 const Numeric &temperature,
The global header file for ARTS.
This can be used to make arrays out of anything.
Class to map energy levels.
Implementation of gridded fields.
Scattering database structure and functions.
The structure to describe a propagation path and releated quantities.
Radiation Vector for Stokes dimension 1-4.
The structure to describe a propagation path and releated quantities.
String description
Sun description.
friend std::ostream & operator<<(std::ostream &os, const Sun &sun)
Matrix spectrum
Sun spectrum, monochrmatic radiance spectrum at the surface of the sun.
Numeric latitude
latitude of the sun in the sky of the planet
Numeric longitude
longitude of the sun in the sky of the planet
Numeric distance
distance from center of planet to center of sun
Numeric radius
Sun radius.
void get_direct_radiation(Workspace &ws, ArrayOfMatrix &direct_radiation, ArrayOfArrayOfTensor3 &ddirect_radiation_dx, const Index &stokes_dim, const Vector &f_grid, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &t_field, const EnergyLevelMap &nlte_field, const Tensor4 &vmr_field, const ArrayOfArrayOfSpeciesTag &abs_species, const Tensor3 &wind_u_field, const Tensor3 &wind_v_field, const Tensor3 &wind_w_field, const Tensor3 &mag_u_field, const Tensor3 &mag_v_field, const Tensor3 &mag_w_field, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Index &gas_scattering_do, const Index &irradiance_flag, const ArrayOfPpath &sun_ppaths, const ArrayOfSun &suns, const ArrayOfIndex &suns_visible, const Vector &refellipsoid, const Tensor4 &pnd_field, const ArrayOfTensor4 &dpnd_field_dx, const ArrayOfString &scat_species, const ArrayOfArrayOfSingleScatteringData &scat_data, const Index &jacobian_do, const ArrayOfRetrievalQuantity &jacobian_quantities, const Agenda &propmat_clearsky_agenda, const Agenda &water_p_eq_agenda, const Agenda &gas_scattering_agenda, const Numeric &rte_alonglos_v, const Verbosity &verbosity)
Calculates the transmitted sun radiation at the end position of the ppath.
void get_sun_ppaths(Workspace &ws, ArrayOfPpath &sun_ppaths, ArrayOfIndex &suns_visible, ArrayOfVector &sun_rte_los, const Vector &rte_pos, const ArrayOfSun &suns, const Vector &f_grid, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &z_surface, const Vector &refellipsoid, const Numeric &ppath_lmax, const Numeric &ppath_lraytrace, const Agenda &ppath_step_agenda, const Verbosity &verbosity)
Calculates the ppath towards the suns from a given position and indicates if sun is visible or not.
void get_sun_radiation(Matrix &iy, Index &suns_visible, const Sun &sun, const Vector &rtp_pos, const Vector &rtp_los, const Vector &refellipsoid)
Checks and adds sun radiance if sun is in line of sight.
Matrix regrid_sun_spectrum(const GriddedField2 &sun_spectrum_raw, const Vector &f_grid, const Index &stokes_dim, const Numeric &temperature, const Verbosity &verbosity)
regrid_sun_spectrum
void get_scattered_sunsource(Workspace &ws, RadiationVector &scattered_sunlight, const Vector &f_grid, const Numeric &p, const Numeric &T, const Vector &vmr, const Matrix &transmitted_sunlight, const Vector &gas_scattering_los_in, const Vector &gas_scattering_los_out, const Agenda &gas_scattering_agenda)
Calculates the radiance spectrum of sun which is scattered by the atmospheric gases.
void get_sun_background(Matrix &iy, Index &suns_visible, const ArrayOfSun &suns, const Ppath &ppath, const Vector &f_grid, const Index &stokes_dim, const Index &atmosphere_dim, const Vector &refellipsoid)
Gets the sun background for a given ppath.
Stuff related to the transmission matrix.