55 const Index& atmfields_checked,
56 const Index& atmgeom_checked,
57 const Index& scat_data_checked,
58 const Index& cloudbox_checked,
59 const Index& cloudbox_on,
61 const Agenda& propmat_clearsky_agenda,
62 const Index& atmosphere_dim,
71 const Index& stokes_dim,
74 const Vector& surface_scalar_reflectivity,
75 const Index& nstreams,
78 const Index& cdisort_quiet,
83 out0 <<
" Cloudbox is off, DISORT calculation will be skipped.\n";
104 cloudbox_field, f_grid, cloudbox_limits, za_grid.
nelem(), stokes_dim);
110 albedo, btemp, f_grid, surface_skin_t, surface_scalar_reflectivity);
116 z_field(
joker, 0, 0),
118 t_field(
joker, 0, 0),
122 propmat_clearsky_agenda,
139 const Index& atmfields_checked,
140 const Index& atmgeom_checked,
141 const Index& scat_data_checked,
142 const Index& cloudbox_checked,
143 const Index& cloudbox_on,
145 const Agenda& propmat_clearsky_agenda,
146 const Agenda& surface_rtprop_agenda,
147 const Index& atmosphere_dim,
156 const Index& stokes_dim,
157 const Index& nstreams,
158 const String& pfct_method,
160 const Index& cdisort_quiet,
164 out0 <<
" Cloudbox is off, DISORT calculation will be skipped.\n";
189 cloudbox_field, f_grid, cloudbox_limits, za_grid.
nelem(), stokes_dim);
197 const Numeric surf_altitude = z_field(0, 0, 0);
203 surface_rtprop_agenda,
213 z_field(
joker, 0, 0),
215 t_field(
joker, 0, 0),
219 propmat_clearsky_agenda,
232 Tensor7& spectral_radiance_field,
233 const Index& atmfields_checked,
234 const Index& atmgeom_checked,
235 const Agenda& propmat_clearsky_agenda,
236 const Index& atmosphere_dim,
243 const Index& stokes_dim,
246 const Vector& surface_scalar_reflectivity,
247 const Index& nstreams,
248 const Index& cdisort_quiet,
250 if (atmosphere_dim != 1)
252 "For running DISORT, atmospheric dimensionality " 258 const Index cloudbox_checked = 1;
272 const Index scat_data_checked = 1;
285 spectral_radiance_field,
292 propmat_clearsky_agenda,
305 surface_scalar_reflectivity,
INDEX Index
The type to use for all integer numbers and indices.
Template functions for general supergeneric ws methods.
void DisortCalcClearsky(Workspace &ws, Tensor7 &spectral_radiance_field, const Index &atmfields_checked, const Index &atmgeom_checked, const Agenda &propmat_clearsky_agenda, const Index &atmosphere_dim, const Tensor3 &t_field, const Tensor3 &z_field, const Tensor4 &vmr_field, const Vector &p_grid, const Vector &f_grid, const Vector &za_grid, const Index &stokes_dim, const Matrix &z_surface, const Numeric &surface_skin_t, const Vector &surface_scalar_reflectivity, const Index &nstreams, const Index &cdisort_quiet, const Verbosity &verbosity)
WORKSPACE METHOD: DisortCalcClearsky.
Declarations having to do with the four output streams.
void run_cdisort(Workspace &ws, Tensor7 &cloudbox_field, ConstVectorView f_grid, ConstVectorView p_grid, ConstVectorView z_profile, const Numeric &z_surface, ConstVectorView t_profile, ConstMatrixView vmr_profiles, ConstMatrixView pnd_profiles, const ArrayOfArrayOfSingleScatteringData &scat_data, const Agenda &propmat_clearsky_agenda, const ArrayOfIndex &cloudbox_limits, const Numeric &surface_skin_t, const Vector &surface_scalar_reflectivity, ConstVectorView za_grid, const Index &nstreams, const Index &Npfct, const Index &quiet, const Verbosity &verbosity)
Calculate doit_i_feild with Disort.
void surf_albedoCalc(Workspace &ws, VectorView albedo, Numeric &btemp, const Agenda &surface_rtprop_agenda, ConstVectorView f_grid, ConstVectorView scat_za_grid, const Numeric &surf_alt, const Verbosity &verbosity)
Surface albed.
void get_disortsurf_props(Vector &albedo, Numeric &btemp, ConstVectorView f_grid, const Numeric &surface_skin_t, ConstVectorView surface_scalar_reflectivity)
get_disortsurf_props.
Array< RetrievalQuantity > ArrayOfRetrievalQuantity
invlib::Vector< ArtsVector > Vector
invlib wrapper type for ARTS vectors.
void check_disort_input(const Index &cloudbox_on, const Index &atmfields_checked, const Index &atmgeom_checked, const Index &cloudbox_checked, const Index &scat_data_checked, const Index &atmosphere_dim, const Index &stokes_dim, const ArrayOfIndex &cloudbox_limits, const ArrayOfArrayOfSingleScatteringData &scat_data, ConstVectorView za_grid, const Index &nstreams, const String &pfct_method)
check_disort_input.
This file contains basic functions to handle XML data files.
Index nelem() const
Returns the number of elements.
This file contains the definition of Array.
void pnd_fieldZero(Tensor4 &pnd_field, ArrayOfTensor4 &dpnd_field_dx, ArrayOfArrayOfSingleScatteringData &scat_data, const Index &atmosphere_dim, const Vector &f_grid, const ArrayOfIndex &cloudbox_limits, const ArrayOfRetrievalQuantity &jacobian_quantities, const Verbosity &)
WORKSPACE METHOD: pnd_fieldZero.
The global header file for ARTS.
void DisortCalc(Workspace &ws, Tensor7 &cloudbox_field, const Index &atmfields_checked, const Index &atmgeom_checked, const Index &scat_data_checked, const Index &cloudbox_checked, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Agenda &propmat_clearsky_agenda, const Index &atmosphere_dim, const Tensor4 &pnd_field, const Tensor3 &t_field, const Tensor3 &z_field, const Tensor4 &vmr_field, const Vector &p_grid, const ArrayOfArrayOfSingleScatteringData &scat_data, const Vector &f_grid, const Vector &za_grid, const Index &stokes_dim, const Matrix &z_surface, const Numeric &surface_skin_t, const Vector &surface_scalar_reflectivity, const Index &nstreams, const String &pfct_method, const Index &Npfct, const Index &cdisort_quiet, const Verbosity &verbosity)
WORKSPACE METHOD: DisortCalc.
void DisortCalcWithARTSSurface(Workspace &ws, Tensor7 &cloudbox_field, const Index &atmfields_checked, const Index &atmgeom_checked, const Index &scat_data_checked, const Index &cloudbox_checked, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Agenda &propmat_clearsky_agenda, const Agenda &surface_rtprop_agenda, const Index &atmosphere_dim, const Tensor4 &pnd_field, const Tensor3 &t_field, const Tensor3 &z_field, const Tensor4 &vmr_field, const Vector &p_grid, const ArrayOfArrayOfSingleScatteringData &scat_data, const Vector &f_grid, const Vector &za_grid, const Index &stokes_dim, const Index &nstreams, const String &pfct_method, const Index &Npfct, const Index &cdisort_quiet, const Verbosity &verbosity)
WORKSPACE METHOD: DisortCalcWithARTSSurface.
NUMERIC Numeric
The type to use for all floating point numbers.
void init_ifield(Tensor7 &cloudbox_field, const Vector &f_grid, const ArrayOfIndex &cloudbox_limits, const Index &nang, const Index &stokes_dim)
init_ifield.
This can be used to make arrays out of anything.
void cloudboxSetFullAtm(Index &cloudbox_on, ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Verbosity &)
WORKSPACE METHOD: cloudboxSetFullAtm.
Functions for disort interface.
Auxiliary header stuff related to workspace variable groups.