#include "matpackI.h"
#include "matpackII.h"
#include "abs_species_tags.h"
#include "gas_abs_lookup.h"
#include "gridded_fields.h"
#include "optproperties.h"
#include "jacobian.h"
#include "mc_antenna.h"
#include "m_general.h"
#include "parser.h"
#include "workspace_ng.h"
Go to the source code of this file.
Defines | |
#define | N_MD 779 |
Functions | |
void | AbsInputFromAtmFields (Vector &abs_p, Vector &abs_t, Matrix &abs_vmrs, const Index &atmosphere_dim, const Vector &p_grid, const Tensor3 &t_field, const Tensor4 &vmr_field) |
WORKSPACE METHOD: AbsInputFromAtmFields. | |
void | AbsInputFromRteScalars (Vector &abs_p, Vector &abs_t, Matrix &abs_vmrs, const Numeric &rte_pressure, const Numeric &rte_temperature, const Vector &rte_vmr_list) |
WORKSPACE METHOD: AbsInputFromRteScalars. | |
void | abs_coefCalc (Matrix &abs_coef, ArrayOfMatrix &abs_coef_per_species, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const Vector &abs_n2, const Vector &abs_h2o, const Matrix &abs_vmrs, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters) |
WORKSPACE METHOD: abs_coefCalc. | |
void | abs_coefCalcFromXsec (Matrix &abs_coef, ArrayOfMatrix &abs_coef_per_species, const ArrayOfMatrix &abs_xsec_per_species, const Matrix &abs_vmrs, const Vector &abs_p, const Vector &abs_t) |
WORKSPACE METHOD: abs_coefCalcFromXsec. | |
void | abs_coefCalcSaveMemory (Matrix &abs_coef, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const Vector &abs_n2, const Vector &abs_h2o, const Matrix &abs_vmrs, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters) |
WORKSPACE METHOD: abs_coefCalcSaveMemory. | |
void | abs_cont_descriptionAppend (ArrayOfString &abs_cont_names, ArrayOfString &abs_cont_models, ArrayOfVector &abs_cont_parameters, const String &tagname, const String &model, const Vector &userparameters) |
WORKSPACE METHOD: abs_cont_descriptionAppend. | |
void | abs_cont_descriptionInit (ArrayOfString &abs_cont_names, ArrayOfString &abs_cont_models, ArrayOfVector &abs_cont_parameters) |
WORKSPACE METHOD: abs_cont_descriptionInit. | |
void | abs_h2oSet (Vector &abs_h2o, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs) |
WORKSPACE METHOD: abs_h2oSet. | |
void | abs_lineshapeDefine (ArrayOfLineshapeSpec &abs_lineshape, const String &shape, const String &normalizationfactor, const Numeric &cutoff) |
WORKSPACE METHOD: abs_lineshapeDefine. | |
void | abs_lineshape_per_tgDefine (ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfString &shape, const ArrayOfString &normalizationfactor, const Vector &cutoff) |
WORKSPACE METHOD: abs_lineshape_per_tgDefine. | |
void | abs_linesReadFromArts (ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax) |
WORKSPACE METHOD: abs_linesReadFromArts. | |
void | abs_linesReadFromArtsObsolete (ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax) |
WORKSPACE METHOD: abs_linesReadFromArtsObsolete. | |
void | abs_linesReadFromHitran (ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax) |
WORKSPACE METHOD: abs_linesReadFromHitran. | |
void | abs_linesReadFromHitran2004 (ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax) |
WORKSPACE METHOD: abs_linesReadFromHitran2004. | |
void | abs_linesReadFromJpl (ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax) |
WORKSPACE METHOD: abs_linesReadFromJpl. | |
void | abs_linesReadFromMytran2 (ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax) |
WORKSPACE METHOD: abs_linesReadFromMytran2. | |
void | abs_lines_per_speciesAddMirrorLines (ArrayOfArrayOfLineRecord &abs_lines_per_species) |
WORKSPACE METHOD: abs_lines_per_speciesAddMirrorLines. | |
void | abs_lines_per_speciesCompact (ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const Vector &f_grid) |
WORKSPACE METHOD: abs_lines_per_speciesCompact. | |
void | abs_lines_per_speciesCreateFromLines (ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineRecord &abs_lines, const ArrayOfArrayOfSpeciesTag &abs_species) |
WORKSPACE METHOD: abs_lines_per_speciesCreateFromLines. | |
void | abs_lines_per_speciesReadFromCatalogues (ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfString &filenames, const ArrayOfString &formats, const Vector &fmin, const Vector &fmax) |
WORKSPACE METHOD: abs_lines_per_speciesReadFromCatalogues. | |
void | abs_lines_per_speciesSetEmpty (ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfArrayOfSpeciesTag &abs_species) |
WORKSPACE METHOD: abs_lines_per_speciesSetEmpty. | |
void | abs_lookupAdapt (GasAbsLookup &abs_lookup, Index &abs_lookup_is_adapted, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &f_grid) |
WORKSPACE METHOD: abs_lookupAdapt. | |
void | abs_lookupCreate (GasAbsLookup &abs_lookup, Index &abs_lookup_is_adapted, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfArrayOfSpeciesTag &abs_nls, const Vector &f_grid, const Vector &abs_p, const Matrix &abs_vmrs, const Vector &abs_t, const Vector &abs_t_pert, const Vector &abs_nls_pert, const Vector &abs_n2, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters) |
WORKSPACE METHOD: abs_lookupCreate. | |
void | abs_lookupInit (GasAbsLookup &abs_lookup) |
WORKSPACE METHOD: abs_lookupInit. | |
void | abs_lookupSetup (Vector &abs_p, Vector &abs_t, Vector &abs_t_pert, Matrix &abs_vmrs, ArrayOfArrayOfSpeciesTag &abs_nls, Vector &abs_nls_pert, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &t_field, const Tensor4 &vmr_field, const ArrayOfArrayOfSpeciesTag &abs_species, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Numeric &p_step, const Numeric &t_step, const Numeric &h2o_step) |
WORKSPACE METHOD: abs_lookupSetup. | |
void | abs_lookupSetupBatch (Vector &abs_p, Vector &abs_t, Vector &abs_t_pert, Matrix &abs_vmrs, ArrayOfArrayOfSpeciesTag &abs_nls, Vector &abs_nls_pert, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfGField4 &batch_atm_fields_compact, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Numeric &p_step, const Numeric &t_step, const Numeric &h2o_step, const Vector &extremes) |
WORKSPACE METHOD: abs_lookupSetupBatch. | |
void | abs_lookupSetupWide (Vector &abs_p, Vector &abs_t, Vector &abs_t_pert, Matrix &abs_vmrs, ArrayOfArrayOfSpeciesTag &abs_nls, Vector &abs_nls_pert, const ArrayOfArrayOfSpeciesTag &abs_species, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Numeric &p_min, const Numeric &p_max, const Numeric &p_step, const Numeric &t_min, const Numeric &t_max, const Numeric &h2o_min, const Numeric &h2o_max) |
WORKSPACE METHOD: abs_lookupSetupWide. | |
void | abs_lookupTestAccuracy (const GasAbsLookup &abs_lookup, const Index &abs_lookup_is_adapted, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Vector &abs_n2, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters) |
WORKSPACE METHOD: abs_lookupTestAccuracy. | |
void | abs_n2Set (Vector &abs_n2, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &abs_vmrs) |
WORKSPACE METHOD: abs_n2Set. | |
void | abs_scalar_gasCalcLBL (Matrix &abs_scalar_gas, const Vector &f_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &abs_n2, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape, const ArrayOfString &abs_cont_names, const ArrayOfString &abs_cont_models, const ArrayOfVector &abs_cont_parameters, const Index &f_index, const Numeric &rte_pressure, const Numeric &rte_temperature, const Vector &rte_vmr_list) |
WORKSPACE METHOD: abs_scalar_gasCalcLBL. | |
void | abs_scalar_gasExtractFromLookup (Matrix &abs_scalar_gas, const GasAbsLookup &abs_lookup, const Index &abs_lookup_is_adapted, const Index &abs_p_interp_order, const Index &abs_t_interp_order, const Index &abs_nls_interp_order, const Index &f_index, const Numeric &rte_pressure, const Numeric &rte_temperature, const Vector &rte_vmr_list) |
WORKSPACE METHOD: abs_scalar_gasExtractFromLookup. | |
void | abs_scalar_gasFromAbsCoef (Matrix &abs_scalar_gas, const ArrayOfMatrix &abs_coef_per_species) |
WORKSPACE METHOD: abs_scalar_gasFromAbsCoef. | |
void | abs_fieldCalc (Workspace &ws, Tensor5 &abs_field, const Agenda &abs_scalar_gas_agenda, const Index &f_index, 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 Tensor4 &vmr_field) |
WORKSPACE METHOD: abs_fieldCalc. | |
void | abs_speciesAdd (ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfString &species) |
WORKSPACE METHOD: abs_speciesAdd. | |
void | abs_speciesAdd2 (Workspace &ws, ArrayOfArrayOfSpeciesTag &abs_species, ArrayOfRetrievalQuantity &jacobian_quantities, Agenda &jacobian_agenda, const Matrix &jacobian, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Vector &gin1, const Vector &gin2, const Vector &gin3, const String &species, const String &method, const String &unit, const Numeric &dx) |
WORKSPACE METHOD: abs_speciesAdd2. | |
void | abs_speciesDefineAllInScenario (ArrayOfArrayOfSpeciesTag &abs_species, const String &basename) |
WORKSPACE METHOD: abs_speciesDefineAllInScenario. | |
void | abs_speciesInit (ArrayOfArrayOfSpeciesTag &abs_species) |
WORKSPACE METHOD: abs_speciesInit. | |
void | SpeciesSet (ArrayOfArrayOfSpeciesTag &gout1, const ArrayOfString &species) |
WORKSPACE METHOD: SpeciesSet. | |
void | abs_vecAddGas (Matrix &abs_vec, const Matrix &abs_scalar_gas) |
WORKSPACE METHOD: abs_vecAddGas. | |
void | abs_vecAddPart (Matrix &abs_vec, const Matrix &abs_vec_spt, const Tensor4 &pnd_field, const Index &atmosphere_dim, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: abs_vecAddPart. | |
void | abs_vecInit (Matrix &abs_vec, const Vector &f_grid, const Index &stokes_dim, const Index &f_index) |
WORKSPACE METHOD: abs_vecInit. | |
void | abs_xsec_per_speciesAddConts (ArrayOfMatrix &abs_xsec_per_species, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const Vector &abs_n2, const Vector &abs_h2o, const Matrix &abs_vmrs, const ArrayOfString &abs_cont_names, const ArrayOfVector &abs_cont_parameters, const ArrayOfString &abs_cont_models) |
WORKSPACE METHOD: abs_xsec_per_speciesAddConts. | |
void | abs_xsec_per_speciesAddLines (ArrayOfMatrix &abs_xsec_per_species, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const Vector &abs_h2o, const Matrix &abs_vmrs, const ArrayOfArrayOfLineRecord &abs_lines_per_species, const ArrayOfLineshapeSpec &abs_lineshape) |
WORKSPACE METHOD: abs_xsec_per_speciesAddLines. | |
void | abs_xsec_per_speciesInit (ArrayOfMatrix &abs_xsec_per_species, const ArrayOfArrayOfSpeciesTag &abs_species, const Vector &f_grid, const Vector &abs_p) |
WORKSPACE METHOD: abs_xsec_per_speciesInit. | |
void | AgendaExecute (Workspace &ws, const Agenda &gin1) |
WORKSPACE METHOD: AgendaExecute. | |
void | AgendaAppend (Workspace &ws, Agenda &gout1, const String &gout1_wsvname, const Agenda &gin1, const String &gin1_wsvname, const Agenda &input_agenda) |
WORKSPACE METHOD: AgendaAppend. | |
void | AgendaSet (Workspace &ws, Agenda &gout1, const String &gout1_wsvname, const Agenda &input_agenda) |
WORKSPACE METHOD: AgendaSet. | |
void | AntennaOff (Index &antenna_dim, Vector &mblock_za_grid, Vector &mblock_aa_grid) |
WORKSPACE METHOD: AntennaOff. | |
void | AntennaSet1D (Index &antenna_dim, Vector &mblock_aa_grid) |
WORKSPACE METHOD: AntennaSet1D. | |
void | AntennaSet2D (Index &antenna_dim, const Index &atmosphere_dim) |
WORKSPACE METHOD: AntennaSet2D. | |
void | ArrayOfGField1Create (ArrayOfGField1 &arrayofgfield1) |
WORKSPACE METHOD: ArrayOfGField1Create. | |
void | ArrayOfIndexCreate (ArrayOfIndex &arrayofindex) |
WORKSPACE METHOD: ArrayOfIndexCreate. | |
void | ArrayOfIndexSet (ArrayOfIndex &arrayofindex, const ArrayOfIndex &values) |
WORKSPACE METHOD: ArrayOfIndexSet. | |
void | ArrayOfLineRecordCreate (ArrayOfLineRecord &gout1) |
WORKSPACE METHOD: ArrayOfLineRecordCreate. | |
void | ArrayOfLineshapeSpecCreate (ArrayOfLineshapeSpec &gout1) |
WORKSPACE METHOD: ArrayOfLineshapeSpecCreate. | |
void | ArrayOfMatrixCreate (ArrayOfMatrix &gout1) |
WORKSPACE METHOD: ArrayOfMatrixCreate. | |
void | ArrayOfMatrixInsert (ArrayOfMatrix &gout1, const ArrayOfMatrix &gin1, const Matrix &gin2, const Index &element) |
WORKSPACE METHOD: ArrayOfMatrixInsert. | |
void | ArrayOfStringCreate (ArrayOfString &gout1) |
WORKSPACE METHOD: ArrayOfStringCreate. | |
void | ArrayOfStringSet (ArrayOfString &gout1, const ArrayOfString &text) |
WORKSPACE METHOD: ArrayOfStringSet. | |
void | ArrayOfVectorCreate (ArrayOfVector &arrayofvector) |
WORKSPACE METHOD: ArrayOfVectorCreate. | |
void | Arts (Workspace &ws, const Agenda &input_agenda) |
WORKSPACE METHOD: Arts. | |
void | AtmFieldsCalc (Tensor3 &t_field, Tensor3 &z_field, Tensor4 &vmr_field, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const GField3 &t_field_raw, const GField3 &z_field_raw, const ArrayOfGField3 &vmr_field_raw, const Index &atmosphere_dim) |
WORKSPACE METHOD: AtmFieldsCalc. | |
void | AtmFieldsCalcExpand1D (Tensor3 &t_field, Tensor3 &z_field, Tensor4 &vmr_field, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const GField3 &t_field_raw, const GField3 &z_field_raw, const ArrayOfGField3 &vmr_field_raw, const Index &atmosphere_dim) |
WORKSPACE METHOD: AtmFieldsCalcExpand1D. | |
void | AtmFieldsRefinePgrid (Vector &p_grid, Tensor3 &t_field, Tensor3 &z_field, Tensor4 &vmr_field, const Vector &lat_grid, const Vector &lon_grid, const Index &atmosphere_dim, const Numeric &p_step) |
WORKSPACE METHOD: AtmFieldsRefinePgrid. | |
void | atm_fields_compactAddConstant (GField4 &atm_fields_compact, const String &name, const Numeric &value) |
WORKSPACE METHOD: atm_fields_compactAddConstant. | |
void | atm_fields_compactFromMatrix (GField4 &atm_fields_compact, const Index &atmosphere_dim, const Matrix &gin1, const ArrayOfString &field_names) |
WORKSPACE METHOD: atm_fields_compactFromMatrix. | |
void | batch_atm_fields_compactFromArrayOfMatrix (ArrayOfGField4 &batch_atm_fields_compact, const Index &atmosphere_dim, const ArrayOfMatrix &gin1, const ArrayOfString &field_names, const ArrayOfString &extra_field_names, const Vector &extra_field_values) |
WORKSPACE METHOD: batch_atm_fields_compactFromArrayOfMatrix. | |
void | AtmFieldsFromCompact (Vector &p_grid, Vector &lat_grid, Vector &lon_grid, Tensor3 &t_field, Tensor3 &z_field, Tensor4 &vmr_field, const ArrayOfArrayOfSpeciesTag &abs_species, const GField4 &atm_fields_compact, const Index &atmosphere_dim) |
WORKSPACE METHOD: AtmFieldsFromCompact. | |
void | AtmosphereSet1D (Index &atmosphere_dim, Vector &lat_grid, Vector &lon_grid) |
WORKSPACE METHOD: AtmosphereSet1D. | |
void | AtmosphereSet2D (Index &atmosphere_dim, Vector &lon_grid, Numeric &lat_1d, Numeric &meridian_angle_1d) |
WORKSPACE METHOD: AtmosphereSet2D. | |
void | AtmosphereSet3D (Index &atmosphere_dim, Numeric &lat_1d, Numeric &meridian_angle_1d) |
WORKSPACE METHOD: AtmosphereSet3D. | |
void | AtmRawRead (GField3 &t_field_raw, GField3 &z_field_raw, ArrayOfGField3 &vmr_field_raw, const ArrayOfArrayOfSpeciesTag &abs_species, const String &basename) |
WORKSPACE METHOD: AtmRawRead. | |
void | CloudboxGetIncoming (Workspace &ws, Tensor7 &scat_i_p, Tensor7 &scat_i_lat, Tensor7 &scat_i_lon, Index &cloudbox_on, const Agenda &ppath_step_agenda, const Agenda &rte_agenda, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &iy_cloudbox_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Matrix &r_geoid, const Matrix &z_surface, const ArrayOfIndex &cloudbox_limits, const Vector &f_grid, const Index &stokes_dim, const Vector &scat_za_grid, const Vector &scat_aa_grid) |
WORKSPACE METHOD: CloudboxGetIncoming. | |
void | CloudboxGetIncoming1DAtm (Workspace &ws, Tensor7 &scat_i_p, Tensor7 &scat_i_lat, Tensor7 &scat_i_lon, Index &cloudbox_on, const Agenda &ppath_step_agenda, const Agenda &rte_agenda, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &iy_cloudbox_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Matrix &r_geoid, const Matrix &z_surface, const ArrayOfIndex &cloudbox_limits, const Vector &f_grid, const Index &stokes_dim, const Vector &scat_za_grid, const Vector &scat_aa_grid) |
WORKSPACE METHOD: CloudboxGetIncoming1DAtm. | |
void | cloudboxOff (Index &cloudbox_on, ArrayOfIndex &cloudbox_limits, Agenda &iy_cloudbox_agenda) |
WORKSPACE METHOD: cloudboxOff. | |
void | cloudboxSetDisort (Index &cloudbox_on, ArrayOfIndex &cloudbox_limits, const Vector &p_grid) |
WORKSPACE METHOD: cloudboxSetDisort. | |
void | cloudboxSetEmpty (Tensor4 &pnd_field, ArrayOfSingleScatteringData &scat_data_raw, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid) |
WORKSPACE METHOD: cloudboxSetEmpty. | |
void | cloudboxSetManually (Index &cloudbox_on, ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Numeric &p1, const Numeric &p2, const Numeric &lat1, const Numeric &lat2, const Numeric &lon1, const Numeric &lon2) |
WORKSPACE METHOD: cloudboxSetManually. | |
void | cloudboxSetManuallyAltitude (Index &cloudbox_on, ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Tensor3 &z_field, const Vector &lat_grid, const Vector &lon_grid, const Numeric &z1, const Numeric &z2, const Numeric &lat1, const Numeric &lat2, const Numeric &lon1, const Numeric &lon2) |
WORKSPACE METHOD: cloudboxSetManuallyAltitude. | |
void | complex_nWaterLiebe93 (Matrix &complex_n, const Vector &f_grid, const Numeric &t) |
WORKSPACE METHOD: complex_nWaterLiebe93. | |
void | ScatteringDisort (Workspace &ws, Tensor7 &scat_i_p, Tensor7 &scat_i_lat, Tensor7 &scat_i_lon, Index &f_index, ArrayOfSingleScatteringData &scat_data_mono, Tensor4 &doit_i_field1D_spectrum, const ArrayOfIndex &cloudbox_limits, const Index &stokes_dim, const Agenda &opt_prop_part_agenda, const Agenda &abs_scalar_gas_agenda, const Agenda &spt_calc_agenda, const Tensor4 &pnd_field, const Tensor3 &t_field, const Tensor3 &z_field, const Vector &p_grid, const Tensor4 &vmr_field, const ArrayOfSingleScatteringData &scat_data_raw, const Vector &f_grid, const Vector &scat_za_grid, const Matrix &surface_emissivity_DISORT) |
WORKSPACE METHOD: ScatteringDisort. | |
void | DoitAngularGridsSet (Index &doit_za_grid_size, Vector &scat_aa_grid, Vector &scat_za_grid, const Index &N_za_grid, const Index &N_aa_grid, const String &za_grid_opt_file) |
WORKSPACE METHOD: DoitAngularGridsSet. | |
void | DoitCloudboxFieldPut (Tensor7 &scat_i_p, Tensor7 &scat_i_lat, Tensor7 &scat_i_lon, Tensor4 &doit_i_field1D_spectrum, const Tensor6 &doit_i_field, const Vector &f_grid, const Index &f_index, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &stokes_dim, const Index &atmosphere_dim, const ArrayOfIndex &cloudbox_limits, const Matrix &sensor_pos, const Tensor3 &z_field) |
WORKSPACE METHOD: DoitCloudboxFieldPut. | |
void | doit_conv_flagAbs (Index &doit_conv_flag, Index &doit_iteration_counter, const Tensor6 &doit_i_field, const Tensor6 &doit_i_field_old, const Vector &epsilon) |
WORKSPACE METHOD: doit_conv_flagAbs. | |
void | doit_conv_flagLsq (Index &doit_conv_flag, Index &doit_iteration_counter, const Tensor6 &doit_i_field, const Tensor6 &doit_i_field_old, const Vector &f_grid, const Index &f_index, const Vector &epsilon) |
WORKSPACE METHOD: doit_conv_flagLsq. | |
void | doit_conv_flagAbsBT (Index &doit_conv_flag, Index &doit_iteration_counter, const Tensor6 &doit_i_field, const Tensor6 &doit_i_field_old, const Vector &f_grid, const Index &f_index, const Vector &epsilon) |
WORKSPACE METHOD: doit_conv_flagAbsBT. | |
void | DoitInit (Index &scat_p_index, Index &scat_lat_index, Index &scat_lon_index, Index &scat_za_index, Index &scat_aa_index, Tensor6 &doit_scat_field, Tensor6 &doit_i_field, Index &doit_za_interp, Index &doit_is_initialized, const Index &stokes_dim, const Index &atmosphere_dim, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &doit_za_grid_size, const ArrayOfIndex &cloudbox_limits, const ArrayOfSingleScatteringData &scat_data_raw) |
WORKSPACE METHOD: DoitInit. | |
void | doit_i_fieldIterate (Workspace &ws, Tensor6 &doit_i_field, const Agenda &doit_scat_field_agenda, const Agenda &doit_rte_agenda, const Agenda &doit_conv_test_agenda) |
WORKSPACE METHOD: doit_i_fieldIterate. | |
void | doit_i_fieldSetClearsky (Tensor6 &doit_i_field, const Tensor7 &scat_i_p, const Tensor7 &scat_i_lat, const Tensor7 &scat_i_lon, const Vector &f_grid, const Index &f_index, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Index &all_frequencies) |
WORKSPACE METHOD: doit_i_fieldSetClearsky. | |
void | doit_i_fieldSetConst (Tensor6 &doit_i_field, const Tensor7 &scat_i_p, const Tensor7 &scat_i_lat, const Tensor7 &scat_i_lon, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Index &stokes_dim, const Vector &value) |
WORKSPACE METHOD: doit_i_fieldSetConst. | |
void | doit_i_fieldUpdate1D (Workspace &ws, Tensor6 &doit_i_field, const Tensor6 &doit_i_field_old, const Tensor6 &doit_scat_field, const ArrayOfIndex &cloudbox_limits, const Agenda &abs_scalar_gas_agenda, const Tensor4 &vmr_field, const Agenda &spt_calc_agenda, const Vector &scat_za_grid, const Tensor4 &pnd_field, const Agenda &opt_prop_part_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &ppath_step_agenda, const Vector &p_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Tensor3 &t_field, const Vector &f_grid, const Index &f_index, const Agenda &surface_prop_agenda, const Index &doit_za_interp) |
WORKSPACE METHOD: doit_i_fieldUpdate1D. | |
void | doit_i_fieldUpdateSeq1D (Workspace &ws, Tensor6 &doit_i_field, const Tensor6 &doit_scat_field, const ArrayOfIndex &cloudbox_limits, const Agenda &abs_scalar_gas_agenda, const Tensor4 &vmr_field, const Agenda &spt_calc_agenda, const Vector &scat_za_grid, const Tensor4 &pnd_field, const Agenda &opt_prop_part_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &ppath_step_agenda, const Vector &p_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Tensor3 &t_field, const Vector &f_grid, const Index &f_index, const Agenda &surface_prop_agenda, const Index &doit_za_interp) |
WORKSPACE METHOD: doit_i_fieldUpdateSeq1D. | |
void | doit_i_fieldUpdateSeq1DPP (Workspace &ws, Tensor6 &doit_i_field, Index &scat_za_index, const Tensor6 &doit_scat_field, const ArrayOfIndex &cloudbox_limits, const Agenda &abs_scalar_gas_agenda, const Tensor4 &vmr_field, const Agenda &spt_calc_agenda, const Vector &scat_za_grid, const Tensor4 &pnd_field, const Agenda &opt_prop_part_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &ppath_step_agenda, const Vector &p_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Tensor3 &t_field, const Vector &f_grid, const Index &f_index) |
WORKSPACE METHOD: doit_i_fieldUpdateSeq1DPP. | |
void | doit_i_fieldUpdateSeq3D (Workspace &ws, Tensor6 &doit_i_field, const Tensor6 &doit_scat_field, const ArrayOfIndex &cloudbox_limits, const Agenda &abs_scalar_gas_agenda, const Tensor4 &vmr_field, const Agenda &spt_calc_agenda, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Tensor4 &pnd_field, const Agenda &opt_prop_part_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &ppath_step_agenda, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Tensor3 &t_field, const Vector &f_grid, const Index &f_index, const Index &doit_za_interp) |
WORKSPACE METHOD: doit_i_fieldUpdateSeq3D. | |
void | doit_scat_fieldCalc (Workspace &ws, Tensor6 &doit_scat_field, const Agenda &pha_mat_spt_agenda, const Tensor6 &doit_i_field, const Tensor4 &pnd_field, const Tensor3 &t_field, const Index &atmosphere_dim, const ArrayOfIndex &cloudbox_limits, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &doit_za_grid_size) |
WORKSPACE METHOD: doit_scat_fieldCalc. | |
void | doit_scat_fieldCalcLimb (Workspace &ws, Tensor6 &doit_scat_field, const Agenda &pha_mat_spt_agenda, const Tensor6 &doit_i_field, const Tensor4 &pnd_field, const Tensor3 &t_field, const Index &atmosphere_dim, const ArrayOfIndex &cloudbox_limits, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &doit_za_grid_size, const Index &doit_za_interp) |
WORKSPACE METHOD: doit_scat_fieldCalcLimb. | |
void | DoitScatteringDataPrepare (ArrayOfTensor7 &pha_mat_sptDOITOpt, ArrayOfSingleScatteringData &scat_data_mono, const Index &doit_za_grid_size, const Vector &scat_aa_grid, const ArrayOfSingleScatteringData &scat_data_raw, const Vector &f_grid, const Index &f_index, const Index &atmosphere_dim, const Index &stokes_dim) |
WORKSPACE METHOD: DoitScatteringDataPrepare. | |
void | DoitWriteIterationFields (const Index &doit_iteration_counter, const Tensor6 &doit_i_field, const ArrayOfIndex &iterations) |
WORKSPACE METHOD: DoitWriteIterationFields. | |
void | doit_za_grid_optCalc (Vector &doit_za_grid_opt, const Tensor6 &doit_i_field, const Vector &scat_za_grid, const Index &doit_za_interp, const Numeric &acc) |
WORKSPACE METHOD: doit_za_grid_optCalc. | |
void | doit_za_interpSet (Index &doit_za_interp, const Index &atmosphere_dim, const String &interp_method) |
WORKSPACE METHOD: doit_za_interpSet. | |
void | emissionPlanck (Vector &emission, const Vector &f_grid, const Numeric &rte_temperature) |
WORKSPACE METHOD: emissionPlanck. | |
void | Error (const String &msg) |
WORKSPACE METHOD: Error. | |
void | Exit () |
WORKSPACE METHOD: Exit. | |
void | ext_matAddGas (Tensor3 &ext_mat, const Matrix &abs_scalar_gas) |
WORKSPACE METHOD: ext_matAddGas. | |
void | ext_matAddPart (Tensor3 &ext_mat, const Tensor3 &ext_mat_spt, const Tensor4 &pnd_field, const Index &atmosphere_dim, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: ext_matAddPart. | |
void | ext_matInit (Tensor3 &ext_mat, const Vector &f_grid, const Index &stokes_dim, const Index &f_index) |
WORKSPACE METHOD: ext_matInit. | |
void | f_gridFromSensorAMSU (Vector &f_grid, const Vector &lo_multi, const ArrayOfVector &f_backend_multi, const ArrayOfArrayOfGField1 &backend_channel_response_multi, const Numeric &spacing) |
WORKSPACE METHOD: f_gridFromSensorAMSU. | |
void | f_gridFromSensorHIRS (Vector &f_grid, const Vector &f_backend, const ArrayOfGField1 &backend_channel_response, const Numeric &spacing) |
WORKSPACE METHOD: f_gridFromSensorHIRS. | |
void | f_gridSelectFIndex (Vector &f_grid, const Index &f_index) |
WORKSPACE METHOD: f_gridSelectFIndex. | |
void | FlagOff (Index &gout1) |
WORKSPACE METHOD: FlagOff. | |
void | FlagOn (Index &gout1) |
WORKSPACE METHOD: FlagOn. | |
void | f_gridFromGasAbsLookup (Vector &f_grid, const GasAbsLookup &abs_lookup) |
WORKSPACE METHOD: f_gridFromGasAbsLookup. | |
void | ForLoop (Workspace &ws, const Agenda &forloop_agenda, const Index &start, const Index &stop, const Index &step) |
WORKSPACE METHOD: ForLoop. | |
void | GField1Create (GField1 &gfield) |
WORKSPACE METHOD: GField1Create. | |
void | GField2Create (GField2 &gfield) |
WORKSPACE METHOD: GField2Create. | |
void | GField3Create (GField3 &gfield) |
WORKSPACE METHOD: GField3Create. | |
void | GField4Create (GField4 &gfield) |
WORKSPACE METHOD: GField4Create. | |
void | INCLUDE () |
WORKSPACE METHOD: INCLUDE. | |
void | IndexCreate (Index &gout1) |
WORKSPACE METHOD: IndexCreate. | |
void | IndexSet (Index &gout1, const Index &value) |
WORKSPACE METHOD: IndexSet. | |
void | IndexStep (Index &gout1, const Index &gin1) |
WORKSPACE METHOD: IndexStep. | |
void | InterpAtmFieldToRteGps (Numeric &gout1, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const GridPos &rte_gp_p, const GridPos &rte_gp_lat, const GridPos &rte_gp_lon, const Tensor3 &gin1) |
WORKSPACE METHOD: InterpAtmFieldToRteGps. | |
void | InterpSurfaceEmissivityFieldIncLatLon (Numeric &outvalue, const Index &atmosphere_dim, const Vector &rte_pos, const Vector &rte_los, const GField3 &gfield) |
WORKSPACE METHOD: InterpSurfaceEmissivityFieldIncLatLon. | |
void | InterpSurfaceFieldToRteGps (Numeric &gout1, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const GridPos &rte_gp_lat, const GridPos &rte_gp_lon, const Matrix &gin1) |
WORKSPACE METHOD: InterpSurfaceFieldToRteGps. | |
void | iyInterpCloudboxField (Matrix &iy, const Tensor7 &scat_i_p, const Tensor7 &scat_i_lat, const Tensor7 &scat_i_lon, const Tensor4 &doit_i_field1D_spectrum, const GridPos &rte_gp_p, const GridPos &rte_gp_lat, const GridPos &rte_gp_lon, const Vector &rte_los, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Index &stokes_dim, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Vector &f_grid) |
WORKSPACE METHOD: iyInterpCloudboxField. | |
void | iyInterpPolyCloudboxField (Matrix &iy, const Tensor7 &scat_i_p, const Tensor7 &scat_i_lat, const Tensor7 &scat_i_lon, const Tensor4 &doit_i_field1D_spectrum, const GridPos &rte_gp_p, const GridPos &rte_gp_lat, const GridPos &rte_gp_lon, const Vector &rte_los, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Index &atmosphere_dim, const Index &stokes_dim, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Vector &f_grid) |
WORKSPACE METHOD: iyInterpPolyCloudboxField. | |
void | jacobianAddAbsSpecies (Workspace &ws, ArrayOfRetrievalQuantity &jacobian_quantities, Agenda &jacobian_agenda, const Matrix &jacobian, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Vector &gin1, const Vector &gin2, const Vector &gin3, const String &species, const String &method, const String &unit, const Numeric &dx) |
WORKSPACE METHOD: jacobianAddAbsSpecies. | |
void | jacobianAddPointing (Workspace &ws, ArrayOfRetrievalQuantity &jacobian_quantities, Agenda &jacobian_agenda, const Matrix &jacobian, const Matrix &sensor_pos, const Vector &sensor_time, const Numeric &dza, const Index &poly_order) |
WORKSPACE METHOD: jacobianAddPointing. | |
void | jacobianAddPolyfit (Workspace &ws, ArrayOfRetrievalQuantity &jacobian_quantities, Agenda &jacobian_agenda, const Matrix &jacobian, const ArrayOfIndex &sensor_response_pol_grid, const Vector &sensor_response_f_grid, const Vector &sensor_response_za_grid, const Matrix &sensor_pos, const Index &poly_order, const Index &no_pol_variation, const Index &no_za_variation, const Index &no_mblock_variation) |
WORKSPACE METHOD: jacobianAddPolyfit. | |
void | jacobianAddTemperature (Workspace &ws, ArrayOfRetrievalQuantity &jacobian_quantities, Agenda &jacobian_agenda, const Matrix &jacobian, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Vector &gin1, const Vector &gin2, const Vector &gin3, const String &hse, const String &method, const Numeric &dx) |
WORKSPACE METHOD: jacobianAddTemperature. | |
void | jacobianCalc (Workspace &ws, Matrix &jacobian, const Agenda &jacobian_agenda, const ArrayOfArrayOfIndex &jacobian_indices) |
WORKSPACE METHOD: jacobianCalc. | |
void | jacobianCalcAbsSpecies (Workspace &ws, Matrix &jacobian, const Agenda &jacobian_y_agenda, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfIndex &jacobian_indices, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const Tensor4 &vmr_field, const Tensor3 &t_field, const Tensor4 &pnd_field, const Matrix &sensor_los, const Vector &y, const String &species) |
WORKSPACE METHOD: jacobianCalcAbsSpecies. | |
void | jacobianCalcPointing (Workspace &ws, Matrix &jacobian, const Agenda &jacobian_y_agenda, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfIndex &jacobian_indices, const Tensor4 &vmr_field, const Tensor3 &t_field, const Tensor4 &pnd_field, const Matrix &sensor_los, const Vector &sensor_time, const Vector &y) |
WORKSPACE METHOD: jacobianCalcPointing. | |
void | jacobianCalcPolyfit (Matrix &jacobian, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfIndex &jacobian_indices, const ArrayOfIndex &sensor_response_pol_grid, const Vector &sensor_response_f_grid, const Vector &sensor_response_za_grid, const Matrix &sensor_pos, const Index &poly_coeff) |
WORKSPACE METHOD: jacobianCalcPolyfit. | |
void | jacobianCalcTemperature (Workspace &ws, Matrix &jacobian, const Agenda &jacobian_y_agenda, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfIndex &jacobian_indices, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor4 &vmr_field, const Tensor3 &t_field, const Tensor4 &pnd_field, const Matrix &sensor_los, const Vector &y) |
WORKSPACE METHOD: jacobianCalcTemperature. | |
void | jacobianClose (Matrix &jacobian, ArrayOfArrayOfIndex &jacobian_indices, const ArrayOfRetrievalQuantity &jacobian_quantities, const Matrix &sensor_pos, const Sparse &sensor_response) |
WORKSPACE METHOD: jacobianClose. | |
void | jacobianInit (Matrix &jacobian, ArrayOfRetrievalQuantity &jacobian_quantities, ArrayOfArrayOfIndex &jacobian_indices, Agenda &jacobian_agenda) |
WORKSPACE METHOD: jacobianInit. | |
void | jacobianOff (Matrix &jacobian, ArrayOfRetrievalQuantity &jacobian_quantities, ArrayOfArrayOfIndex &jacobian_indices, String &jacobian_unit) |
WORKSPACE METHOD: jacobianOff. | |
void | jacobianUnit (Matrix &jacobian, const String &jacobian_unit, const String &y_unit, const Vector &y_f) |
WORKSPACE METHOD: jacobianUnit. | |
void | MatrixCBR (Matrix &gout1, const Index &stokes_dim, const Vector &gin1) |
WORKSPACE METHOD: MatrixCBR. | |
void | MatrixCreate (Matrix &gout1) |
WORKSPACE METHOD: MatrixCreate. | |
void | MatrixMatrixMultiply (Matrix &gout1, const Matrix &gin1, const Matrix &gin2) |
WORKSPACE METHOD: MatrixMatrixMultiply. | |
void | Matrix1ColFromVector (Matrix &gout1, const Vector &gin1) |
WORKSPACE METHOD: Matrix1ColFromVector. | |
void | Matrix2ColFromVectors (Matrix &gout1, const Vector &gin1, const Vector &gin2) |
WORKSPACE METHOD: Matrix2ColFromVectors. | |
void | Matrix3ColFromVectors (Matrix &gout1, const Vector &gin1, const Vector &gin2, const Vector &gin3) |
WORKSPACE METHOD: Matrix3ColFromVectors. | |
void | Matrix1RowFromVector (Matrix &gout1, const Vector &gin1) |
WORKSPACE METHOD: Matrix1RowFromVector. | |
void | Matrix2RowFromVectors (Matrix &gout1, const Vector &gin1, const Vector &gin2) |
WORKSPACE METHOD: Matrix2RowFromVectors. | |
void | Matrix3RowFromVectors (Matrix &gout1, const Vector &gin1, const Vector &gin2, const Vector &gin3) |
WORKSPACE METHOD: Matrix3RowFromVectors. | |
void | MatrixPlanck (Matrix &gout1, const Index &stokes_dim, const Vector &gin1, const Numeric &gin2) |
WORKSPACE METHOD: MatrixPlanck. | |
void | MatrixScale (Matrix &gout1, const Matrix &gin1, const Numeric &value) |
WORKSPACE METHOD: MatrixScale. | |
void | MatrixSetConstant (Matrix &gout1, const Index &nrows, const Index &ncols, const Numeric &value) |
WORKSPACE METHOD: MatrixSetConstant. | |
void | MatrixUnitIntensity (Matrix &gout1, const Index &stokes_dim, const Vector &gin1) |
WORKSPACE METHOD: MatrixUnitIntensity. | |
void | mc_antennaSetGaussian (MCAntenna &mc_antenna, const Numeric &za_sigma, const Numeric &aa_sigma) |
WORKSPACE METHOD: mc_antennaSetGaussian. | |
void | mc_antennaSetGaussianByFWHM (MCAntenna &mc_antenna, const Numeric &za_fwhm, const Numeric &aa_fwhm) |
WORKSPACE METHOD: mc_antennaSetGaussianByFWHM. | |
void | mc_antennaSetPencilBeam (MCAntenna &mc_antenna) |
WORKSPACE METHOD: mc_antennaSetPencilBeam. | |
void | mc_IWP_cloud_opt_pathCalc (Workspace &ws, Numeric &mc_IWP, Numeric &mc_cloud_opt_path, Numeric &mc_IWP_error, Numeric &mc_cloud_opt_path_error, Index &mc_iteration_count, const MCAntenna &mc_antenna, const Matrix &sensor_pos, const Matrix &sensor_los, const Agenda &ppath_step_agenda, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Matrix &r_geoid, const Matrix &z_surface, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const ArrayOfIndex &cloudbox_limits, const Tensor4 &pnd_field, const ArrayOfSingleScatteringData &scat_data_mono, const Vector &particle_masses, const Index &mc_seed, const Index &max_iter) |
WORKSPACE METHOD: mc_IWP_cloud_opt_pathCalc. | |
void | MCGeneral (Workspace &ws, Vector &y, Index &mc_iteration_count, Vector &mc_error, Tensor3 &mc_points, const MCAntenna &mc_antenna, const Vector &f_grid, const Index &f_index, const Matrix &sensor_pos, const Matrix &sensor_los, const Index &stokes_dim, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &abs_scalar_gas_agenda, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Tensor3 &t_field, const Tensor4 &vmr_field, const ArrayOfIndex &cloudbox_limits, const Tensor4 &pnd_field, const ArrayOfSingleScatteringData &scat_data_mono, const Index &mc_seed, const String &y_unit, const Numeric &mc_std_err, const Index &mc_max_time, const Index &mc_max_iter, const Index &mc_z_field_is_1D) |
WORKSPACE METHOD: MCGeneral. | |
void | MCIPA (Workspace &ws, Vector &y, Index &mc_iteration_count, Vector &mc_error, Tensor3 &mc_points, const MCAntenna &mc_antenna, const Vector &f_grid, const Index &f_index, const Matrix &sensor_pos, const Matrix &sensor_los, const Index &stokes_dim, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &abs_scalar_gas_agenda, const Agenda &ppath_step_agenda, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Tensor3 &t_field, const Tensor4 &vmr_field, const ArrayOfIndex &cloudbox_limits, const Tensor4 &pnd_field, const ArrayOfSingleScatteringData &scat_data_mono, const Index &mc_seed, const String &y_unit, const Numeric &mc_std_err, const Index &mc_max_time, const Index &mc_max_iter, const Index &mc_z_field_is_1D) |
WORKSPACE METHOD: MCIPA. | |
void | MCSetSeedFromTime (Index &mc_seed) |
WORKSPACE METHOD: MCSetSeedFromTime. | |
void | NumericCreate (Numeric &gout1) |
WORKSPACE METHOD: NumericCreate. | |
void | NumericSet (Numeric &gout1, const Numeric &value) |
WORKSPACE METHOD: NumericSet. | |
void | opt_prop_sptFromData (Tensor3 &ext_mat_spt, Matrix &abs_vec_spt, const ArrayOfSingleScatteringData &scat_data_raw, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &scat_za_index, const Index &scat_aa_index, const Index &f_index, const Vector &f_grid, const Numeric &rte_temperature, const Tensor4 &pnd_field, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: opt_prop_sptFromData. | |
void | opt_prop_sptFromMonoData (Tensor3 &ext_mat_spt, Matrix &abs_vec_spt, const ArrayOfSingleScatteringData &scat_data_mono, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &scat_za_index, const Index &scat_aa_index, const Numeric &rte_temperature, const Tensor4 &pnd_field, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: opt_prop_sptFromMonoData. | |
void | output_file_formatSetAscii (String &output_file_format) |
WORKSPACE METHOD: output_file_formatSetAscii. | |
void | output_file_formatSetBinary (String &output_file_format) |
WORKSPACE METHOD: output_file_formatSetBinary. | |
void | output_file_formatSetZippedAscii (String &output_file_format) |
WORKSPACE METHOD: output_file_formatSetZippedAscii. | |
void | ParticleTypeAddAll (ArrayOfSingleScatteringData &scat_data_raw, ArrayOfGField3 &pnd_field_raw, const Index &atmosphere_dim, const Vector &f_grid, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfIndex &cloudbox_limits, const String &filename_scat_data, const String &filename_pnd_field) |
WORKSPACE METHOD: ParticleTypeAddAll. | |
void | ParticleTypeAdd (ArrayOfSingleScatteringData &scat_data_raw, ArrayOfGField3 &pnd_field_raw, const Index &atmosphere_dim, const Vector &f_grid, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfIndex &cloudbox_limits, const String &filename_scat_data, const String &filename_pnd_field) |
WORKSPACE METHOD: ParticleTypeAdd. | |
void | ParticleTypeInit (ArrayOfSingleScatteringData &scat_data_raw, ArrayOfGField3 &pnd_field_raw) |
WORKSPACE METHOD: ParticleTypeInit. | |
void | pha_matCalc (Tensor4 &pha_mat, const Tensor5 &pha_mat_spt, const Tensor4 &pnd_field, const Index &atmosphere_dim, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: pha_matCalc. | |
void | pha_mat_sptFromData (Tensor5 &pha_mat_spt, const ArrayOfSingleScatteringData &scat_data_raw, const Vector &scat_za_grid, const Vector &scat_aa_grid, const Index &scat_za_index, const Index &scat_aa_index, const Index &f_index, const Vector &f_grid, const Numeric &rte_temperature, const Tensor4 &pnd_field, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: pha_mat_sptFromData. | |
void | pha_mat_sptFromMonoData (Tensor5 &pha_mat_spt, const ArrayOfSingleScatteringData &scat_data_mono, const Index &doit_za_grid_size, const Vector &scat_aa_grid, const Index &scat_za_index, const Index &scat_aa_index, const Numeric &rte_temperature, const Tensor4 &pnd_field, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: pha_mat_sptFromMonoData. | |
void | pha_mat_sptFromDataDOITOpt (Tensor5 &pha_mat_spt, const ArrayOfTensor7 &pha_mat_sptDOITOpt, const ArrayOfSingleScatteringData &scat_data_mono, const Index &doit_za_grid_size, const Vector &scat_aa_grid, const Index &scat_za_index, const Index &scat_aa_index, const Numeric &rte_temperature, const Tensor4 &pnd_field, const Index &scat_p_index, const Index &scat_lat_index, const Index &scat_lon_index) |
WORKSPACE METHOD: pha_mat_sptFromDataDOITOpt. | |
void | pnd_fieldCalc (Tensor4 &pnd_field, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfGField3 &pnd_field_raw, const Index &atmosphere_dim, const ArrayOfIndex &cloudbox_limits) |
WORKSPACE METHOD: pnd_fieldCalc. | |
void | ppathCalc (Workspace &ws, Ppath &ppath, const Agenda &ppath_step_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Vector &rte_pos, const Vector &rte_los) |
WORKSPACE METHOD: ppathCalc. | |
void | ppath_stepGeometric (Ppath &ppath_step, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Numeric &ppath_lmax) |
WORKSPACE METHOD: ppath_stepGeometric. | |
void | ppath_stepRefractionEuler (Workspace &ws, Ppath &ppath_step, Numeric &rte_pressure, Numeric &rte_temperature, Vector &rte_vmr_list, Numeric &refr_index, const Agenda &refr_index_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Matrix &r_geoid, const Matrix &z_surface, const Numeric &ppath_lmax, const Numeric &ppath_lraytrace) |
WORKSPACE METHOD: ppath_stepRefractionEuler. | |
void | p_gridFromGasAbsLookup (Vector &p_grid, const GasAbsLookup &abs_lookup) |
WORKSPACE METHOD: p_gridFromGasAbsLookup. | |
void | refr_indexFieldAndGradients (Workspace &ws, Numeric &refr_index, Numeric &rte_pressure, Numeric &rte_temperature, Vector &rte_vmr_list, Tensor4 &gout1, const Agenda &refr_index_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Matrix &r_geoid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Vector &gin1, const Vector &gin2, const Vector &gin3) |
WORKSPACE METHOD: refr_indexFieldAndGradients. | |
void | refr_indexIR (Numeric &refr_index, const Numeric &rte_pressure, const Numeric &rte_temperature, const Vector &rte_vmr_list) |
WORKSPACE METHOD: refr_indexIR. | |
void | refr_indexThayer (Numeric &refr_index, const Numeric &rte_pressure, const Numeric &rte_temperature, const Vector &rte_vmr_list, const ArrayOfArrayOfSpeciesTag &abs_species) |
WORKSPACE METHOD: refr_indexThayer. | |
void | refr_indexUnit (Numeric &refr_index) |
WORKSPACE METHOD: refr_indexUnit. | |
void | RteCalc (Workspace &ws, Vector &y, Vector &y_f, ArrayOfIndex &y_pol, Matrix &y_pos, Matrix &y_los, Matrix &jacobian, const Agenda &ppath_step_agenda, const Agenda &rte_agenda, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &iy_cloudbox_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const ArrayOfArrayOfSpeciesTag &abs_species, const Matrix &r_geoid, const Matrix &z_surface, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Sparse &sensor_response, const Vector &sensor_response_f, const ArrayOfIndex &sensor_response_pol, const Vector &sensor_response_za, const Vector &sensor_response_aa, const Matrix &sensor_pos, const Matrix &sensor_los, const Vector &f_grid, const Index &stokes_dim, const Index &antenna_dim, const Vector &mblock_za_grid, const Vector &mblock_aa_grid, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfIndex &jacobian_indices, const String &y_unit, const String &jacobian_unit) |
WORKSPACE METHOD: RteCalc. | |
void | RteCalcMC (Workspace &ws, Vector &y, Vector &y_f, ArrayOfIndex &y_pol, Matrix &y_pos, Matrix &y_los, Vector &mc_error, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &opt_prop_gas_agenda, const Agenda &abs_scalar_gas_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Matrix &r_geoid, const Matrix &z_surface, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Tensor4 &pnd_field, const ArrayOfSingleScatteringData &scat_data_raw, const Sparse &sensor_response, const Vector &sensor_response_f, const ArrayOfIndex &sensor_response_pol, const Vector &sensor_response_za, const Vector &sensor_response_aa, const Matrix &sensor_pos, const Matrix &sensor_los, const Vector &f_grid, const Index &stokes_dim, const Index &antenna_dim, const Vector &mblock_za_grid, const Vector &mblock_aa_grid, const String &y_unit, const Numeric &mc_std_err, const Index &mc_max_time, const Index &mc_max_iter, const Index &mc_z_field_is_1D) |
WORKSPACE METHOD: RteCalcMC. | |
void | RteCalcNoJacobian (Workspace &ws, Vector &y, Vector &y_f, ArrayOfIndex &y_pol, Matrix &y_pos, Matrix &y_los, const Agenda &ppath_step_agenda, const Agenda &rte_agenda, const Agenda &iy_space_agenda, const Agenda &surface_prop_agenda, const Agenda &iy_cloudbox_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Matrix &r_geoid, const Matrix &z_surface, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Sparse &sensor_response, const Vector &sensor_response_f, const ArrayOfIndex &sensor_response_pol, const Vector &sensor_response_za, const Vector &sensor_response_aa, const Matrix &sensor_pos, const Matrix &sensor_los, const Vector &f_grid, const Index &stokes_dim, const Index &antenna_dim, const Vector &mblock_za_grid, const Vector &mblock_aa_grid, const String &y_unit) |
WORKSPACE METHOD: RteCalcNoJacobian. | |
void | RteStd (Workspace &ws, Matrix &iy, ArrayOfTensor4 &diy_dvmr, ArrayOfTensor4 &diy_dt, const Ppath &ppath, const ArrayOfPpath &ppath_array, const Index &ppath_array_index, const Vector &f_grid, const Index &stokes_dim, const Agenda &emission_agenda, const Agenda &abs_scalar_gas_agenda, const ArrayOfIndex &rte_do_vmr_jacs, const Index &rte_do_t_jacs) |
WORKSPACE METHOD: RteStd. | |
void | RteStdWithTransmissions (Workspace &ws, Matrix &iy, Tensor4 &ppath_transmissions, ArrayOfTensor4 &diy_dvmr, ArrayOfTensor4 &diy_dt, const Ppath &ppath, const ArrayOfPpath &ppath_array, const Index &ppath_array_index, const Vector &f_grid, const Index &stokes_dim, const Agenda &emission_agenda, const Agenda &abs_scalar_gas_agenda, const ArrayOfIndex &rte_do_vmr_jacs, const Index &rte_do_t_jacs) |
WORKSPACE METHOD: RteStdWithTransmissions. | |
void | rte_losSet (Vector &rte_los, const Index &atmosphere_dim, const Numeric &za, const Numeric &aa) |
WORKSPACE METHOD: rte_losSet. | |
void | rte_posAddGeoidWGS84 (Vector &rte_pos, const Index &atmosphere_dim, const Numeric &lat_1d, const Numeric &meridian_angle_1d) |
WORKSPACE METHOD: rte_posAddGeoidWGS84. | |
void | rte_posAddRgeoid (Vector &rte_pos, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Matrix &r_geoid) |
WORKSPACE METHOD: rte_posAddRgeoid. | |
void | rte_posSet (Vector &rte_pos, const Index &atmosphere_dim, const Numeric &r_or_z, const Numeric &lat, const Numeric &lon) |
WORKSPACE METHOD: rte_posSet. | |
void | rte_posShift (Vector &rte_pos, Vector &rte_los, GridPos &rte_gp_p, GridPos &rte_gp_lat, GridPos &rte_gp_lon, const Ppath &ppath, const Index &atmosphere_dim) |
WORKSPACE METHOD: rte_posShift. | |
void | rte_pos_and_losFromTangentPressure (Workspace &ws, Vector &rte_pos, Vector &rte_los, Ppath &ppath, const Index &atmosphere_dim, const Vector &p_grid, const Tensor3 &z_field, const Vector &lat_grid, const Vector &lon_grid, const Agenda &ppath_step_agenda, const Matrix &r_geoid, const Matrix &z_surface, const Numeric &tan_p) |
WORKSPACE METHOD: rte_pos_and_losFromTangentPressure. | |
void | r_geoidSpherical (Matrix &r_geoid, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Numeric &r) |
WORKSPACE METHOD: r_geoidSpherical. | |
void | r_geoidWGS84 (Matrix &r_geoid, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Numeric &lat_1d, const Numeric &meridian_angle_1d) |
WORKSPACE METHOD: r_geoidWGS84. | |
void | ScatteringDoit (Workspace &ws, Tensor6 &doit_i_field, Tensor7 &scat_i_p, Tensor7 &scat_i_lat, Tensor7 &scat_i_lon, Tensor4 &doit_i_field1D_spectrum, const Vector &f_grid, const Agenda &doit_mono_agenda, const Index &doit_is_initialized) |
WORKSPACE METHOD: ScatteringDoit. | |
void | scat_data_monoCalc (ArrayOfSingleScatteringData &scat_data_mono, const ArrayOfSingleScatteringData &scat_data_raw, const Vector &f_grid, const Index &f_index) |
WORKSPACE METHOD: scat_data_monoCalc. | |
void | scat_data_rawCheck (const ArrayOfSingleScatteringData &scat_data_raw) |
WORKSPACE METHOD: scat_data_rawCheck. | |
void | sensorOff (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_f_grid, ArrayOfIndex &sensor_response_pol_grid, Vector &sensor_response_za_grid, Vector &sensor_response_aa_grid, Index &antenna_dim, Vector &mblock_za_grid, Vector &mblock_aa_grid, const Index &atmosphere_dim, const Index &stokes_dim, const Vector &f_grid) |
WORKSPACE METHOD: sensorOff. | |
void | sensor_posAddGeoidWGS84 (Matrix &sensor_pos, const Index &atmosphere_dim, const Numeric &lat_1d, const Numeric &meridian_angle_1d) |
WORKSPACE METHOD: sensor_posAddGeoidWGS84. | |
void | sensor_posAddRgeoid (Matrix &sensor_pos, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Matrix &r_geoid) |
WORKSPACE METHOD: sensor_posAddRgeoid. | |
void | sensor_responseAntenna (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_za_grid, Vector &sensor_response_aa_grid, const Vector &sensor_response_f_grid, const ArrayOfIndex &sensor_response_pol_grid, const Index &atmosphere_dim, const Index &antenna_dim, const Matrix &antenna_los, const GField4 &antenna_response, const Index &sensor_norm) |
WORKSPACE METHOD: sensor_responseAntenna. | |
void | sensor_responseBackend (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_f_grid, const ArrayOfIndex &sensor_response_pol_grid, const Vector &sensor_response_za_grid, const Vector &sensor_response_aa_grid, const Vector &f_backend, const ArrayOfGField1 &backend_channel_response, const Index &sensor_norm) |
WORKSPACE METHOD: sensor_responseBackend. | |
void | sensor_responseBeamSwitching (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_za_grid, Vector &sensor_response_aa_grid, const Vector &sensor_response_f_grid, const ArrayOfIndex &sensor_response_pol_grid, const Numeric &w1, const Numeric &w2) |
WORKSPACE METHOD: sensor_responseBeamSwitching. | |
void | sensor_responseIF2RF (Vector &sensor_response_f, Vector &sensor_response_f_grid, const Numeric &lo, const String &sideband_mode) |
WORKSPACE METHOD: sensor_responseIF2RF. | |
void | sensor_responseInit (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_f_grid, ArrayOfIndex &sensor_response_pol_grid, Vector &sensor_response_za_grid, Vector &sensor_response_aa_grid, const Vector &f_grid, const Vector &mblock_za_grid, const Vector &mblock_aa_grid, const Index &antenna_dim, const Index &atmosphere_dim, const Index &stokes_dim, const Index &sensor_norm) |
WORKSPACE METHOD: sensor_responseInit. | |
void | sensor_responseMixer (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_f_grid, const ArrayOfIndex &sensor_response_pol_grid, const Vector &sensor_response_za_grid, const Vector &sensor_response_aa_grid, const Numeric &lo, const GField1 &sideband_response, const Index &sensor_norm) |
WORKSPACE METHOD: sensor_responseMixer. | |
void | sensor_responseMultiMixerBackend (Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Vector &sensor_response_za, Vector &sensor_response_aa, Vector &sensor_response_f_grid, const ArrayOfIndex &sensor_response_pol_grid, const Vector &sensor_response_za_grid, const Vector &sensor_response_aa_grid, const Vector &lo_multi, const ArrayOfGField1 &sideband_response_multi, const ArrayOfString &sideband_mode_multi, const ArrayOfVector &f_backend_multi, const ArrayOfArrayOfGField1 &backend_channel_response_multi, const Index &sensor_norm) |
WORKSPACE METHOD: sensor_responseMultiMixerBackend. | |
void | SparseCreate (Sparse &gout1) |
WORKSPACE METHOD: SparseCreate. | |
void | StringCreate (String &gout1) |
WORKSPACE METHOD: StringCreate. | |
void | StringSet (String &gout1, const String &text) |
WORKSPACE METHOD: StringSet. | |
void | surfaceBlackbody (Matrix &surface_los, Tensor4 &surface_rmatrix, Matrix &surface_emission, const Vector &f_grid, const Index &stokes_dim, const Numeric &surface_skin_t) |
WORKSPACE METHOD: surfaceBlackbody. | |
void | surfaceFlatRefractiveIndex (Matrix &surface_los, Tensor4 &surface_rmatrix, Matrix &surface_emission, const Vector &f_grid, const Index &stokes_dim, const Index &atmosphere_dim, const Vector &rte_los, const Numeric &surface_skin_t, const Matrix &complex_n) |
WORKSPACE METHOD: surfaceFlatRefractiveIndex. | |
void | surfaceFlatSingleEmissivity (Matrix &surface_los, Tensor4 &surface_rmatrix, Matrix &surface_emission, const Vector &f_grid, const Index &stokes_dim, const Index &atmosphere_dim, const Vector &rte_los, const Numeric &surface_skin_t, const Numeric &surface_emissivity) |
WORKSPACE METHOD: surfaceFlatSingleEmissivity. | |
void | surfaceFlatVaryingEmissivity (Matrix &surface_los, Tensor4 &surface_rmatrix, Matrix &surface_emission, const Vector &f_grid, const Index &stokes_dim, const Index &atmosphere_dim, const Vector &rte_los, const Numeric &surface_skin_t, const Vector &surface_emissivity) |
WORKSPACE METHOD: surfaceFlatVaryingEmissivity. | |
void | Tensor3Create (Tensor3 &gout1) |
WORKSPACE METHOD: Tensor3Create. | |
void | Tensor3FillWithVector (Tensor3 &gout1, const Vector &gin1, const Index &npages, const Index &nrows, const Index &ncols) |
WORKSPACE METHOD: Tensor3FillWithVector. | |
void | Tensor3Scale (Tensor3 &gout1, const Tensor3 &gin1, const Numeric &value) |
WORKSPACE METHOD: Tensor3Scale. | |
void | Tensor3SetConstant (Tensor3 &gout1, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value) |
WORKSPACE METHOD: Tensor3SetConstant. | |
void | Tensor4Create (Tensor4 &gout1) |
WORKSPACE METHOD: Tensor4Create. | |
void | Tensor4Scale (Tensor4 &gout1, const Tensor4 &gin1, const Numeric &value) |
WORKSPACE METHOD: Tensor4Scale. | |
void | Tensor4SetConstant (Tensor4 &gout1, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value) |
WORKSPACE METHOD: Tensor4SetConstant. | |
void | Tensor5Create (Tensor5 &gout1) |
WORKSPACE METHOD: Tensor5Create. | |
void | Tensor5Scale (Tensor5 &gout1, const Tensor5 &gin1, const Numeric &value) |
WORKSPACE METHOD: Tensor5Scale. | |
void | Tensor5SetConstant (Tensor5 &gout1, const Index &nshelves, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value) |
WORKSPACE METHOD: Tensor5SetConstant. | |
void | Tensor6Create (Tensor6 &gout1) |
WORKSPACE METHOD: Tensor6Create. | |
void | Tensor6Scale (Tensor6 &gout1, const Tensor6 &gin1, const Numeric &value) |
WORKSPACE METHOD: Tensor6Scale. | |
void | Tensor6SetConstant (Tensor6 &gout1, const Index &nvitrines, const Index &nshelves, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value) |
WORKSPACE METHOD: Tensor6SetConstant. | |
void | Tensor6ToPlanckBT (Tensor6 &gout1, const Index &f_index, const Vector &f_grid, const Tensor6 &gin1) |
WORKSPACE METHOD: Tensor6ToPlanckBT. | |
void | Tensor7Create (Tensor7 &gout1) |
WORKSPACE METHOD: Tensor7Create. | |
void | Tensor7Scale (Tensor7 &gout1, const Tensor7 &gin1, const Numeric &value) |
WORKSPACE METHOD: Tensor7Scale. | |
void | Tensor7SetConstant (Tensor7 &gout1, const Index &nlibraries, const Index &nvitrines, const Index &nshelves, const Index &nbooks, const Index &npages, const Index &nrows, const Index &ncols, const Numeric &value) |
WORKSPACE METHOD: Tensor7SetConstant. | |
void | Test () |
WORKSPACE METHOD: Test. | |
void | timerStart (Timer &timer) |
WORKSPACE METHOD: timerStart. | |
void | timerStop (const Timer &timer) |
WORKSPACE METHOD: timerStop. | |
void | VectorAddScalar (Vector &gout1, const Vector &gin1, const Numeric &value) |
WORKSPACE METHOD: VectorAddScalar. | |
void | VectorCreate (Vector &gout1) |
WORKSPACE METHOD: VectorCreate. | |
void | VectorExtractFromMatrix (Vector &gout1, const Matrix &gin1, const Index &gin2, const String &direction) |
WORKSPACE METHOD: VectorExtractFromMatrix. | |
void | VectorInsertGridPoints (Vector &gout1, const Vector &gin1, const Vector &gin2) |
WORKSPACE METHOD: VectorInsertGridPoints. | |
void | VectorLinSpace (Vector &gout1, const Numeric &start, const Numeric &stop, const Numeric &step) |
WORKSPACE METHOD: VectorLinSpace. | |
void | VectorLogSpace (Vector &gout1, const Numeric &start, const Numeric &stop, const Numeric &step) |
WORKSPACE METHOD: VectorLogSpace. | |
void | VectorMatrixMultiply (Vector &gout1, const Matrix &gin1, const Vector &gin2) |
WORKSPACE METHOD: VectorMatrixMultiply. | |
void | VectorNLinSpace (Vector &gout1, const Index &nelem, const Numeric &start, const Numeric &stop) |
WORKSPACE METHOD: VectorNLinSpace. | |
void | VectorNLogSpace (Vector &gout1, const Index &nelem, const Numeric &start, const Numeric &stop) |
WORKSPACE METHOD: VectorNLogSpace. | |
void | VectorScale (Vector &gout1, const Vector &gin1, const Numeric &value) |
WORKSPACE METHOD: VectorScale. | |
void | VectorSetConstant (Vector &gout1, const Index &nelem, const Numeric &value) |
WORKSPACE METHOD: VectorSetConstant. | |
void | VectorSet (Vector &gout1, const Vector &values) |
WORKSPACE METHOD: VectorSet. | |
void | VectorZtanToZaRefr1D (Workspace &ws, Numeric &refr_index, Numeric &rte_pressure, Numeric &rte_temperature, Vector &rte_vmr_list, Vector &gout1, const Agenda &refr_index_agenda, const Matrix &sensor_pos, const Vector &p_grid, const Tensor3 &t_field, const Tensor3 &z_field, const Tensor4 &vmr_field, const Matrix &r_geoid, const Index &atmosphere_dim, const Vector &gin1) |
WORKSPACE METHOD: VectorZtanToZaRefr1D. | |
void | VectorZtanToZa1D (Vector &gout1, const Matrix &sensor_pos, const Matrix &r_geoid, const Index &atmosphere_dim, const Vector &gin1) |
WORKSPACE METHOD: VectorZtanToZa1D. | |
void | ybatchCalc (Workspace &ws, Matrix &ybatch, const Index &ybatch_n, const Agenda &ybatch_calc_agenda, const Index &robust) |
WORKSPACE METHOD: ybatchCalc. | |
void | ybatchMetProfiles (Workspace &ws, Matrix &ybatch, const ArrayOfArrayOfSpeciesTag &abs_species, const Agenda &met_profile_calc_agenda, const Vector &f_grid, const Matrix &met_amsu_data, const Matrix &sensor_pos, const Matrix &r_geoid, const Vector &lat_grid, const Vector &lon_grid, const Index &atmosphere_dim, const ArrayOfSingleScatteringData &scat_data_raw, const Index &nelem_p_grid, const String &met_profile_path, const String &met_profile_pnd_path) |
WORKSPACE METHOD: ybatchMetProfiles. | |
void | ybatchMetProfilesClear (Workspace &ws, Matrix &ybatch, const ArrayOfArrayOfSpeciesTag &abs_species, const Agenda &met_profile_calc_agenda, const Vector &f_grid, const Matrix &met_amsu_data, const Matrix &sensor_pos, const Matrix &r_geoid, const Index &nelem_p_grid, const String &met_profile_path) |
WORKSPACE METHOD: ybatchMetProfilesClear. | |
void | ybatchUnit (Matrix &ybatch, const String &y_unit, const Vector &y_f) |
WORKSPACE METHOD: ybatchUnit. | |
void | yUnit (Vector &y, const String &y_unit, const Vector &y_f) |
WORKSPACE METHOD: yUnit. | |
void | ZaSatOccultation (Workspace &ws, Vector &gout1, const Agenda &ppath_step_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Numeric &z_recieve, const Numeric &z_send, const Numeric &t_sample, const Numeric &z_scan_low, const Numeric &z_scan_high) |
WORKSPACE METHOD: ZaSatOccultation. | |
template<typename T> | |
void | Append (T &out, const T &in) |
WORKSPACE METHOD: Append. | |
template<typename T> | |
void | Copy (T &gout1, const T &gin1) |
WORKSPACE METHOD: Copy. | |
template<typename T> | |
void | Delete (Workspace &ws, const T &gin1, const String &gin1_wsvname) |
WORKSPACE METHOD: Delete. | |
template<typename T> | |
void | DoNothing (T &gout1, const T &gin1) |
WORKSPACE METHOD: DoNothing. | |
template<typename T> | |
void | Extract (T &needle, const T &haystack, const Index &index) |
WORKSPACE METHOD: Extract. | |
template<typename T> | |
void | Ignore (const T &gin1) |
WORKSPACE METHOD: Ignore. | |
template<typename T> | |
void | nelemGet (Index &nelem, const T &gin1) |
WORKSPACE METHOD: nelemGet. | |
template<typename T> | |
void | ncolsGet (Index &ncols, const T &gin1) |
WORKSPACE METHOD: ncolsGet. | |
template<typename T> | |
void | nrowsGet (Index &nrows, const T &gin1) |
WORKSPACE METHOD: nrowsGet. | |
template<typename T> | |
void | npagesGet (Index &npages, const T &gin1) |
WORKSPACE METHOD: npagesGet. | |
template<typename T> | |
void | nbooksGet (Index &nbooks, const T &gin1) |
WORKSPACE METHOD: nbooksGet. | |
template<typename T> | |
void | nshelvesGet (Index &nshelves, const T &gin1) |
WORKSPACE METHOD: nshelvesGet. | |
template<typename T> | |
void | nvitrinesGet (Index &nvitrines, const T &gin1) |
WORKSPACE METHOD: nvitrinesGet. | |
template<typename T> | |
void | Print (const T &gin1, const Index &level) |
WORKSPACE METHOD: Print. | |
template<typename T> | |
void | ReadNetCDF (T &gout1, const String &gout1_wsvname, const String &filename, const String &filename_wsvname) |
WORKSPACE METHOD: ReadNetCDF. | |
template<typename T> | |
void | ReadXML (T &gout1, const String &gout1_wsvname, const String &filename, const String &filename_wsvname) |
WORKSPACE METHOD: ReadXML. | |
template<typename T> | |
void | Select (T &needles, const T &haystack, const ArrayOfIndex &needleindexes) |
WORKSPACE METHOD: Select. | |
template<typename T> | |
void | WriteNetCDF (const T &genericinput1, const String &filename, const String &genericinput1_wsvname, const String &filename_wsvname) |
WORKSPACE METHOD: WriteNetCDF. | |
template<typename T> | |
void | WriteXML (const String &output_file_format, const T &gin1, const String &filename, const String &gin1_wsvname, const String &filename_wsvname) |
WORKSPACE METHOD: WriteXML. | |
template<typename T> | |
void | WriteXMLIndexed (const String &output_file_format, const Index &file_index, const T &gin1, const String &filename, const String &gin1_wsvname, const String &filename_wsvname) |
WORKSPACE METHOD: WriteXMLIndexed. | |
void | AbsInputFromAtmFields_g (Workspace &ws, const MRecord &mr) |
void | AbsInputFromRteScalars_g (Workspace &ws, const MRecord &mr) |
void | abs_coefCalc_g (Workspace &ws, const MRecord &mr) |
void | abs_coefCalcFromXsec_g (Workspace &ws, const MRecord &mr) |
void | abs_coefCalcSaveMemory_g (Workspace &ws, const MRecord &mr) |
void | abs_cont_descriptionAppend_g (Workspace &ws, const MRecord &mr) |
void | abs_cont_descriptionInit_g (Workspace &ws, const MRecord &mr) |
void | abs_h2oSet_g (Workspace &ws, const MRecord &mr) |
void | abs_lineshapeDefine_g (Workspace &ws, const MRecord &mr) |
void | abs_lineshape_per_tgDefine_g (Workspace &ws, const MRecord &mr) |
void | abs_linesReadFromArts_g (Workspace &ws, const MRecord &mr) |
void | abs_linesReadFromArtsObsolete_g (Workspace &ws, const MRecord &mr) |
void | abs_linesReadFromHitran_g (Workspace &ws, const MRecord &mr) |
void | abs_linesReadFromHitran2004_g (Workspace &ws, const MRecord &mr) |
void | abs_linesReadFromJpl_g (Workspace &ws, const MRecord &mr) |
void | abs_linesReadFromMytran2_g (Workspace &ws, const MRecord &mr) |
void | abs_lines_per_speciesAddMirrorLines_g (Workspace &ws, const MRecord &mr) |
void | abs_lines_per_speciesCompact_g (Workspace &ws, const MRecord &mr) |
void | abs_lines_per_speciesCreateFromLines_g (Workspace &ws, const MRecord &mr) |
void | abs_lines_per_speciesReadFromCatalogues_g (Workspace &ws, const MRecord &mr) |
void | abs_lines_per_speciesSetEmpty_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupAdapt_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupCreate_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupInit_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupSetup_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupSetupBatch_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupSetupWide_g (Workspace &ws, const MRecord &mr) |
void | abs_lookupTestAccuracy_g (Workspace &ws, const MRecord &mr) |
void | abs_n2Set_g (Workspace &ws, const MRecord &mr) |
void | abs_scalar_gasCalcLBL_g (Workspace &ws, const MRecord &mr) |
void | abs_scalar_gasExtractFromLookup_g (Workspace &ws, const MRecord &mr) |
void | abs_scalar_gasFromAbsCoef_g (Workspace &ws, const MRecord &mr) |
void | abs_fieldCalc_g (Workspace &ws, const MRecord &mr) |
void | abs_speciesAdd_g (Workspace &ws, const MRecord &mr) |
void | abs_speciesAdd2_g (Workspace &ws, const MRecord &mr) |
void | abs_speciesDefineAllInScenario_g (Workspace &ws, const MRecord &mr) |
void | abs_speciesInit_g (Workspace &ws, const MRecord &mr) |
void | SpeciesSet_g (Workspace &ws, const MRecord &mr) |
void | abs_vecAddGas_g (Workspace &ws, const MRecord &mr) |
void | abs_vecAddPart_g (Workspace &ws, const MRecord &mr) |
void | abs_vecInit_g (Workspace &ws, const MRecord &mr) |
void | abs_xsec_per_speciesAddConts_g (Workspace &ws, const MRecord &mr) |
void | abs_xsec_per_speciesAddLines_g (Workspace &ws, const MRecord &mr) |
void | abs_xsec_per_speciesInit_g (Workspace &ws, const MRecord &mr) |
void | AgendaExecute_g (Workspace &ws, const MRecord &mr) |
void | AgendaAppend_g (Workspace &ws, const MRecord &mr) |
void | AgendaSet_g (Workspace &ws, const MRecord &mr) |
void | AntennaOff_g (Workspace &ws, const MRecord &mr) |
void | AntennaSet1D_g (Workspace &ws, const MRecord &mr) |
void | AntennaSet2D_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfIndexArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfIndexArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfStringArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfVectorArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfMatrixArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfMatrixArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfTensor3ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfTensor3ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfTensor4ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfTensor6ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfTensor7ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfTensor6ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfLineRecordArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfLineRecordArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfLineshapeSpecArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfSpeciesTagArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfPpathArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfArrayOfArrayOfGridPosArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfSingleScatteringDataArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfGField1ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfGField2ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfGField3ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfGField4ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfGField1ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfArrayOfGField3ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_ArrayOfRetrievalQuantityArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_VectorVector_g (Workspace &ws, const MRecord &mr) |
void | Append_sg_StringString_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfGField1Create_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfIndexCreate_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfIndexSet_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfLineRecordCreate_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfLineshapeSpecCreate_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfMatrixCreate_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfMatrixInsert_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfStringCreate_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfStringSet_g (Workspace &ws, const MRecord &mr) |
void | ArrayOfVectorCreate_g (Workspace &ws, const MRecord &mr) |
void | Arts_g (Workspace &ws, const MRecord &mr) |
void | AtmFieldsCalc_g (Workspace &ws, const MRecord &mr) |
void | AtmFieldsCalcExpand1D_g (Workspace &ws, const MRecord &mr) |
void | AtmFieldsRefinePgrid_g (Workspace &ws, const MRecord &mr) |
void | atm_fields_compactAddConstant_g (Workspace &ws, const MRecord &mr) |
void | atm_fields_compactFromMatrix_g (Workspace &ws, const MRecord &mr) |
void | batch_atm_fields_compactFromArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | AtmFieldsFromCompact_g (Workspace &ws, const MRecord &mr) |
void | AtmosphereSet1D_g (Workspace &ws, const MRecord &mr) |
void | AtmosphereSet2D_g (Workspace &ws, const MRecord &mr) |
void | AtmosphereSet3D_g (Workspace &ws, const MRecord &mr) |
void | AtmRawRead_g (Workspace &ws, const MRecord &mr) |
void | CloudboxGetIncoming_g (Workspace &ws, const MRecord &mr) |
void | CloudboxGetIncoming1DAtm_g (Workspace &ws, const MRecord &mr) |
void | cloudboxOff_g (Workspace &ws, const MRecord &mr) |
void | cloudboxSetDisort_g (Workspace &ws, const MRecord &mr) |
void | cloudboxSetEmpty_g (Workspace &ws, const MRecord &mr) |
void | cloudboxSetManually_g (Workspace &ws, const MRecord &mr) |
void | cloudboxSetManuallyAltitude_g (Workspace &ws, const MRecord &mr) |
void | complex_nWaterLiebe93_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_String_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | Copy_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_String_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | Delete_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | ScatteringDisort_g (Workspace &ws, const MRecord &mr) |
void | DoitAngularGridsSet_g (Workspace &ws, const MRecord &mr) |
void | DoitCloudboxFieldPut_g (Workspace &ws, const MRecord &mr) |
void | doit_conv_flagAbs_g (Workspace &ws, const MRecord &mr) |
void | doit_conv_flagLsq_g (Workspace &ws, const MRecord &mr) |
void | doit_conv_flagAbsBT_g (Workspace &ws, const MRecord &mr) |
void | DoitInit_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldIterate_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldSetClearsky_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldSetConst_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldUpdate1D_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldUpdateSeq1D_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldUpdateSeq1DPP_g (Workspace &ws, const MRecord &mr) |
void | doit_i_fieldUpdateSeq3D_g (Workspace &ws, const MRecord &mr) |
void | doit_scat_fieldCalc_g (Workspace &ws, const MRecord &mr) |
void | doit_scat_fieldCalcLimb_g (Workspace &ws, const MRecord &mr) |
void | DoitScatteringDataPrepare_g (Workspace &ws, const MRecord &mr) |
void | DoitWriteIterationFields_g (Workspace &ws, const MRecord &mr) |
void | doit_za_grid_optCalc_g (Workspace &ws, const MRecord &mr) |
void | doit_za_interpSet_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_String_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | DoNothing_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | emissionPlanck_g (Workspace &ws, const MRecord &mr) |
void | Error_g (Workspace &ws, const MRecord &mr) |
void | Exit_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_ArrayOfIndexArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_NumericVector_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_MatrixArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_MatrixTensor3_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_Tensor3Tensor4_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_Tensor4ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_Tensor4Tensor5_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_ArrayOfGField3ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Extract_sg_GField4ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | ext_matAddGas_g (Workspace &ws, const MRecord &mr) |
void | ext_matAddPart_g (Workspace &ws, const MRecord &mr) |
void | ext_matInit_g (Workspace &ws, const MRecord &mr) |
void | f_gridFromSensorAMSU_g (Workspace &ws, const MRecord &mr) |
void | f_gridFromSensorHIRS_g (Workspace &ws, const MRecord &mr) |
void | f_gridSelectFIndex_g (Workspace &ws, const MRecord &mr) |
void | FlagOff_g (Workspace &ws, const MRecord &mr) |
void | FlagOn_g (Workspace &ws, const MRecord &mr) |
void | f_gridFromGasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | ForLoop_g (Workspace &ws, const MRecord &mr) |
void | GField1Create_g (Workspace &ws, const MRecord &mr) |
void | GField2Create_g (Workspace &ws, const MRecord &mr) |
void | GField3Create_g (Workspace &ws, const MRecord &mr) |
void | GField4Create_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_String_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | Ignore_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | INCLUDE_g (Workspace &ws, const MRecord &mr) |
void | IndexCreate_g (Workspace &ws, const MRecord &mr) |
void | IndexSet_g (Workspace &ws, const MRecord &mr) |
void | IndexStep_g (Workspace &ws, const MRecord &mr) |
void | InterpAtmFieldToRteGps_g (Workspace &ws, const MRecord &mr) |
void | InterpSurfaceEmissivityFieldIncLatLon_g (Workspace &ws, const MRecord &mr) |
void | InterpSurfaceFieldToRteGps_g (Workspace &ws, const MRecord &mr) |
void | iyInterpCloudboxField_g (Workspace &ws, const MRecord &mr) |
void | iyInterpPolyCloudboxField_g (Workspace &ws, const MRecord &mr) |
void | jacobianAddAbsSpecies_g (Workspace &ws, const MRecord &mr) |
void | jacobianAddPointing_g (Workspace &ws, const MRecord &mr) |
void | jacobianAddPolyfit_g (Workspace &ws, const MRecord &mr) |
void | jacobianAddTemperature_g (Workspace &ws, const MRecord &mr) |
void | jacobianCalc_g (Workspace &ws, const MRecord &mr) |
void | jacobianCalcAbsSpecies_g (Workspace &ws, const MRecord &mr) |
void | jacobianCalcPointing_g (Workspace &ws, const MRecord &mr) |
void | jacobianCalcPolyfit_g (Workspace &ws, const MRecord &mr) |
void | jacobianCalcTemperature_g (Workspace &ws, const MRecord &mr) |
void | jacobianClose_g (Workspace &ws, const MRecord &mr) |
void | jacobianInit_g (Workspace &ws, const MRecord &mr) |
void | jacobianOff_g (Workspace &ws, const MRecord &mr) |
void | jacobianUnit_g (Workspace &ws, const MRecord &mr) |
void | MatrixCBR_g (Workspace &ws, const MRecord &mr) |
void | MatrixCreate_g (Workspace &ws, const MRecord &mr) |
void | MatrixMatrixMultiply_g (Workspace &ws, const MRecord &mr) |
void | Matrix1ColFromVector_g (Workspace &ws, const MRecord &mr) |
void | Matrix2ColFromVectors_g (Workspace &ws, const MRecord &mr) |
void | Matrix3ColFromVectors_g (Workspace &ws, const MRecord &mr) |
void | Matrix1RowFromVector_g (Workspace &ws, const MRecord &mr) |
void | Matrix2RowFromVectors_g (Workspace &ws, const MRecord &mr) |
void | Matrix3RowFromVectors_g (Workspace &ws, const MRecord &mr) |
void | MatrixPlanck_g (Workspace &ws, const MRecord &mr) |
void | MatrixScale_g (Workspace &ws, const MRecord &mr) |
void | MatrixSetConstant_g (Workspace &ws, const MRecord &mr) |
void | MatrixUnitIntensity_g (Workspace &ws, const MRecord &mr) |
void | mc_antennaSetGaussian_g (Workspace &ws, const MRecord &mr) |
void | mc_antennaSetGaussianByFWHM_g (Workspace &ws, const MRecord &mr) |
void | mc_antennaSetPencilBeam_g (Workspace &ws, const MRecord &mr) |
void | mc_IWP_cloud_opt_pathCalc_g (Workspace &ws, const MRecord &mr) |
void | MCGeneral_g (Workspace &ws, const MRecord &mr) |
void | MCIPA_g (Workspace &ws, const MRecord &mr) |
void | MCSetSeedFromTime_g (Workspace &ws, const MRecord &mr) |
void | NumericCreate_g (Workspace &ws, const MRecord &mr) |
void | NumericSet_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | nelemGet_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | ncolsGet_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | ncolsGet_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | ncolsGet_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | ncolsGet_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | ncolsGet_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | ncolsGet_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | nrowsGet_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | nrowsGet_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | nrowsGet_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | nrowsGet_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | nrowsGet_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | nrowsGet_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | npagesGet_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | npagesGet_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | npagesGet_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | npagesGet_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | npagesGet_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | nbooksGet_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | nbooksGet_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | nbooksGet_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | nbooksGet_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | nshelvesGet_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | nshelvesGet_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | nshelvesGet_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | nvitrinesGet_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | nvitrinesGet_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | nlibrariesGet_g (Workspace &ws, const MRecord &mr) |
void | opt_prop_sptFromData_g (Workspace &ws, const MRecord &mr) |
void | opt_prop_sptFromMonoData_g (Workspace &ws, const MRecord &mr) |
void | output_file_formatSetAscii_g (Workspace &ws, const MRecord &mr) |
void | output_file_formatSetBinary_g (Workspace &ws, const MRecord &mr) |
void | output_file_formatSetZippedAscii_g (Workspace &ws, const MRecord &mr) |
void | ParticleTypeAddAll_g (Workspace &ws, const MRecord &mr) |
void | ParticleTypeAdd_g (Workspace &ws, const MRecord &mr) |
void | ParticleTypeInit_g (Workspace &ws, const MRecord &mr) |
void | pha_matCalc_g (Workspace &ws, const MRecord &mr) |
void | pha_mat_sptFromData_g (Workspace &ws, const MRecord &mr) |
void | pha_mat_sptFromMonoData_g (Workspace &ws, const MRecord &mr) |
void | pha_mat_sptFromDataDOITOpt_g (Workspace &ws, const MRecord &mr) |
void | pnd_fieldCalc_g (Workspace &ws, const MRecord &mr) |
void | ppathCalc_g (Workspace &ws, const MRecord &mr) |
void | ppath_stepGeometric_g (Workspace &ws, const MRecord &mr) |
void | ppath_stepRefractionEuler_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_String_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | Print_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | PrintWorkspace_g (Workspace &ws, const MRecord &mr) |
void | p_gridFromGasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | ReadNetCDF_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | ReadNetCDF_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | ReadNetCDF_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | ReadNetCDF_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | ReadNetCDF_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | ReadNetCDF_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_String_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | ReadXML_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | refr_indexFieldAndGradients_g (Workspace &ws, const MRecord &mr) |
void | refr_indexIR_g (Workspace &ws, const MRecord &mr) |
void | refr_indexThayer_g (Workspace &ws, const MRecord &mr) |
void | refr_indexUnit_g (Workspace &ws, const MRecord &mr) |
void | RteCalc_g (Workspace &ws, const MRecord &mr) |
void | RteCalcMC_g (Workspace &ws, const MRecord &mr) |
void | RteCalcNoJacobian_g (Workspace &ws, const MRecord &mr) |
void | RteStd_g (Workspace &ws, const MRecord &mr) |
void | RteStdWithTransmissions_g (Workspace &ws, const MRecord &mr) |
void | rte_losSet_g (Workspace &ws, const MRecord &mr) |
void | rte_posAddGeoidWGS84_g (Workspace &ws, const MRecord &mr) |
void | rte_posAddRgeoid_g (Workspace &ws, const MRecord &mr) |
void | rte_posSet_g (Workspace &ws, const MRecord &mr) |
void | rte_posShift_g (Workspace &ws, const MRecord &mr) |
void | rte_pos_and_losFromTangentPressure_g (Workspace &ws, const MRecord &mr) |
void | r_geoidSpherical_g (Workspace &ws, const MRecord &mr) |
void | r_geoidWGS84_g (Workspace &ws, const MRecord &mr) |
void | ScatteringDoit_g (Workspace &ws, const MRecord &mr) |
void | scat_data_monoCalc_g (Workspace &ws, const MRecord &mr) |
void | scat_data_rawCheck_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfIndexArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfIndexArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfStringArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfVectorArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfMatrixArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfMatrixArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfTensor3ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfTensor3ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfTensor4ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfTensor6ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfTensor7ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfTensor6ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfLineRecordArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfLineRecordArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfLineshapeSpecArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfSpeciesTagArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfPpathArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfArrayOfArrayOfGridPosArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfSingleScatteringDataArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfGField1ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfGField2ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfGField3ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfGField4ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfGField1ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfArrayOfGField3ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_ArrayOfRetrievalQuantityArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_VectorVector_g (Workspace &ws, const MRecord &mr) |
void | Select_sg_MatrixMatrix_g (Workspace &ws, const MRecord &mr) |
void | sensorOff_g (Workspace &ws, const MRecord &mr) |
void | sensor_posAddGeoidWGS84_g (Workspace &ws, const MRecord &mr) |
void | sensor_posAddRgeoid_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseAntenna_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseBackend_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseBeamSwitching_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseIF2RF_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseInit_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseMixer_g (Workspace &ws, const MRecord &mr) |
void | sensor_responseMultiMixerBackend_g (Workspace &ws, const MRecord &mr) |
void | SparseCreate_g (Workspace &ws, const MRecord &mr) |
void | StringCreate_g (Workspace &ws, const MRecord &mr) |
void | StringSet_g (Workspace &ws, const MRecord &mr) |
void | surfaceBlackbody_g (Workspace &ws, const MRecord &mr) |
void | surfaceFlatRefractiveIndex_g (Workspace &ws, const MRecord &mr) |
void | surfaceFlatSingleEmissivity_g (Workspace &ws, const MRecord &mr) |
void | surfaceFlatVaryingEmissivity_g (Workspace &ws, const MRecord &mr) |
void | Tensor3Create_g (Workspace &ws, const MRecord &mr) |
void | Tensor3FillWithVector_g (Workspace &ws, const MRecord &mr) |
void | Tensor3Scale_g (Workspace &ws, const MRecord &mr) |
void | Tensor3SetConstant_g (Workspace &ws, const MRecord &mr) |
void | Tensor4Create_g (Workspace &ws, const MRecord &mr) |
void | Tensor4Scale_g (Workspace &ws, const MRecord &mr) |
void | Tensor4SetConstant_g (Workspace &ws, const MRecord &mr) |
void | Tensor5Create_g (Workspace &ws, const MRecord &mr) |
void | Tensor5Scale_g (Workspace &ws, const MRecord &mr) |
void | Tensor5SetConstant_g (Workspace &ws, const MRecord &mr) |
void | Tensor6Create_g (Workspace &ws, const MRecord &mr) |
void | Tensor6Scale_g (Workspace &ws, const MRecord &mr) |
void | Tensor6SetConstant_g (Workspace &ws, const MRecord &mr) |
void | Tensor6ToPlanckBT_g (Workspace &ws, const MRecord &mr) |
void | Tensor7Create_g (Workspace &ws, const MRecord &mr) |
void | Tensor7Scale_g (Workspace &ws, const MRecord &mr) |
void | Tensor7SetConstant_g (Workspace &ws, const MRecord &mr) |
void | Test_g (Workspace &ws, const MRecord &mr) |
void | timerStart_g (Workspace &ws, const MRecord &mr) |
void | timerStop_g (Workspace &ws, const MRecord &mr) |
void | VectorAddScalar_g (Workspace &ws, const MRecord &mr) |
void | VectorCreate_g (Workspace &ws, const MRecord &mr) |
void | VectorExtractFromMatrix_g (Workspace &ws, const MRecord &mr) |
void | VectorInsertGridPoints_g (Workspace &ws, const MRecord &mr) |
void | VectorLinSpace_g (Workspace &ws, const MRecord &mr) |
void | VectorLogSpace_g (Workspace &ws, const MRecord &mr) |
void | VectorMatrixMultiply_g (Workspace &ws, const MRecord &mr) |
void | VectorNLinSpace_g (Workspace &ws, const MRecord &mr) |
void | VectorNLogSpace_g (Workspace &ws, const MRecord &mr) |
void | VectorScale_g (Workspace &ws, const MRecord &mr) |
void | VectorSetConstant_g (Workspace &ws, const MRecord &mr) |
void | VectorSet_g (Workspace &ws, const MRecord &mr) |
void | VectorZtanToZaRefr1D_g (Workspace &ws, const MRecord &mr) |
void | VectorZtanToZa1D_g (Workspace &ws, const MRecord &mr) |
void | WriteNetCDF_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | WriteNetCDF_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | WriteNetCDF_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteNetCDF_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | WriteNetCDF_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | WriteNetCDF_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_String_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | WriteXML_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Index_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Numeric_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_String_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Vector_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Matrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Sparse_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Tensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Tensor4_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Tensor5_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Tensor6_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Tensor7_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Timer_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfIndex_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfString_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfVector_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfMatrix_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfTensor3_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfTensor4_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfTensor7_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfTensor6_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfLineRecord_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfLineshapeSpec_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfSpeciesTag_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Ppath_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfPpath_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_Agenda_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_GridPos_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_GasAbsLookup_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_SingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfSingleScatteringData_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_GField1_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_GField2_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_GField3_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_GField4_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfGField2_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfGField4_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfGField1_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfArrayOfGField3_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_ArrayOfRetrievalQuantity_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_MCAntenna_g (Workspace &ws, const MRecord &mr) |
void | WriteXMLIndexed_sg_SLIData2_g (Workspace &ws, const MRecord &mr) |
void | ybatchCalc_g (Workspace &ws, const MRecord &mr) |
void | ybatchMetProfiles_g (Workspace &ws, const MRecord &mr) |
void | ybatchMetProfilesClear_g (Workspace &ws, const MRecord &mr) |
void | ybatchUnit_g (Workspace &ws, const MRecord &mr) |
void | yUnit_g (Workspace &ws, const MRecord &mr) |
void | ZaSatOccultation_g (Workspace &ws, const MRecord &mr) |
void | abs_scalar_gas_agendaExecute (Workspace &ws, Matrix &abs_scalar_gas, const Index f_index, const Numeric rte_pressure, const Numeric rte_temperature, const Vector &rte_vmr_list, const Agenda &input_agenda) |
void | doit_conv_test_agendaExecute (Workspace &ws, Index &doit_conv_flag, Index &doit_iteration_counter, const Tensor6 &doit_i_field, const Tensor6 &doit_i_field_old, const Agenda &input_agenda) |
void | doit_scat_field_agendaExecute (Workspace &ws, Tensor6 &doit_scat_field, const Tensor6 &doit_i_field, const Agenda &input_agenda) |
void | doit_mono_agendaExecute (Workspace &ws, Tensor6 &doit_i_field, Tensor7 &scat_i_p, Tensor7 &scat_i_lat, Tensor7 &scat_i_lon, Tensor4 &doit_i_field1D_spectrum, const Index f_index, const Agenda &input_agenda) |
void | doit_rte_agendaExecute (Workspace &ws, Tensor6 &doit_i_field, const Tensor6 &doit_scat_field, const Agenda &input_agenda) |
void | emission_agendaExecute (Workspace &ws, Vector &emission, const Numeric rte_temperature, const Agenda &input_agenda) |
void | forloop_agendaExecute (Workspace &ws, const Index forloop_index, const Agenda &input_agenda) |
void | iy_cloudbox_agendaExecute (Workspace &ws, Matrix &iy, const Ppath &ppath, const Vector &rte_pos, const Vector &rte_los, const GridPos &rte_gp_p, const GridPos &rte_gp_lat, const GridPos &rte_gp_lon, const Agenda &input_agenda) |
void | iy_space_agendaExecute (Workspace &ws, Matrix &iy, const Vector &rte_pos, const Vector &rte_los, const Agenda &input_agenda) |
void | jacobian_agendaExecute (Workspace &ws, Matrix &jacobian, const Agenda &input_agenda) |
void | jacobian_y_agendaExecute (Workspace &ws, Vector &y, const Tensor4 &vmr_field, const Tensor3 &t_field, const Tensor4 &pnd_field, const Matrix &sensor_los, const Agenda &input_agenda) |
void | main_agendaExecute (Workspace &ws, const Agenda &input_agenda) |
void | met_profile_calc_agendaExecute (Workspace &ws, Vector &y, const GField3 &t_field_raw, const ArrayOfGField3 &vmr_field_raw, const GField3 &z_field_raw, const ArrayOfGField3 &pnd_field_raw, const Vector &p_grid, const Matrix &sensor_los, const Index cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Matrix &z_surface, const Agenda &input_agenda) |
void | opt_prop_gas_agendaExecute (Workspace &ws, Tensor3 &ext_mat, Matrix &abs_vec, const Index f_index, const Matrix &abs_scalar_gas, const Agenda &input_agenda) |
void | opt_prop_part_agendaExecute (Workspace &ws, Tensor3 &ext_mat, Matrix &abs_vec, const Tensor3 &ext_mat_spt, const Matrix &abs_vec_spt, const Index scat_p_index, const Index scat_lat_index, const Index scat_lon_index, const Agenda &input_agenda) |
void | pha_mat_spt_agendaExecute (Workspace &ws, Tensor5 &pha_mat_spt, const Index scat_za_index, const Index scat_lat_index, const Index scat_lon_index, const Index scat_p_index, const Index scat_aa_index, const Numeric rte_temperature, const Agenda &input_agenda) |
void | ppath_step_agendaExecute (Workspace &ws, Ppath &ppath_step, const Index atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &r_geoid, const Matrix &z_surface, const Agenda &input_agenda) |
void | refr_index_agendaExecute (Workspace &ws, Numeric &refr_index, const Numeric rte_pressure, const Numeric rte_temperature, const Vector &rte_vmr_list, const Agenda &input_agenda) |
void | rte_agendaExecute (Workspace &ws, Matrix &iy, ArrayOfTensor4 &diy_dvmr, ArrayOfTensor4 &diy_dt, const Ppath &ppath, const ArrayOfPpath &ppath_array, const Index ppath_array_index, const ArrayOfIndex &rte_do_vmr_jacs, const Index rte_do_t_jacs, const Index stokes_dim, const Vector &f_grid, const Agenda &input_agenda) |
void | spt_calc_agendaExecute (Workspace &ws, Tensor3 &ext_mat_spt, Matrix &abs_vec_spt, const Index scat_p_index, const Index scat_lat_index, const Index scat_lon_index, const Numeric rte_temperature, const Index scat_za_index, const Index scat_aa_index, const Agenda &input_agenda) |
void | surface_prop_agendaExecute (Workspace &ws, Matrix &surface_emission, Matrix &surface_los, Tensor4 &surface_rmatrix, const Vector &rte_pos, const Vector &rte_los, const GridPos &rte_gp_p, const GridPos &rte_gp_lat, const GridPos &rte_gp_lon, const Agenda &input_agenda) |
void | ybatch_calc_agendaExecute (Workspace &ws, Vector &y, const Index ybatch_index, const Agenda &input_agenda) |
void abs_coefCalc | ( | Matrix & | abs_coef, | |
ArrayOfMatrix & | abs_coef_per_species, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | f_grid, | |||
const Vector & | abs_p, | |||
const Vector & | abs_t, | |||
const Vector & | abs_n2, | |||
const Vector & | abs_h2o, | |||
const Matrix & | abs_vmrs, | |||
const ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |||
const ArrayOfLineshapeSpec & | abs_lineshape, | |||
const ArrayOfString & | abs_cont_names, | |||
const ArrayOfString & | abs_cont_models, | |||
const ArrayOfVector & | abs_cont_parameters | |||
) |
WORKSPACE METHOD: abs_coefCalc.
Calculate absorption coefficients.
This function calculates both, the total absorption (*abs_coef*), and the absorption per species (*abs_coef_per_species*).
The method calls four other methods:
1. *abs_xsec_per_speciesInit*: <br> Initialize *abs_xsec_per_species*
2. *abs_xsec_per_speciesAddLines*: <br> Calculate cross sections per tag group for line spectra.
3. *abs_xsec_per_speciesAddConts*: <br> Calculate cross sections per tag group for continua.
4. *abs_coefCalcFromXsec*: <br> Calculate absorption coefficients from the cross sections by <br> multiplying each cross section by n*VMR.
This is done once for each tag group (output *abs_coef_per_species*), and for the sum of all tag groups (output *abs_coef*).
[out] | abs_coef | WS Output |
[out] | abs_coef_per_species | WS Output |
[in] | abs_species | WS Input |
[in] | f_grid | WS Input |
[in] | abs_p | WS Input |
[in] | abs_t | WS Input |
[in] | abs_n2 | WS Input |
[in] | abs_h2o | WS Input |
[in] | abs_vmrs | WS Input |
[in] | abs_lines_per_species | WS Input |
[in] | abs_lineshape | WS Input |
[in] | abs_cont_names | WS Input |
[in] | abs_cont_models | WS Input |
[in] | abs_cont_parameters | WS Input |
Referenced by abs_coefCalc_g(), and abs_scalar_gasCalcLBL().
Definition at line 44 of file auto_md.cc.
References abs_coefCalc(), MRecord::In(), and MRecord::Out().
void abs_coefCalcFromXsec | ( | Matrix & | abs_coef, | |
ArrayOfMatrix & | abs_coef_per_species, | |||
const ArrayOfMatrix & | abs_xsec_per_species, | |||
const Matrix & | abs_vmrs, | |||
const Vector & | abs_p, | |||
const Vector & | abs_t | |||
) |
WORKSPACE METHOD: abs_coefCalcFromXsec.
Calculate absorption coefficients from cross sections.
This calculates both the total absorption and the absorption per tag group.
Cross sections are multiplied by n*VMR.
[out] | abs_coef | WS Output |
[out] | abs_coef_per_species | WS Output |
[in] | abs_xsec_per_species | WS Input |
[in] | abs_vmrs | WS Input |
[in] | abs_p | WS Input |
[in] | abs_t | WS Input |
Definition at line 1894 of file m_abs.cc.
References chk_size(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstMatrixView::nrows(), number_density(), out3, and Matrix::resize().
Referenced by abs_coefCalc(), abs_coefCalcFromXsec_g(), and abs_coefCalcSaveMemory().
Definition at line 62 of file auto_md.cc.
References abs_coefCalcFromXsec(), MRecord::In(), and MRecord::Out().
void abs_coefCalcSaveMemory | ( | Matrix & | abs_coef, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | f_grid, | |||
const Vector & | abs_p, | |||
const Vector & | abs_t, | |||
const Vector & | abs_n2, | |||
const Vector & | abs_h2o, | |||
const Matrix & | abs_vmrs, | |||
const ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |||
const ArrayOfLineshapeSpec & | abs_lineshape, | |||
const ArrayOfString & | abs_cont_names, | |||
const ArrayOfString & | abs_cont_models, | |||
const ArrayOfVector & | abs_cont_parameters | |||
) |
WORKSPACE METHOD: abs_coefCalcSaveMemory.
Calculate absorption coefficients, trying to conserve memory.
This function calculates only the total absorption (*abs_coef*), NOT the absorption per tag group (*abs_coef_per_species*).
This means you cannot use it if you want to calculate Jacobians later.
The implementation follows abs_coefCalc.
[out] | abs_coef | WS Output |
[in] | abs_species | WS Input |
[in] | f_grid | WS Input |
[in] | abs_p | WS Input |
[in] | abs_t | WS Input |
[in] | abs_n2 | WS Input |
[in] | abs_h2o | WS Input |
[in] | abs_vmrs | WS Input |
[in] | abs_lines_per_species | WS Input |
[in] | abs_lineshape | WS Input |
[in] | abs_cont_names | WS Input |
[in] | abs_cont_models | WS Input |
[in] | abs_cont_parameters | WS Input |
Referenced by abs_coefCalcSaveMemory_g().
Definition at line 72 of file auto_md.cc.
References abs_coefCalcSaveMemory(), MRecord::In(), and MRecord::Out().
void abs_cont_descriptionAppend | ( | ArrayOfString & | abs_cont_names, | |
ArrayOfString & | abs_cont_models, | |||
ArrayOfVector & | abs_cont_parameters, | |||
const String & | tagname, | |||
const String & | model, | |||
const Vector & | userparameters | |||
) |
WORKSPACE METHOD: abs_cont_descriptionAppend.
Appends the description of a continuum model or a complete absorption model to *abs_cont_names* and *abs_cont_parameters*.
See online documentation for *abs_cont_names* for a list of allowed models and for information what parameters they require. See file cont.arts in the doc/examples directory for usage examples and default parameters for the various models.
Keywords: <br> name : The name of a continuum model. Must match one of the models <br> implemented in ARTS. <br> option : give here the option of this continuum/full model. <br> parameters : A Vector containing the required number of parameters <br> for the model given. The meaning of the parameters and <br> how many parameters are required depends on the model.
[out] | abs_cont_names | WS Output |
[out] | abs_cont_models | WS Output |
[out] | abs_cont_parameters | WS Output |
[in] | tagname | Generic Input |
[in] | model | Generic Input |
[in] | userparameters | Generic Input |
Referenced by abs_cont_descriptionAppend_g().
Definition at line 89 of file auto_md.cc.
References abs_cont_descriptionAppend(), MRecord::In(), and MRecord::Out().
void abs_cont_descriptionInit | ( | ArrayOfString & | abs_cont_names, | |
ArrayOfString & | abs_cont_models, | |||
ArrayOfVector & | abs_cont_parameters | |||
) |
WORKSPACE METHOD: abs_cont_descriptionInit.
Initializes the two workspace variables for the continuum description, abs_cont_names* and *abs_cont_parameters*. <br> This method does not really do anything, except setting the two variables to empty Arrays. It is just necessary because the method abs_cont_descriptionAppend* wants to append to the variables. <br> Formally, the continuum description workspace variables are required by the absorption calculation methods (e.g., *abs_coefCalc*). Therefore you always have to call at least *abs_cont_descriptionInit*, even if you do not want to use any continua.
[out] | abs_cont_names | WS Output |
[out] | abs_cont_models | WS Output |
[out] | abs_cont_parameters | WS Output |
Referenced by abs_cont_descriptionInit_g().
Definition at line 99 of file auto_md.cc.
References abs_cont_descriptionInit(), and MRecord::Out().
void abs_fieldCalc | ( | Workspace & | ws, | |
Tensor5 & | abs_field, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Index & | f_index, | |||
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 Tensor4 & | vmr_field | |||
) |
WORKSPACE METHOD: abs_fieldCalc.
Calculate scalar gas absorption for all points in the atmosphere.
This is useful in two different contexts:
1. For testing and plotting gas absorption. (For RT calculations, gas absorption is calculated or extracted locally, therefore there is no need to calculate a global field. But this method is handy for easy plotting of absorption vs. pressure, for example.)
2. Inside the scattering region, monochromatic absorption is pre-calculated for the entire atmospheric field.
Because of the different contexts, the method can calculate absorption either for all frequencies in the frequency grid (f_index<0), or just for the frequency indicated by f_index (f_index>=0).
The calculation itself is performed by the abs_scalar_gas_agenda*.
[in,out] | ws | Workspace |
[out] | abs_field | WS Output |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | f_index | WS Input |
[in] | f_grid | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
Definition at line 1823 of file m_abs_lookup.cc.
References abs_scalar_gas_agendaExecute(), chk_atm_field(), chk_atm_grids(), exit_or_rethrow(), joker, max, ConstTensor4View::nbooks(), ConstMatrixView::ncols(), ConstVectorView::nelem(), ConstMatrixView::nrows(), out2, out3, Tensor5::resize(), and transpose().
Referenced by abs_fieldCalc_g().
Definition at line 368 of file auto_md.cc.
References abs_fieldCalc(), MRecord::In(), and MRecord::Out().
void abs_h2oSet | ( | Vector & | abs_h2o, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Matrix & | abs_vmrs | |||
) |
WORKSPACE METHOD: abs_h2oSet.
Sets abs_h2o to the profile of the first tag group containing water.
This is necessary, because for example *abs_coefCalc* requires abs_h2o to contain the water vapour profile(the reason for this is the calculation of oxygen line brodening requires water vapour profile). Then this function can be used to copy the profile of the first tag group of water.
[out] | abs_h2o | WS Output |
[in] | abs_species | WS Input |
[in] | abs_vmrs | WS Input |
Definition at line 1670 of file m_abs.cc.
References find_first_species_tg(), joker, ConstMatrixView::ncols(), Vector::resize(), and species_index_from_species_name().
Referenced by abs_h2oSet_g(), and abs_scalar_gasCalcLBL().
Definition at line 106 of file auto_md.cc.
References abs_h2oSet(), MRecord::In(), and MRecord::Out().
void abs_lines_per_speciesAddMirrorLines | ( | ArrayOfArrayOfLineRecord & | abs_lines_per_species | ) |
WORKSPACE METHOD: abs_lines_per_speciesAddMirrorLines.
Adds mirror lines at negative frequencies to the *abs_lines_per_species*.
For each line at frequency +f in *abs_lines_per_species* a corresponding entry at frequency -f is added to *abs_lines_per_species*.The mirror lines are appended to the line lists after the original lines.
[out] | abs_lines_per_species | WS Output |
Definition at line 694 of file m_abs.cc.
References LineRecord::F(), ll, Array< base >::nelem(), and LineRecord::setF().
Referenced by abs_lines_per_speciesAddMirrorLines_g().
Definition at line 178 of file auto_md.cc.
References abs_lines_per_speciesAddMirrorLines(), and MRecord::Out().
void abs_lines_per_speciesCompact | ( | ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |
const ArrayOfLineshapeSpec & | abs_lineshape, | |||
const Vector & | f_grid | |||
) |
WORKSPACE METHOD: abs_lines_per_speciesCompact.
Removes all lines outside the defined lineshape cutoff frequency from the *abs_lines_per_species*. This can save computation time. It should be particularly useful to call this method after abs_lines_per_speciesAddMirrorLines*.
[out] | abs_lines_per_species | WS Output |
[in] | abs_lineshape | WS Input |
[in] | f_grid | WS Input |
Definition at line 730 of file m_abs.cc.
References ll, ConstVectorView::nelem(), and Array< base >::nelem().
Referenced by abs_lines_per_speciesCompact_g().
Definition at line 183 of file auto_md.cc.
References abs_lines_per_speciesCompact(), MRecord::In(), and MRecord::Out().
void abs_lines_per_speciesCreateFromLines | ( | ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |
const ArrayOfLineRecord & | abs_lines, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species | |||
) |
WORKSPACE METHOD: abs_lines_per_speciesCreateFromLines.
Split lines up into the different tag groups.
The tag groups are tested in the order in which they are specified in the controlfile. The lines are assigned to the tag groups in the order as the groups are specified. That means if you do ["O3-666","O3"],the last group O3 gets assigned all the O3 lines that do not fit in the first group.
[out] | abs_lines_per_species | WS Output |
[in] | abs_lines | WS Input |
[in] | abs_species | WS Input |
Definition at line 554 of file m_abs.cc.
References LineRecord::F(), LineRecord::Isotope(), SpeciesRecord::Isotope(), SpeciesTag::Isotope(), SpeciesTag::Lf(), SpeciesRecord::Name(), Array< base >::nelem(), out2, out3, LineRecord::Species(), SpeciesTag::Species(), species_data, LineRecord::SpeciesData(), and SpeciesTag::Uf().
Referenced by abs_lines_per_speciesCreateFromLines_g(), and abs_lines_per_speciesReadFromCatalogues().
Definition at line 190 of file auto_md.cc.
References abs_lines_per_speciesCreateFromLines(), MRecord::In(), and MRecord::Out().
void abs_lines_per_speciesReadFromCatalogues | ( | ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const ArrayOfString & | filenames, | |||
const ArrayOfString & | formats, | |||
const Vector & | fmin, | |||
const Vector & | fmax | |||
) |
WORKSPACE METHOD: abs_lines_per_speciesReadFromCatalogues.
This method can read lines from different line catalogues.
For each tag group, you can specify which catalogue to use. Because the method creates abs_lines_per_species directly, it replaces for example thefollowing two method calls: <br> - abs_linesReadFromHitran <br> - abs_lines_per_speciesCreateFromLines <br> This method needs as input WSVs the list of tag groups. Keyword parameters must specify the names of the catalogue files to use and the matching formats. Names can be anything, formats can currently be HITRAN96 (for HITRAN 1986-2001 databases), HITRAN04 (for HITRAN 2004 database), MYTRAN2, JPL, or ARTS. Furthermore, keyword parameters have to specify minimum and maximum frequency for each tag group. To safe typing, if there are less elements in the keyword parameters than there are tag groups, the last parameters are applied to all following tag groups.
Example usage:
abs_lines_per_speciesReadFromCatalogues{ <br> filenames = [ "../data/cat1.dat", "../data/cat2.dat" ] <br> formats = [ "MYTRAN2", "HITRAN96" ] <br> fmin = [ 0, 0 ] <br> fmax = [ 2000e9, 100e9 ] } <br> In this example, lines for the first tag group will be taken from cat1, lines for all other tag groups will be taken from cat2. <br> This methods allows you for example to use a special line file just for water vapor lines. This could be the improved water vapor line file generated by Thomas Kuhn. <br> Catalogues are only read once, even if several tag groups have the same catalogue. However, in that case the frequency ranges MUST be the same. (If you want to do fine-tuning of the frequency ranges, you can do this inside the tag definitions, e.g., "H2O-*-0-2000e9".) <br> This function uses the various reading routines (abs_linesReadFromHitran, etc.), as well as abs_lines_per_speciesCreateFromLines.
Keywords: <br> filenames : Name (and path) of the catalogue files. <br> formats : allowed formats are HITRAN96,MYTRAN2,JPL,ARTS <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines_per_species | WS Output |
[in] | abs_species | WS Input |
[in] | filenames | Generic Input |
[in] | formats | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 347 of file m_abs.cc.
References abs_lines_per_speciesCreateFromLines(), abs_linesReadFromArts(), abs_linesReadFromHitran(), abs_linesReadFromHitran2004(), abs_linesReadFromJpl(), abs_linesReadFromMytran2(), ConstVectorView::nelem(), Array< base >::nelem(), and out3.
Referenced by abs_lines_per_speciesReadFromCatalogues_g().
Definition at line 197 of file auto_md.cc.
References abs_lines_per_speciesReadFromCatalogues(), MRecord::In(), and MRecord::Out().
void abs_lines_per_speciesSetEmpty | ( | ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |
const ArrayOfArrayOfSpeciesTag & | abs_species | |||
) |
WORKSPACE METHOD: abs_lines_per_speciesSetEmpty.
Sets abs_lines_per_species to empty line lists.
You can use this method to set lines per tag if you do not reall want to compute line spectra. Formally, abs_coefCalc will still require abs_lines_per_species to be set.
[out] | abs_lines_per_species | WS Output |
[in] | abs_species | WS Input |
Definition at line 76 of file m_abs.cc.
References Array< base >::nelem().
Referenced by abs_lines_per_speciesSetEmpty_g().
Definition at line 207 of file auto_md.cc.
References abs_lines_per_speciesSetEmpty(), MRecord::In(), and MRecord::Out().
void abs_lineshape_per_tgDefine | ( | ArrayOfLineshapeSpec & | abs_lineshape, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const ArrayOfString & | shape, | |||
const ArrayOfString & | normalizationfactor, | |||
const Vector & | cutoff | |||
) |
WORKSPACE METHOD: abs_lineshape_per_tgDefine.
Sets the lineshape per tag group for all calculated lines.
<br> A general lineshape profile is specified, according to a given approximation for each tag group. Alongside a normalization factor is to be set also for each tag group - a multiplicative forefactor through which the profile can be modified. This factor is just the 0th or 1st, or 2nd power of the ratio between the frequency of calculation f and the center frequency for a specific line f0. A cutoff frequency must also be specified for each of the tags in order to restrict the calculation within a desired region or not, when there's no such region. <br> The general lineshape profile is given by the keyword shape, while the normalization factor and the cutoff frequency by normalizationfactor and cutoff respectively.
<br> The available values for these keywords are given below. shape - "no_shape" : no specified shape <br> "Doppler" : Doppler lineshape <br> "Lorentz" : Lorentz lineshape <br> "Voigt_Kuntz3" : Kuntz approximation to the Voigt profile, <br> accuracy > 2x10^(-3) <br> "Voigt_Kuntz4" : Kuntz approximation to the Voigt profile, <br> accuracy > 2x10^(-4) <br> "Voigt_Kuntz6" : Kuntz approximation to the Voigt profile, <br> accuracy > 2x10^(-6) <br> "Voigt_Drayson" : Drayson approximation to the Voigt profile <br> "Rosenkranz_Voigt_Drayson" : Rosenkrantz oxygen absortion with overlap correction <br> on the basis of Drayson routine <br> "Rosenkranz_Voigt_Kuntz6" : Rosenkrantz oxygen absortion with overlap correction <br> on the basis of Kuntz routine, accuracy > 2x10^(-6) normalizationfactor - "no_norm": 1 <br> "linear": f/f0 <br> "quadratic": (f/f0)^2. cutoff - " -1" : no cutoff <br> "Number": positive cutoff frequency in Hz.
Example usage: shape = ["Lorentz","Voigt_Kuntz6"] normalizationfactor= ["linear", "quadratic"] cutoff = [ 650e9, -1 ] Keywords: <br> shape : The general profile according to an approximation. <br> normalizationfactor : The multiplicative forefactor for the general profile. <br> cutoff : The frequency at which a cutoff can be made.
[out] | abs_lineshape | WS Output |
[in] | abs_species | WS Input |
[in] | shape | Generic Input |
[in] | normalizationfactor | Generic Input |
[in] | cutoff | Generic Input |
Definition at line 938 of file m_abs.cc.
References lineshape_data, lineshape_norm_data, ConstVectorView::nelem(), Array< base >::nelem(), and out2.
Referenced by abs_lineshape_per_tgDefine_g().
Definition at line 121 of file auto_md.cc.
References abs_lineshape_per_tgDefine(), MRecord::In(), and MRecord::Out().
void abs_lineshapeDefine | ( | ArrayOfLineshapeSpec & | abs_lineshape, | |
const String & | shape, | |||
const String & | normalizationfactor, | |||
const Numeric & | cutoff | |||
) |
WORKSPACE METHOD: abs_lineshapeDefine.
Sets the lineshape for all calculated lines.
<br> A general lineshape profile is specified, according to a given approximation. Alongside a normalization factor is to be set - a multiplicative forefactor through which the profile can be modified. This factor is just the 0th or 1st, or 2nd power of the ratio between the frequency of calculation f and the center frequency for a specific line f0. A cutoff frequency must also be specified in order to restrict the calculation within a desired frequency region or not, when there's no such region. <br> The general lineshape profile is given by the keyword shape, while the normalization factor and the cutoff frequency by normalizationfactor and cutoff respectively. <br> We generate only 1 copy of the lineshape settings. Absorption routines check for this case and use it for all species.
<br> The available values for these keywords are given below. shape - "no_shape" : no specified shape <br> "Doppler" : Doppler lineshape <br> "Lorentz" : Lorentz lineshape <br> "Voigt_Kuntz3" : Kuntz approximation to the Voigt profile, <br> accuracy > 2x10^(-3) <br> "Voigt_Kuntz4" : Kuntz approximation to the Voigt profile, <br> accuracy > 2x10^(-4) <br> "Voigt_Kuntz6" : Kuntz approximation to the Voigt profile, <br> accuracy > 2x10^(-6) <br> "Voigt_Drayson" : Drayson approximation to the Voigt profile <br> "Rosenkranz_Voigt_Drayson" : Rosenkrantz oxygen absortion with overlap correction <br> on the basis of Drayson routine <br> "Rosenkranz_Voigt_Kuntz6" : Rosenkrantz oxygen absortion with overlap correction <br> on the basis of Kuntz routine, accuracy > 2x10^(-6) <br> "CO2_Lorentz" : Lorentz multiplicated with Cousin's chi factors <br> "CO2_Drayson" : Drayson multiplicated with Cousin's chi factors
normalizationfactor - "no_norm": 1 <br> "linear": f/f0 <br> "quadratic": (f/f0)^2. <br> "VVH": (f*tanh(h*f/(2*k*T))) / (f0*tanh(h*f0/(2*k*T))).
cutoff - " -1" : no cutoff <br> "Number": positive cutoff frequency in Hz.
Example usage: shape=["Lorentz"] normalizationfactor=["linear"] cutoff= [650e9] Keywords: <br> shape : The general profile according to an approximation. <br> normalizationfactor : The multiplicative forefactor for the general profile. <br> cutoff : The frequency at which a cutoff can be made.
[out] | abs_lineshape | WS Output |
[in] | shape | Generic Input |
[in] | normalizationfactor | Generic Input |
[in] | cutoff | Generic Input |
Definition at line 872 of file m_abs.cc.
References lineshape_data, lineshape_norm_data, Array< base >::nelem(), and out2.
Referenced by abs_lineshapeDefine_g().
Definition at line 113 of file auto_md.cc.
References abs_lineshapeDefine(), MRecord::In(), and MRecord::Out().
void abs_linesReadFromArts | ( | ArrayOfLineRecord & | abs_lines, | |
const String & | filename, | |||
const Numeric & | fmin, | |||
const Numeric & | fmax | |||
) |
WORKSPACE METHOD: abs_linesReadFromArts.
Read all the lines from an Arts catalogue file in the given frequency range. Otherwise a runtime error will be thrown
Please note that all lines must correspond to the legal species / isotope combinations
Keywords: <br> filename : Name (and path) of the catalogue file. <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines | WS Output |
[in] | filename | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 254 of file m_abs.cc.
References Array< base >::nelem(), out2, and xml_read_arts_catalogue_from_file().
Referenced by abs_lines_per_speciesReadFromCatalogues(), and abs_linesReadFromArts_g().
Definition at line 130 of file auto_md.cc.
References abs_linesReadFromArts(), MRecord::In(), and MRecord::Out().
void abs_linesReadFromArtsObsolete | ( | ArrayOfLineRecord & | abs_lines, | |
const String & | filename, | |||
const Numeric & | fmin, | |||
const Numeric & | fmax | |||
) |
WORKSPACE METHOD: abs_linesReadFromArtsObsolete.
Read all the lines from an Arts catalogue file in the given frequency range. Otherwise a runtime error will be thrown
Please note that all lines must correspond to the legal species / isotope combinations
Keywords: <br> filename : Name (and path) of the catalogue file. <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines | WS Output |
[in] | filename | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 268 of file m_abs.cc.
References LineRecord::F(), Array< base >::nelem(), open_input_file(), out2, LineRecord::ReadFromArtsStream(), and LineRecord::Version().
Referenced by abs_linesReadFromArtsObsolete_g().
Definition at line 138 of file auto_md.cc.
References abs_linesReadFromArtsObsolete(), MRecord::In(), and MRecord::Out().
void abs_linesReadFromHitran | ( | ArrayOfLineRecord & | abs_lines, | |
const String & | filename, | |||
const Numeric & | fmin, | |||
const Numeric & | fmax | |||
) |
WORKSPACE METHOD: abs_linesReadFromHitran.
Read all the lines from a HITRAN 1986-2001 catalogue file in the given frequency range. Otherwise a runtime error will be thrown. For HITRAN 2004 line data use the workspace method abs_linesReadFromHitran.
Please note that all lines must correspond to the legal species / isotope combinations and that the line data file must be sorted by increasing frequency
WWW access of the HITRAN catalog: http://www.hitran.com/
Keywords: <br> filename : Name (and path) of the catalogue file. <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines | WS Output |
[in] | filename | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 92 of file m_abs.cc.
References LineRecord::F(), Array< base >::nelem(), open_input_file(), out2, and LineRecord::ReadFromHitranStream().
Referenced by abs_lines_per_speciesReadFromCatalogues(), and abs_linesReadFromHitran_g().
void abs_linesReadFromHitran2004 | ( | ArrayOfLineRecord & | abs_lines, | |
const String & | filename, | |||
const Numeric & | fmin, | |||
const Numeric & | fmax | |||
) |
WORKSPACE METHOD: abs_linesReadFromHitran2004.
Read all the lines from a HITRAN 2004 catalogue file in the given frequency range. Otherwise a runtime error is thrown.
Records of molecules unknown to ARTS are ignored but a warning is issued. In particular this happens to CH3OH (HITRAN molecule number 39) because there is no total internal partition sum available.
The database must be sorted by increasing frequency!
WWW access of the HITRAN catalog: http://www.hitran.com/
For data in the Hitran 1986-2001 format use the workspace method: abs_linesReadFromHitran
Keywords: <br> filename : Name (and path) of the catalogue file. <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines | WS Output |
[in] | filename | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 133 of file m_abs.cc.
References LineRecord::F(), Array< base >::nelem(), open_input_file(), out2, and LineRecord::ReadFromHitran2004Stream().
Referenced by abs_lines_per_speciesReadFromCatalogues(), and abs_linesReadFromHitran2004_g().
Definition at line 154 of file auto_md.cc.
References abs_linesReadFromHitran2004(), MRecord::In(), and MRecord::Out().
Definition at line 146 of file auto_md.cc.
References abs_linesReadFromHitran(), MRecord::In(), and MRecord::Out().
void abs_linesReadFromJpl | ( | ArrayOfLineRecord & | abs_lines, | |
const String & | filename, | |||
const Numeric & | fmin, | |||
const Numeric & | fmax | |||
) |
WORKSPACE METHOD: abs_linesReadFromJpl.
Read all the lines from a JPL catalogue file in the given frequency range. Otherwise a runtime error will be thrown
Please note that all lines must correspond to the legal species / isotope combinations.
WWW access of the JPL catalog: http://spec.jpl.nasa.gov/
Keywords: <br> filename : Name (and path) of the catalogue file. <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines | WS Output |
[in] | filename | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 212 of file m_abs.cc.
References LineRecord::F(), Array< base >::nelem(), open_input_file(), out2, and LineRecord::ReadFromJplStream().
Referenced by abs_lines_per_speciesReadFromCatalogues(), and abs_linesReadFromJpl_g().
Definition at line 162 of file auto_md.cc.
References abs_linesReadFromJpl(), MRecord::In(), and MRecord::Out().
void abs_linesReadFromMytran2 | ( | ArrayOfLineRecord & | abs_lines, | |
const String & | filename, | |||
const Numeric & | fmin, | |||
const Numeric & | fmax | |||
) |
WORKSPACE METHOD: abs_linesReadFromMytran2.
Read all the lines from a MYTRAN2 catalogue file in the given frequency range. Otherwise a runtime error will be thrown
Please note that all lines must correspond to the legal species / isotope combinations
Keywords: <br> filename : Name (and path) of the catalogue file. <br> fmin : Minimum frequency for lines to read in Hz. <br> fmax : Maximum frequency for lines to read in Hz.
[out] | abs_lines | WS Output |
[in] | filename | Generic Input |
[in] | fmin | Generic Input |
[in] | fmax | Generic Input |
Definition at line 174 of file m_abs.cc.
References LineRecord::F(), Array< base >::nelem(), open_input_file(), out2, and LineRecord::ReadFromMytran2Stream().
Referenced by abs_lines_per_speciesReadFromCatalogues(), and abs_linesReadFromMytran2_g().
Definition at line 170 of file auto_md.cc.
References abs_linesReadFromMytran2(), MRecord::In(), and MRecord::Out().
void abs_lookupAdapt | ( | GasAbsLookup & | abs_lookup, | |
Index & | abs_lookup_is_adapted, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | f_grid | |||
) |
WORKSPACE METHOD: abs_lookupAdapt.
Adapts a gas absorption lookup table to the current calculation.
The lookup table can contain more species and more frequencies than are needed for the current calculation. This method cuts down the table in memory, so that it contains just what is needed. Also, the species in the table are brought in the same order as the species in the current calculation.
Of course, the method also performs quite a lot of checks on the table. If something is not ok, a runtime error is thrown.
[out] | abs_lookup | WS Output |
[out] | abs_lookup_is_adapted | WS Output |
[in] | abs_species | WS Input |
[in] | f_grid | WS Input |
Definition at line 1781 of file m_abs_lookup.cc.
References GasAbsLookup::Adapt().
Referenced by abs_lookupAdapt_g().
Definition at line 213 of file auto_md.cc.
References abs_lookupAdapt(), MRecord::In(), and MRecord::Out().
void abs_lookupCreate | ( | GasAbsLookup & | abs_lookup, | |
Index & | abs_lookup_is_adapted, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |||
const ArrayOfLineshapeSpec & | abs_lineshape, | |||
const ArrayOfArrayOfSpeciesTag & | abs_nls, | |||
const Vector & | f_grid, | |||
const Vector & | abs_p, | |||
const Matrix & | abs_vmrs, | |||
const Vector & | abs_t, | |||
const Vector & | abs_t_pert, | |||
const Vector & | abs_nls_pert, | |||
const Vector & | abs_n2, | |||
const ArrayOfString & | abs_cont_names, | |||
const ArrayOfString & | abs_cont_models, | |||
const ArrayOfVector & | abs_cont_parameters | |||
) |
WORKSPACE METHOD: abs_lookupCreate.
Creates a gas absorption lookup table.
The lookup table stores absorption cross-sections as a function of pressure. Additionally, absorption can be stored as a function of temperature for temperature perturbations from a reference profile.
Additionally, absorption can be stored as a function of water vapor VMR perturbations from a reference profile. The variable *abs_nls* specifies, for which species water vapor perturbations should be generated.
Note, that the absorbing gas can be any gas, but the perturbing gas is always H2O.
In contrast to other absorption functions, this method does not use the input variable *abs_h2o*. This is because *abs_h2o* has to be set interally to allow perturbations. If there are more than one H2O species, the first is assumed to be the main one.
[out] | abs_lookup | WS Output |
[out] | abs_lookup_is_adapted | WS Output |
[in] | abs_species | WS Input |
[in] | abs_lines_per_species | WS Input |
[in] | abs_lineshape | WS Input |
[in] | abs_nls | WS Input |
[in] | f_grid | WS Input |
[in] | abs_p | WS Input |
[in] | abs_vmrs | WS Input |
[in] | abs_t | WS Input |
[in] | abs_t_pert | WS Input |
[in] | abs_nls_pert | WS Input |
[in] | abs_n2 | WS Input |
[in] | abs_cont_names | WS Input |
[in] | abs_cont_models | WS Input |
[in] | abs_cont_parameters | WS Input |
Definition at line 58 of file m_abs_lookup.cc.
References abs_xsec_per_speciesAddConts(), abs_xsec_per_speciesAddLines(), abs_xsec_per_speciesInit(), arts_omp_get_nested(), arts_omp_set_nested(), chk_size(), exit_or_rethrow(), GasAbsLookup::f_grid, find_first_species_tg(), get_tag_group_name(), is_unique(), joker, GasAbsLookup::log_p_grid, ConstVectorView::nelem(), Array< base >::nelem(), GasAbsLookup::nls_pert, GasAbsLookup::nonlinear_species, out2, out3, GasAbsLookup::p_grid, Tensor4::resize(), Vector::resize(), spec(), GasAbsLookup::species, species_index_from_species_name(), GasAbsLookup::t_pert, GasAbsLookup::t_ref, transform(), GasAbsLookup::vmrs_ref, and GasAbsLookup::xsec.
Referenced by abs_lookupCreate_g().
Definition at line 221 of file auto_md.cc.
References abs_lookupCreate(), MRecord::In(), and MRecord::Out().
void abs_lookupInit | ( | GasAbsLookup & | abs_lookup | ) |
WORKSPACE METHOD: abs_lookupInit.
Creates an empty gas absorption lookup table.
This is mainly there to help developers. For example, you can write the empty table to an XML file, to see the file format.
[out] | abs_lookup | WS Output |
Definition at line 48 of file m_abs_lookup.cc.
References out2.
Referenced by abs_lookupInit_g().
void abs_lookupSetup | ( | Vector & | abs_p, | |
Vector & | abs_t, | |||
Vector & | abs_t_pert, | |||
Matrix & | abs_vmrs, | |||
ArrayOfArrayOfSpeciesTag & | abs_nls, | |||
Vector & | abs_nls_pert, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Index & | abs_p_interp_order, | |||
const Index & | abs_t_interp_order, | |||
const Index & | abs_nls_interp_order, | |||
const Numeric & | p_step, | |||
const Numeric & | t_step, | |||
const Numeric & | h2o_step | |||
) |
WORKSPACE METHOD: abs_lookupSetup.
Set up input parameters for abs_lookupCreate.
More information can be found in the documentation for method abs_lookupSetupBatch*
Max and min values of H2O and temperature are adjusted to allow for numerical perturbations in Jacobian calculation.
The input variables *abs_nls_interp_order* and *abs_t_interp_order* are used to make sure that there are enough points in *abs_nls_pert* and *abs_t_pert* for the chosen interpolation order.
Keywords: <br> p_step : Maximum step in log10(p[Pa]) (base 10 logarithm). If <br> the pressure grid is coarser than this, additional points <br> are added until each log step is smaller than this. <br> Has a default value. <br> t_step : The temperature variation grid step in Kelvin, for a 2D <br> or 3D atmosphere. For a 1D atmosphere this parameter is <br> not used. Has a default value. <br> h2o_step : The H2O variation grid step [fractional], if H2O variations are done <br> (which is determined automatically, based on abs_species <br> and the atmospheric dimension). For a 1D atmosphere this parameter is <br> not used. Has a default value.
See also: <br> *abs_lookupSetupBatch*
[out] | abs_p | WS Output |
[out] | abs_t | WS Output |
[out] | abs_t_pert | WS Output |
[out] | abs_vmrs | WS Output |
[out] | abs_nls | WS Output |
[out] | abs_nls_pert | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | abs_species | WS Input |
[in] | abs_p_interp_order | WS Input |
[in] | abs_t_interp_order | WS Input |
[in] | abs_nls_interp_order | WS Input |
[in] | p_step | Generic Input (Default: "0.05") |
[in] | t_step | Generic Input (Default: "100") |
[in] | h2o_step | Generic Input (Default: "100") |
Definition at line 812 of file m_abs_lookup.cc.
References chk_atm_field(), chk_atm_grids(), choose_abs_nls(), choose_abs_nls_pert(), choose_abs_t_pert(), find_first_species_tg(), gridpos(), interp(), interpweights(), joker, max, mean(), min, Array< base >::nelem(), ConstVectorView::nelem(), Matrix::resize(), Vector::resize(), species_index_from_species_name(), and transform().
Referenced by abs_lookupSetup_g().
Definition at line 246 of file auto_md.cc.
References abs_lookupSetup(), MRecord::In(), and MRecord::Out().
void abs_lookupSetupBatch | ( | Vector & | abs_p, | |
Vector & | abs_t, | |||
Vector & | abs_t_pert, | |||
Matrix & | abs_vmrs, | |||
ArrayOfArrayOfSpeciesTag & | abs_nls, | |||
Vector & | abs_nls_pert, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const ArrayOfGField4 & | batch_atm_fields_compact, | |||
const Index & | abs_p_interp_order, | |||
const Index & | abs_t_interp_order, | |||
const Index & | abs_nls_interp_order, | |||
const Numeric & | p_step, | |||
const Numeric & | t_step, | |||
const Numeric & | h2o_step, | |||
const Vector & | extremes | |||
) |
WORKSPACE METHOD: abs_lookupSetupBatch.
Set up input parameters for abs_lookupCreate for batch calculations.
This method performs a similar task as *abs_lookupSetup*, with the difference, that the lookup table setup is not for a single atmospheric state, but for a whole batch of them, stored in batch_atm_fields_compact*.
The method checks *abs_species* to decide, which species depend on h2o_abs*, and hence require nonlinear treatment in the lookup table.
The method also checks which range of pressures, temperatures, and VMRs occurs, and sets *abs_p*, *abs_t*, *abs_t_pert*, and *abs_vmrs* accordingly.
If nonlinear species are present, *abs_nls* and *abs_nls_pert* are also generated.
Max and min values of H2O and temperature are adjusted to allow for numerical perturbations in Jacobian calculation.
The input variables *abs_nls_interp_order* and *abs_t_interp_order* are used to make sure that there are enough points in *abs_nls_pert* and *abs_t_pert* for the chosen interpolation order.
Keywords: <br> p_step : Maximum step in log10(p[Pa]) (base 10 logarithm). If <br> the pressure grid is coarser than this, additional points <br> are added until each log step is smaller than this. <br> Has a default value. <br> t_step : The temperature variation grid step in Kelvin, for a 2D <br> or 3D atmosphere. For a 1D atmosphere this parameter is <br> not used. Has a default value. <br> h2o_step : The H2O variation grid step [fractional], if H2O variations are done <br> (which is determined automatically, based on abs_species <br> and the atmospheric dimension). For a 1D atmosphere this parameter is <br> not used. Has a default value. <br> extremes : You can give here explicit extreme values to add to <br> abs_t_pert and abs_nls_pert. The order is [t_pert_min, <br> t_pert_max, nls_pert_min, nls_pert_max]. Has a default value of empty. See also: <br> *abs_lookupSetup*
[out] | abs_p | WS Output |
[out] | abs_t | WS Output |
[out] | abs_t_pert | WS Output |
[out] | abs_vmrs | WS Output |
[out] | abs_nls | WS Output |
[out] | abs_nls_pert | WS Output |
[in] | abs_species | WS Input |
[in] | batch_atm_fields_compact | WS Input |
[in] | abs_p_interp_order | WS Input |
[in] | abs_t_interp_order | WS Input |
[in] | abs_nls_interp_order | WS Input |
[in] | p_step | Generic Input (Default: "0.05") |
[in] | t_step | Generic Input (Default: "100") |
[in] | h2o_step | Generic Input (Default: "100") |
[in] | extremes | Generic Input (Default: "[]") |
Definition at line 1099 of file m_abs_lookup.cc.
References choose_abs_nls(), choose_abs_nls_pert(), choose_abs_t_pert(), GFIELD4_FIELD_NAMES, GFIELD4_P_GRID, gridpos(), gridpos_poly(), GridPosPoly::idx, interp(), interpweights(), joker, max, min, ConstTensor4View::nbooks(), ConstMatrixView::ncols(), ConstTensor4View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), ConstTensor4View::npages(), ConstMatrixView::nrows(), ConstTensor4View::nrows(), out2, out3, Matrix::resize(), Vector::resize(), and transform().
Referenced by abs_lookupSetupBatch_g().
Definition at line 269 of file auto_md.cc.
References abs_lookupSetupBatch(), MRecord::In(), and MRecord::Out().
void abs_lookupSetupWide | ( | Vector & | abs_p, | |
Vector & | abs_t, | |||
Vector & | abs_t_pert, | |||
Matrix & | abs_vmrs, | |||
ArrayOfArrayOfSpeciesTag & | abs_nls, | |||
Vector & | abs_nls_pert, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Index & | abs_p_interp_order, | |||
const Index & | abs_t_interp_order, | |||
const Index & | abs_nls_interp_order, | |||
const Numeric & | p_min, | |||
const Numeric & | p_max, | |||
const Numeric & | p_step, | |||
const Numeric & | t_min, | |||
const Numeric & | t_max, | |||
const Numeric & | h2o_min, | |||
const Numeric & | h2o_max | |||
) |
WORKSPACE METHOD: abs_lookupSetupWide.
Set up input parameters for abs_lookupCalc for a wide range of atmospheric conditions.
This method can be used to set up parameters for a lookup table that really covers all reasonable atmospheric conditions.
Reference profiles of T and H2O will be constant, so that the different dimensions in the lookup table are actually "orthogonal", unlike the traditional case where we have pressure dependent reference profiles. This makes the table numerically somewhat more robust then the traditional ones, and it makes it straightforward to calculate the accuracy for the different interpolations with abs_lookupTestAccuracy.
You can give min an max values for the atmospheric conditions. The default values are chosen such that they cover all Chevallier data set cases, and a bit more. The statistics of the Chevallier data are:
min(p) / max(p) [Pa]: 1 / 104960 min(T) / max(T) [K]: 158.21 / 320.39 min(H2O) / max(H2O) [VMR]: -5.52e-07 / 0.049
p_step is in log10(p[hPa])
FIXME: Explicitly document keywords.
[out] | abs_p | WS Output |
[out] | abs_t | WS Output |
[out] | abs_t_pert | WS Output |
[out] | abs_vmrs | WS Output |
[out] | abs_nls | WS Output |
[out] | abs_nls_pert | WS Output |
[in] | abs_species | WS Input |
[in] | abs_p_interp_order | WS Input |
[in] | abs_t_interp_order | WS Input |
[in] | abs_nls_interp_order | WS Input |
[in] | p_min | Generic Input (Default: "0.5") |
[in] | p_max | Generic Input (Default: "110000") |
[in] | p_step | Generic Input (Default: "0.05") |
[in] | t_min | Generic Input (Default: "100") |
[in] | t_max | Generic Input (Default: "400") |
[in] | h2o_min | Generic Input (Default: "0") |
[in] | h2o_max | Generic Input (Default: "0.1") |
Definition at line 1508 of file m_abs_lookup.cc.
References choose_abs_nls(), choose_abs_nls_pert(), choose_abs_t_pert(), find_first_species_tg(), joker, Array< base >::nelem(), out1, out2, Matrix::resize(), Vector::resize(), species_index_from_species_name(), and transform().
Referenced by abs_lookupSetupWide_g().
Definition at line 288 of file auto_md.cc.
References abs_lookupSetupWide(), MRecord::In(), and MRecord::Out().
void abs_lookupTestAccuracy | ( | const GasAbsLookup & | abs_lookup, | |
const Index & | abs_lookup_is_adapted, | |||
const Index & | abs_p_interp_order, | |||
const Index & | abs_t_interp_order, | |||
const Index & | abs_nls_interp_order, | |||
const Vector & | abs_n2, | |||
const ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |||
const ArrayOfLineshapeSpec & | abs_lineshape, | |||
const ArrayOfString & | abs_cont_names, | |||
const ArrayOfString & | abs_cont_models, | |||
const ArrayOfVector & | abs_cont_parameters | |||
) |
WORKSPACE METHOD: abs_lookupTestAccuracy.
Test accuracy of absorption lookup table.
Explicitly compare absorption from the lookup table with line-by-line calculations for strategically selected conditions (in-between the lookup table grid points).
Produces no workspace output, only output to the output streams.
[in] | abs_lookup | WS Input |
[in] | abs_lookup_is_adapted | WS Input |
[in] | abs_p_interp_order | WS Input |
[in] | abs_t_interp_order | WS Input |
[in] | abs_nls_interp_order | WS Input |
[in] | abs_n2 | WS Input |
[in] | abs_lines_per_species | WS Input |
[in] | abs_lineshape | WS Input |
[in] | abs_cont_names | WS Input |
[in] | abs_cont_models | WS Input |
[in] | abs_cont_parameters | WS Input |
Definition at line 2153 of file m_abs_lookup.cc.
References calc_lookup_error(), find_first_species_tg(), joker, GasAbsLookup::log_p_grid, ConstVectorView::nelem(), Array< base >::nelem(), GasAbsLookup::nls_pert, GasAbsLookup::nonlinear_species, out2, GasAbsLookup::p_grid, GasAbsLookup::species, species_index_from_species_name(), GasAbsLookup::t_pert, GasAbsLookup::t_ref, and GasAbsLookup::vmrs_ref.
Referenced by abs_lookupTestAccuracy_g().
void abs_n2Set | ( | Vector & | abs_n2, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Matrix & | abs_vmrs | |||
) |
WORKSPACE METHOD: abs_n2Set.
Sets abs_n2 to the profile of the first tag group containing molecular nitrogen. See *abs_h2oSet* for more details.
[out] | abs_n2 | WS Output |
[in] | abs_species | WS Input |
[in] | abs_vmrs | WS Input |
Definition at line 1687 of file m_abs.cc.
References find_first_species_tg(), joker, ConstMatrixView::ncols(), Vector::resize(), and species_index_from_species_name().
Referenced by abs_n2Set_g().
Definition at line 324 of file auto_md.cc.
References abs_n2Set(), MRecord::In(), and MRecord::Out().
void abs_scalar_gas_agendaExecute | ( | Workspace & | ws, | |
Matrix & | abs_scalar_gas, | |||
const Index | f_index, | |||
const Numeric | rte_pressure, | |||
const Numeric | rte_temperature, | |||
const Vector & | rte_vmr_list, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7246 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by abs_fieldCalc(), clear_rt_vars_at_gp(), cloud_ppath_update1D_planeparallel(), cloud_RT_no_background(), cloudy_rt_vars_at_gp(), dtauc_ssalbCalc(), opt_depth_calc(), rte_std(), and TArrayCalc().
void abs_scalar_gasCalcLBL | ( | Matrix & | abs_scalar_gas, | |
const Vector & | f_grid, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | abs_n2, | |||
const ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |||
const ArrayOfLineshapeSpec & | abs_lineshape, | |||
const ArrayOfString & | abs_cont_names, | |||
const ArrayOfString & | abs_cont_models, | |||
const ArrayOfVector & | abs_cont_parameters, | |||
const Index & | f_index, | |||
const Numeric & | rte_pressure, | |||
const Numeric & | rte_temperature, | |||
const Vector & | rte_vmr_list | |||
) |
WORKSPACE METHOD: abs_scalar_gasCalcLBL.
Calculates scalar gas absorption coefficients line-by-line.
This method can be used inside *abs_scalar_gas_agenda* just like abs_scalar_gasExtractFromLookup*. It is a shortcut for putting in some other methods explicitly, namely:
<br> f_gridSelectFIndex <br> AbsInputFromRteScalars <br> abs_h2oSet <br> abs_coefCalc <br> abs_scalar_gasFromAbsCoef
Actually, all the method does is to call the above four methods.
The calculation is for one specific atmospheric condition, i.e., a set of pressure, temperature, and VMR values. It can be either for a single frequency (f_index>=0), or for all frequencies (f_index<0). The dimension of the output abs_scalar_gas is adjusted accordingly.
[out] | abs_scalar_gas | WS Output |
[in] | f_grid | WS Input |
[in] | abs_species | WS Input |
[in] | abs_n2 | WS Input |
[in] | abs_lines_per_species | WS Input |
[in] | abs_lineshape | WS Input |
[in] | abs_cont_names | WS Input |
[in] | abs_cont_models | WS Input |
[in] | abs_cont_parameters | WS Input |
[in] | f_index | WS Input |
[in] | rte_pressure | WS Input |
[in] | rte_temperature | WS Input |
[in] | rte_vmr_list | WS Input |
Referenced by abs_scalar_gasCalcLBL_g(), and calc_lookup_error().
Definition at line 331 of file auto_md.cc.
References abs_scalar_gasCalcLBL(), MRecord::In(), and MRecord::Out().
void abs_scalar_gasExtractFromLookup | ( | Matrix & | abs_scalar_gas, | |
const GasAbsLookup & | abs_lookup, | |||
const Index & | abs_lookup_is_adapted, | |||
const Index & | abs_p_interp_order, | |||
const Index & | abs_t_interp_order, | |||
const Index & | abs_nls_interp_order, | |||
const Index & | f_index, | |||
const Numeric & | rte_pressure, | |||
const Numeric & | rte_temperature, | |||
const Vector & | rte_vmr_list | |||
) |
WORKSPACE METHOD: abs_scalar_gasExtractFromLookup.
Extract scalar gas absorption coefficients from lookup table.
This extracts the absorption coefficient for all species in the current calculation from the lookup table. Extraction is for one specific atmospheric condition, i.e., a set of pressure, temperature, and VMR values.
Extraction can be either for a single frequency (f_index>=0), or for all frequencies (f_index<0). The dimension of the output abs_scalar_gas is adjusted accordingly.
The interpolation order in T and H2O is given by *abs_t_interp_order* and *abs_nls_interp_order*, respectively.
See also: *abs_scalar_gasCalcLBL*.
[out] | abs_scalar_gas | WS Output |
[in] | abs_lookup | WS Input |
[in] | abs_lookup_is_adapted | WS Input |
[in] | abs_p_interp_order | WS Input |
[in] | abs_t_interp_order | WS Input |
[in] | abs_nls_interp_order | WS Input |
[in] | f_index | WS Input |
[in] | rte_pressure | WS Input |
[in] | rte_temperature | WS Input |
[in] | rte_vmr_list | WS Input |
Definition at line 1792 of file m_abs_lookup.cc.
References GasAbsLookup::Extract().
Referenced by abs_scalar_gasExtractFromLookup_g().
Definition at line 348 of file auto_md.cc.
References abs_scalar_gasExtractFromLookup(), MRecord::In(), and MRecord::Out().
void abs_scalar_gasFromAbsCoef | ( | Matrix & | abs_scalar_gas, | |
const ArrayOfMatrix & | abs_coef_per_species | |||
) |
WORKSPACE METHOD: abs_scalar_gasFromAbsCoef.
Copy *abs_scalar_gas* from *abs_coef*. This is handy for putting an explicit line-by-line calculation into the abs_scalar_gas_agenda*. See also method *AbsInputFromRteScalars*.
[out] | abs_scalar_gas | WS Output |
[in] | abs_coef_per_species | WS Input |
Definition at line 2675 of file m_abs.cc.
References joker, Array< base >::nelem(), and Matrix::resize().
Referenced by abs_scalar_gasCalcLBL(), and abs_scalar_gasFromAbsCoef_g().
Definition at line 362 of file auto_md.cc.
References abs_scalar_gasFromAbsCoef(), MRecord::In(), and MRecord::Out().
void abs_speciesAdd | ( | ArrayOfArrayOfSpeciesTag & | abs_species, | |
const ArrayOfString & | species | |||
) |
WORKSPACE METHOD: abs_speciesAdd.
Adds species tag groups to the list of absorption species.
This WSM is similar to *SpeciesSet*, the only difference is that this method appends species to an existing list of absorption species instead of creating the whole list.
See *SpeciesSet* for details on how tags are defined and examples of how to input them in the control file.
Keywords: <br> species : Specify one String for each tag group that you want to <br> add. Inside the String, separate the tags by commas <br> (plus optional blanks).
[out] | abs_species | WS Output |
[in] | species | Generic Input |
Definition at line 1664 of file m_abs_lookup.cc.
References array_species_tag_from_string(), Array< base >::nelem(), out3, and temp.
Referenced by abs_speciesAdd_g().
void abs_speciesAdd2 | ( | Workspace & | ws, | |
ArrayOfArrayOfSpeciesTag & | abs_species, | |||
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
Agenda & | jacobian_agenda, | |||
const Matrix & | jacobian, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Vector & | gin1, | |||
const Vector & | gin2, | |||
const Vector & | gin3, | |||
const String & | species, | |||
const String & | method, | |||
const String & | unit, | |||
const Numeric & | dx | |||
) |
WORKSPACE METHOD: abs_speciesAdd2.
Adds a species tag group to the list of absorption species and jacobian quantities.
The method is basically a combined call of *abs_speciesAdd* and jacobianAddAbsSpecies*. In this way it is not needed to specify a tag group in two different places.
Arguments exactly as for *jacobianAddAbsSpecies*. Note that this method only handles a single tag group, in contrast to abs_speciesAdd*
[in,out] | ws | Workspace |
[out] | abs_species | WS Output |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_agenda | WS Output |
[in] | jacobian | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | gin3 | Generic Input |
[in] | species | Generic Input |
[in] | method | Generic Input |
[in] | unit | Generic Input |
[in] | dx | Generic Input |
Definition at line 1698 of file m_abs_lookup.cc.
References array_species_tag_from_string(), jacobianAddAbsSpecies(), Array< base >::nelem(), and out3.
Referenced by abs_speciesAdd2_g().
Definition at line 389 of file auto_md.cc.
References abs_speciesAdd2(), MRecord::In(), and MRecord::Out().
Definition at line 383 of file auto_md.cc.
References abs_speciesAdd(), MRecord::In(), and MRecord::Out().
void abs_speciesDefineAllInScenario | ( | ArrayOfArrayOfSpeciesTag & | abs_species, | |
const String & | basename | |||
) |
WORKSPACE METHOD: abs_speciesDefineAllInScenario.
Define one tag group for each species known to ARTS and included in an atmospheric scenario.
You can use this as an alternative to tgsDefine if you want to make an absorption calculation that is as complete as possible. The method goes through all defined species and tries to open the VMR file. If this works the tag is included, otherwise it is skipped.
Keywords: <br> basename : The name and path of a particular atmospheric scenario. <br> For example: /pool/lookup2/arts-data/atmosphere/fascod/tropical
[out] | abs_species | WS Output |
[in] | basename | Generic Input |
Definition at line 813 of file m_abs.cc.
References Array< base >::nelem(), open_input_file(), out2, and species_data.
Referenced by abs_speciesDefineAllInScenario_g().
Definition at line 409 of file auto_md.cc.
References abs_speciesDefineAllInScenario(), MRecord::In(), and MRecord::Out().
void abs_speciesInit | ( | ArrayOfArrayOfSpeciesTag & | abs_species | ) |
WORKSPACE METHOD: abs_speciesInit.
Sets *abs_speciesSet* to be empty.
[out] | abs_species | WS Output |
Definition at line 1741 of file m_abs_lookup.cc.
Referenced by abs_speciesInit_g().
WORKSPACE METHOD: abs_vecAddGas.
Add gas absorption to first element of absorption vector.
The task of this method is to sum up the gas absorption of the different gas species and add the result to the first element of the absorption vector.
[out] | abs_vec | WS Output |
[in] | abs_scalar_gas | WS Input |
Definition at line 734 of file m_optproperties.cc.
References joker, and ConstMatrixView::nrows().
Referenced by abs_vecAddGas_g().
Definition at line 426 of file auto_md.cc.
References abs_vecAddGas(), MRecord::In(), and MRecord::Out().
void abs_vecAddPart | ( | Matrix & | abs_vec, | |
const Matrix & | abs_vec_spt, | |||
const Tensor4 & | pnd_field, | |||
const Index & | atmosphere_dim, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: abs_vecAddPart.
The particle absorption is added to *abs_vec*
This function sums up the absorption vectors for all particle types weighted with particle number density. The resluling absorption vector is added to the workspace variable *abs_vec* Output and input of this method is *abs_vec* (stokes_dim). The inputs are the absorption vector for the single particle type abs_vec_spt* (part_types, stokes_dim) and the local particle <br> number densities for all particle types namely the pnd_field* (part_types, p_grid, lat_grid, lon_grid, ) for given p_grid*, *lat_grid*, and *lon_grid*. The particle types required are specified in the control file.
[out] | abs_vec | WS Output |
[in] | abs_vec_spt | WS Input |
[in] | pnd_field | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 585 of file m_optproperties.cc.
References joker, ConstMatrixView::ncols(), and ConstMatrixView::nrows().
Referenced by abs_vecAddPart_g().
Definition at line 432 of file auto_md.cc.
References abs_vecAddPart(), MRecord::In(), and MRecord::Out().
void abs_vecInit | ( | Matrix & | abs_vec, | |
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | f_index | |||
) |
WORKSPACE METHOD: abs_vecInit.
Initialize absorption vector.
This method is necessary, because all other absorption methods just add to the existing absorption vector.
So, here we have to make it the right size and fill it with 0.
Note, that the vector is not really a vector, because it has a leading frequency dimension.
[out] | abs_vec | WS Output |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | f_index | WS Input |
Definition at line 711 of file m_optproperties.cc.
References ConstVectorView::nelem(), out2, and Matrix::resize().
Referenced by abs_vecInit_g().
Definition at line 443 of file auto_md.cc.
References abs_vecInit(), MRecord::In(), and MRecord::Out().
void abs_xsec_per_speciesAddConts | ( | ArrayOfMatrix & | abs_xsec_per_species, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | f_grid, | |||
const Vector & | abs_p, | |||
const Vector & | abs_t, | |||
const Vector & | abs_n2, | |||
const Vector & | abs_h2o, | |||
const Matrix & | abs_vmrs, | |||
const ArrayOfString & | abs_cont_names, | |||
const ArrayOfVector & | abs_cont_parameters, | |||
const ArrayOfString & | abs_cont_models | |||
) |
WORKSPACE METHOD: abs_xsec_per_speciesAddConts.
Calculate absorption cross sections per tag group for continua.
[out] | abs_xsec_per_species | WS Output |
[in] | abs_species | WS Input |
[in] | f_grid | WS Input |
[in] | abs_p | WS Input |
[in] | abs_t | WS Input |
[in] | abs_n2 | WS Input |
[in] | abs_h2o | WS Input |
[in] | abs_vmrs | WS Input |
[in] | abs_cont_names | WS Input |
[in] | abs_cont_parameters | WS Input |
[in] | abs_cont_models | WS Input |
Referenced by abs_coefCalc(), abs_coefCalcSaveMemory(), abs_lookupCreate(), and abs_xsec_per_speciesAddConts_g().
Definition at line 451 of file auto_md.cc.
References abs_xsec_per_speciesAddConts(), MRecord::In(), and MRecord::Out().
void abs_xsec_per_speciesAddLines | ( | ArrayOfMatrix & | abs_xsec_per_species, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | f_grid, | |||
const Vector & | abs_p, | |||
const Vector & | abs_t, | |||
const Vector & | abs_h2o, | |||
const Matrix & | abs_vmrs, | |||
const ArrayOfArrayOfLineRecord & | abs_lines_per_species, | |||
const ArrayOfLineshapeSpec & | abs_lineshape | |||
) |
WORKSPACE METHOD: abs_xsec_per_speciesAddLines.
Calculates the line spectrum for each tag group and adds it to abs_xsec_per_species.
[out] | abs_xsec_per_species | WS Output |
[in] | abs_species | WS Input |
[in] | f_grid | WS Input |
[in] | abs_p | WS Input |
[in] | abs_t | WS Input |
[in] | abs_h2o | WS Input |
[in] | abs_vmrs | WS Input |
[in] | abs_lines_per_species | WS Input |
[in] | abs_lineshape | WS Input |
Definition at line 1999 of file m_abs.cc.
References LineshapeSpec::Cutoff(), get_tag_group_name(), LineshapeSpec::Ind_ls(), LineshapeSpec::Ind_lsn(), joker, lineshape_data, ll, Array< base >::nelem(), ConstMatrixView::nrows(), out3, and xsec_species().
Referenced by abs_coefCalc(), abs_coefCalcSaveMemory(), abs_lookupCreate(), and abs_xsec_per_speciesAddLines_g().
Definition at line 466 of file auto_md.cc.
References abs_xsec_per_speciesAddLines(), MRecord::In(), and MRecord::Out().
void abs_xsec_per_speciesInit | ( | ArrayOfMatrix & | abs_xsec_per_species, | |
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Vector & | f_grid, | |||
const Vector & | abs_p | |||
) |
WORKSPACE METHOD: abs_xsec_per_speciesInit.
Initialize *abs_xsec_per_species*.
The initialization is necessary, because methods *abs_xsec_per_speciesAddLines* and *abs_xsec_per_speciesAddConts* just add to *abs_xsec_per_species*. The size is determined from *tgs*.
[out] | abs_xsec_per_species | WS Output |
[in] | abs_species | WS Input |
[in] | f_grid | WS Input |
[in] | abs_p | WS Input |
Definition at line 1971 of file m_abs.cc.
References ConstVectorView::nelem(), Array< base >::nelem(), and out3.
Referenced by abs_coefCalc(), abs_coefCalcSaveMemory(), abs_lookupCreate(), and abs_xsec_per_speciesInit_g().
Definition at line 479 of file auto_md.cc.
References abs_xsec_per_speciesInit(), MRecord::In(), and MRecord::Out().
void AbsInputFromAtmFields | ( | Vector & | abs_p, | |
Vector & | abs_t, | |||
Matrix & | abs_vmrs, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field | |||
) |
WORKSPACE METHOD: AbsInputFromAtmFields.
Initialize the WSVs *abs_p*, *abs_t* and *abs_vmrs* from p_grid, *t_field* and *vmr_field*.
This only works for a 1D atmosphere!
[out] | abs_p | WS Output |
[out] | abs_t | WS Output |
[out] | abs_vmrs | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
Definition at line 1704 of file m_abs.cc.
References joker.
Referenced by AbsInputFromAtmFields_g().
Definition at line 23 of file auto_md.cc.
References AbsInputFromAtmFields(), MRecord::In(), and MRecord::Out().
void AbsInputFromRteScalars | ( | Vector & | abs_p, | |
Vector & | abs_t, | |||
Matrix & | abs_vmrs, | |||
const Numeric & | rte_pressure, | |||
const Numeric & | rte_temperature, | |||
const Vector & | rte_vmr_list | |||
) |
WORKSPACE METHOD: AbsInputFromRteScalars.
Initialize absorption input WSVs from local atmospheric conditions.
The purpose of this method is to allow an explicit line-by-line calculation, e.g., by *abs_coefCalc*, to be put inside the abs_scalar_gas_agenda*. What the method does is to prepare absorption input parameters (pressure, temperature, VMRs, frequency grid), from the input parameters to *abs_scalar_gas_agenda*. There is a matching method to turn the output of *abs_coefCalc* into what the agenda expects (*abs_scalar_gasFromAbsCoef*).
Note that the original *f_grid* is distroyed. (This is not a problem if the method is used inside an agenda.)
[out] | abs_p | WS Output |
[out] | abs_t | WS Output |
[out] | abs_vmrs | WS Output |
[in] | rte_pressure | WS Input |
[in] | rte_temperature | WS Input |
[in] | rte_vmr_list | WS Input |
Definition at line 52 of file m_abs.cc.
References ConstVectorView::nelem(), Matrix::resize(), and Vector::resize().
Referenced by abs_scalar_gasCalcLBL(), and AbsInputFromRteScalars_g().
Definition at line 34 of file auto_md.cc.
References AbsInputFromRteScalars(), MRecord::In(), and MRecord::Out().
void AgendaAppend | ( | Workspace & | ws, | |
Agenda & | gout1, | |||
const String & | gout1_wsvname, | |||
const Agenda & | gin1, | |||
const String & | gin1_wsvname, | |||
const Agenda & | input_agenda | |||
) |
WORKSPACE METHOD: AgendaAppend.
Append methods to an agenda.
An agenda is used to store a list of methods that are meant to be executed sequentially.
This method takes the methods given in the body (in the curly braces) and appends them to the agenda given by the output argument (in the round braces).
It also uses the agenda lookup data (defined in file agendas.cc) to check, whether the given methods use the right input WSVs and produce the right output WSVs.
[in,out] | ws | Workspace |
[out] | gout1 | Generic output |
[in] | gout1_wsvname | Generic Output Name |
[in] | gin1 | Generic Input |
[in] | gin1_wsvname | Generic Input Name |
[in] | input_agenda | Agenda from controlfile |
Definition at line 61 of file m_agenda.cc.
References Agenda::check(), Agenda::Methods(), Array< base >::nelem(), and Agenda::set_methods().
Referenced by AgendaAppend_g(), and Agenda::append().
Definition at line 493 of file auto_md.cc.
References AgendaAppend(), MRecord::In(), MRecord::Out(), MRecord::Tasks(), and Workspace::wsv_data.
WORKSPACE METHOD: AgendaExecute.
Execute an agenda.
Generic input: <br> Agenda : The agenda.
[in,out] | ws | Workspace |
[in] | gin1 | Generic Input |
Definition at line 35 of file m_agenda.cc.
References Agenda::execute(), and out3.
Referenced by AgendaExecute_g().
void AgendaSet | ( | Workspace & | ws, | |
Agenda & | gout1, | |||
const String & | gout1_wsvname, | |||
const Agenda & | input_agenda | |||
) |
WORKSPACE METHOD: AgendaSet.
Set up an agenda.
An agenda is used to store a list of methods that are meant to be executed sequentially.
This method takes the methods given in the body (in the curly braces) and puts them in the agenda given by the output argument (in the round braces).
It also uses the agenda lookup data (defined in file agendas.cc) to check, whether the given methods use the right input WSVs and produce the right output WSVs. <br> Generic output: <br> Agenda : The new agenda.
Keywords: <br> No keywords, but other methods can appear in the method body.
[in,out] | ws | Workspace |
[out] | gout1 | Generic output |
[in] | gout1_wsvname | Generic Output Name |
[in] | input_agenda | Agenda from controlfile |
Definition at line 45 of file m_agenda.cc.
References Agenda::check(), and Agenda::set_name().
Referenced by AgendaSet_g().
Definition at line 503 of file auto_md.cc.
References AgendaSet(), MRecord::Out(), MRecord::Tasks(), and Workspace::wsv_data.
WORKSPACE METHOD: AntennaOff.
Sets some antenna related variables
Use this method to set *antenna_dim*, *mblock_za_grid* and mblock_aa_grid* to suitable values (1, [0] and [], respectively) for cases when a sensor is included, but the antenna pattern is neglected.
[out] | antenna_dim | WS Output |
[out] | mblock_za_grid | WS Output |
[out] | mblock_aa_grid | WS Output |
Definition at line 72 of file m_sensor.cc.
References out2, and Vector::resize().
Referenced by AntennaOff_g(), and sensorOff().
WORKSPACE METHOD: AntennaSet1D.
Sets the antenna dimension to 1D.
Sets *antenna_dim* to 1 and sets *mblock_aa_grid* to be empty.
[out] | antenna_dim | WS Output |
[out] | mblock_aa_grid | WS Output |
Definition at line 92 of file m_sensor.cc.
References out2, out3, and Vector::resize().
Referenced by AntennaSet1D_g().
WORKSPACE METHOD: AntennaSet2D.
Sets the antenna dimension to 2D.
Sets *antenna_dim* to 2.
It is only allowed to set *antenna_dim* to 2 when *atmosphere_dim* equals 3.
[out] | antenna_dim | WS Output |
[in] | atmosphere_dim | WS Input |
Definition at line 107 of file m_sensor.cc.
Referenced by AntennaSet2D_g().
Definition at line 524 of file auto_md.cc.
References AntennaSet2D(), MRecord::In(), and MRecord::Out().
void Append | ( | T & | out, | |
const T & | in | |||
) | [inline] |
WORKSPACE METHOD: Append.
Append a workspace variable to another workspace variable.
This is a supergeneric method. It can append a workspace variable to another workspace variable of the same group. (E.g., a Matrix to another Matrix.)
This method is not implemented for all types, just for those where an append makes sense. (See variable list below.).
As allways, output comes first in the argument list!
[out] | out | Supergeneric output |
[in] | in | Generic Input |
Referenced by Append_sg_ArrayOfArrayOfArrayOfArrayOfGridPosArrayOfArrayOfArrayOfArrayOfGridPos_g(), Append_sg_ArrayOfArrayOfGField1ArrayOfArrayOfGField1_g(), Append_sg_ArrayOfArrayOfGField3ArrayOfArrayOfGField3_g(), Append_sg_ArrayOfArrayOfIndexArrayOfArrayOfIndex_g(), Append_sg_ArrayOfArrayOfLineRecordArrayOfArrayOfLineRecord_g(), Append_sg_ArrayOfArrayOfMatrixArrayOfArrayOfMatrix_g(), Append_sg_ArrayOfArrayOfSpeciesTagArrayOfArrayOfSpeciesTag_g(), Append_sg_ArrayOfArrayOfTensor3ArrayOfArrayOfTensor3_g(), Append_sg_ArrayOfArrayOfTensor6ArrayOfArrayOfTensor6_g(), Append_sg_ArrayOfGField1ArrayOfGField1_g(), Append_sg_ArrayOfGField2ArrayOfGField2_g(), Append_sg_ArrayOfGField3ArrayOfGField3_g(), Append_sg_ArrayOfGField4ArrayOfGField4_g(), Append_sg_ArrayOfIndexArrayOfIndex_g(), Append_sg_ArrayOfLineRecordArrayOfLineRecord_g(), Append_sg_ArrayOfLineshapeSpecArrayOfLineshapeSpec_g(), Append_sg_ArrayOfMatrixArrayOfMatrix_g(), Append_sg_ArrayOfPpathArrayOfPpath_g(), Append_sg_ArrayOfRetrievalQuantityArrayOfRetrievalQuantity_g(), Append_sg_ArrayOfSingleScatteringDataArrayOfSingleScatteringData_g(), Append_sg_ArrayOfStringArrayOfString_g(), Append_sg_ArrayOfTensor3ArrayOfTensor3_g(), Append_sg_ArrayOfTensor4ArrayOfTensor4_g(), Append_sg_ArrayOfTensor6ArrayOfTensor6_g(), Append_sg_ArrayOfTensor7ArrayOfTensor7_g(), Append_sg_ArrayOfVectorArrayOfVector_g(), Append_sg_StringString_g(), and Append_sg_VectorVector_g().
void ArrayOfGField1Create | ( | ArrayOfGField1 & | arrayofgfield1 | ) |
WORKSPACE METHOD: ArrayOfGField1Create.
Creates an empty ArrayOfGField1.
If the variable already exists, it'll be reset.
[out] | arrayofgfield1 | Generic output |
Definition at line 63 of file m_create.cc.
Referenced by ArrayOfGField1Create_g().
void ArrayOfIndexCreate | ( | ArrayOfIndex & | arrayofindex | ) |
WORKSPACE METHOD: ArrayOfIndexCreate.
Creates an empty ArrayOfIndex.
If the variable already exists, it'll be reset.
[out] | arrayofindex | Generic output |
Definition at line 71 of file m_create.cc.
Referenced by ArrayOfIndexCreate_g().
void ArrayOfIndexSet | ( | ArrayOfIndex & | arrayofindex, | |
const ArrayOfIndex & | values | |||
) |
WORKSPACE METHOD: ArrayOfIndexSet.
Create an ArrayOfIndex from the given list of numbers.
[out] | arrayofindex | Generic output |
[in] | values | Generic Input |
Definition at line 74 of file m_basic_types.cc.
Referenced by ArrayOfIndexSet_g().
Definition at line 708 of file auto_md.cc.
References ArrayOfIndexSet(), MRecord::Out(), and MRecord::SetValue().
void ArrayOfLineRecordCreate | ( | ArrayOfLineRecord & | gout1 | ) |
WORKSPACE METHOD: ArrayOfLineRecordCreate.
Creates an empty ArrayOfLineRecord.
If the variable already exists, it will be reset.
Generic output: <br> ArrayOfLineRecord: New empty ArrayOfLineRecord.
[out] | gout1 | Generic output |
Definition at line 79 of file m_create.cc.
Referenced by ArrayOfLineRecordCreate_g().
Definition at line 714 of file auto_md.cc.
References ArrayOfLineRecordCreate(), and MRecord::Out().
void ArrayOfLineshapeSpecCreate | ( | ArrayOfLineshapeSpec & | gout1 | ) |
WORKSPACE METHOD: ArrayOfLineshapeSpecCreate.
Creates an empty ArrayOfLineshapeSpec.
If the variable already exists, it will be reset.
Generic output: <br> ArrayOfLineshapeSpec: New empty ArrayOfLineshapeSpec.
[out] | gout1 | Generic output |
Definition at line 87 of file m_create.cc.
Referenced by ArrayOfLineshapeSpecCreate_g().
Definition at line 719 of file auto_md.cc.
References ArrayOfLineshapeSpecCreate(), and MRecord::Out().
void ArrayOfMatrixCreate | ( | ArrayOfMatrix & | gout1 | ) |
WORKSPACE METHOD: ArrayOfMatrixCreate.
Creates an empty ArrayOfMatrix.
If the variable already exists, it will be reset.
Generic output: <br> ArrayOfMatrix: New empty ArrayOfMatrix.
[out] | gout1 | Generic output |
Definition at line 95 of file m_create.cc.
Referenced by ArrayOfMatrixCreate_g().
void ArrayOfMatrixInsert | ( | ArrayOfMatrix & | gout1, | |
const ArrayOfMatrix & | gin1, | |||
const Matrix & | gin2, | |||
const Index & | element | |||
) |
WORKSPACE METHOD: ArrayOfMatrixInsert.
Inserts a Matrix in an ArrayOfMatrix.
The keyword can be used to chose which element will be set, If a negative number is given, the matrix will be appended to the array. Note that zero-based indexing is used.
Generic output: <br> ArrayOfMatrix : The new array.
Generic input: <br> ArrayOfMatrix : The original array. <br> Matrix : The matrix to insert. Keywords: <br> element : The index to be set.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | element | Generic Input |
Definition at line 82 of file m_basic_types.cc.
References Array< base >::nelem().
Referenced by ArrayOfMatrixInsert_g().
Definition at line 729 of file auto_md.cc.
References ArrayOfMatrixInsert(), MRecord::In(), and MRecord::Out().
void ArrayOfStringCreate | ( | ArrayOfString & | gout1 | ) |
WORKSPACE METHOD: ArrayOfStringCreate.
Creates an empty ArrayOfString.
If the variable already exists, it'll be reset.
Generic output: <br> ArrayOfString: New empty ArrayOfString.
[out] | gout1 | Generic output |
Definition at line 103 of file m_create.cc.
Referenced by ArrayOfStringCreate_g().
void ArrayOfStringSet | ( | ArrayOfString & | gout1, | |
const ArrayOfString & | text | |||
) |
WORKSPACE METHOD: ArrayOfStringSet.
Sets a String array according the given text. The format is text = ["String1","String2",...]
[out] | gout1 | Generic output |
[in] | text | Generic Input |
Definition at line 119 of file m_basic_types.cc.
References Array< base >::nelem().
Referenced by ArrayOfStringSet_g().
Definition at line 742 of file auto_md.cc.
References ArrayOfStringSet(), MRecord::Out(), and MRecord::SetValue().
void ArrayOfVectorCreate | ( | ArrayOfVector & | arrayofvector | ) |
WORKSPACE METHOD: ArrayOfVectorCreate.
Creates an empty ArrayOfVector.
If the variable already exists, it'll be reset.
[out] | arrayofvector | Generic output |
Referenced by ArrayOfVectorCreate_g().
WORKSPACE METHOD: Arts.
Run the agenda that is specified inside the curly braces. ARTS controlfiles must define this method. It is executed automatically when ARTS is run on the controlfile.
Definition at line 92 of file m_agenda.cc.
References Agenda::execute().
void atm_fields_compactAddConstant | ( | GField4 & | atm_fields_compact, | |
const String & | name, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: atm_fields_compactAddConstant.
Adds a constant field to atm_fields_compact.
This is handy for nitrogen or oxygen. The constant value is appended at the end of the fields that are already there. All dimensions (pressure, latitude, longitude) are filled up, so this works for 1D, 2D, or 3D atmospheres.
Keywords: <br> name : The field name. Use, e.g., vmr_o2 for oxygen VMR. <br> value : The constant value of this field.
[out] | atm_fields_compact | WS Output |
[in] | name | Generic Input |
[in] | value | Generic Input |
Definition at line 119 of file m_atmosphere.cc.
References GField::get_string_grid(), GFIELD4_FIELD_NAMES, joker, ConstTensor4View::ncols(), Array< base >::nelem(), ConstTensor4View::npages(), ConstTensor4View::nrows(), and GField4::resize().
Referenced by atm_fields_compactAddConstant_g(), and batch_atm_fields_compactFromArrayOfMatrix().
Definition at line 799 of file auto_md.cc.
References atm_fields_compactAddConstant(), MRecord::In(), and MRecord::Out().
void atm_fields_compactFromMatrix | ( | GField4 & | atm_fields_compact, | |
const Index & | atmosphere_dim, | |||
const Matrix & | gin1, | |||
const ArrayOfString & | field_names | |||
) |
WORKSPACE METHOD: atm_fields_compactFromMatrix.
Set atm_fields_compact from 1D profiles in a matrix.
For clear-sky batch calculations it is handy to store atmospheric profiles in an array of matrix. We take such a matrix, and create atm_fields_compact* from it.
The matrix must contain one row for each pressure level. Recommended row format:
p[Pa] T[K] z[m] VMR_1[1] ... VMR[2]
Works only for *atmosphere_dim==1.*
Keywords: <br> field_names : Field names to store in atm_fields_compact. <br> This should be, e.g.: <br> ["T[K]", "z[m]", "vmr_h2o[1]"] <br> There must be one name less than matrix columns, <br> because the first column must contain pressure.
[out] | atm_fields_compact | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | gin1 | Generic Input |
[in] | field_names | Generic Input |
Definition at line 74 of file m_atmosphere.cc.
References GFIELD4_FIELD_NAMES, GFIELD4_LAT_GRID, GFIELD4_LON_GRID, GFIELD4_P_GRID, joker, ConstMatrixView::ncols(), Array< base >::nelem(), ConstMatrixView::nrows(), GField4::resize(), GField::set_grid(), and transpose().
Referenced by atm_fields_compactFromMatrix_g(), and batch_atm_fields_compactFromArrayOfMatrix().
Definition at line 806 of file auto_md.cc.
References atm_fields_compactFromMatrix(), MRecord::In(), and MRecord::Out().
void AtmFieldsCalc | ( | Tensor3 & | t_field, | |
Tensor3 & | z_field, | |||
Tensor4 & | vmr_field, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const GField3 & | t_field_raw, | |||
const GField3 & | z_field_raw, | |||
const ArrayOfGField3 & | vmr_field_raw, | |||
const Index & | atmosphere_dim | |||
) |
WORKSPACE METHOD: AtmFieldsCalc.
Interpolate the atmospheric fields.
An atmospheric scenario includes the following data for each position (pressure, latitude, longitude) in the atmosphere: <br> 1. temperature field <br> 2. the corresponding altitude field <br> 3. vmr fields for the gaseous species This method interpolates the fields from the raw data (*t_field_raw*, *z_field_raw*) which can be stored on arbitrary grids on the grids for the calculation (*p_grid*, *lat_grid*, *lon_grid*).
[out] | t_field | WS Output |
[out] | z_field | WS Output |
[out] | vmr_field | WS Output |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | t_field_raw | WS Input |
[in] | z_field_raw | WS Input |
[in] | vmr_field_raw | WS Input |
[in] | atmosphere_dim | WS Input |
Definition at line 369 of file m_atmosphere.cc.
References chk_atm_grids(), chk_if_in_range(), GField::get_numeric_grid(), GFIELD3_LAT_GRID, GFIELD3_LON_GRID, GFIELD3_P_GRID, gridpos(), interp(), interpweights(), joker, Array< base >::nelem(), ConstVectorView::nelem(), p2gridpos(), Tensor4::resize(), and Tensor3::resize().
Referenced by AtmFieldsCalc_g(), and AtmFieldsCalcExpand1D().
Definition at line 759 of file auto_md.cc.
References AtmFieldsCalc(), MRecord::In(), and MRecord::Out().
void AtmFieldsCalcExpand1D | ( | Tensor3 & | t_field, | |
Tensor3 & | z_field, | |||
Tensor4 & | vmr_field, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const GField3 & | t_field_raw, | |||
const GField3 & | z_field_raw, | |||
const ArrayOfGField3 & | vmr_field_raw, | |||
const Index & | atmosphere_dim | |||
) |
WORKSPACE METHOD: AtmFieldsCalcExpand1D.
Interpolate 1D raw atmospheric fields to create 2D or 3D homogeneous atmospheric fields.
The method works as *AtmFieldsCalc* but accepts only raw 1D atmospheres. The raw atmosphere is interpolated to *p_grid* and the obtained values are applied for all latitudes, and also longitudes for 3D, to create a homogeneous atmosphere.
The method deals only with the atmospheric fields, and to create a true 2D or 3D version of a 1D case, a demand is also that the geoid radius is set to be constant for all latitudes/longitudes.
[out] | t_field | WS Output |
[out] | z_field | WS Output |
[out] | vmr_field | WS Output |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | t_field_raw | WS Input |
[in] | z_field_raw | WS Input |
[in] | vmr_field_raw | WS Input |
[in] | atmosphere_dim | WS Input |
Definition at line 627 of file m_atmosphere.cc.
References AtmFieldsCalc(), chk_atm_grids(), chk_if_in_range(), ConstTensor4View::nbooks(), ConstVectorView::nelem(), ConstTensor3View::npages(), Tensor4::resize(), and Tensor3::resize().
Referenced by AtmFieldsCalcExpand1D_g().
Definition at line 773 of file auto_md.cc.
References AtmFieldsCalcExpand1D(), MRecord::In(), and MRecord::Out().
void AtmFieldsFromCompact | ( | Vector & | p_grid, | |
Vector & | lat_grid, | |||
Vector & | lon_grid, | |||
Tensor3 & | t_field, | |||
Tensor3 & | z_field, | |||
Tensor4 & | vmr_field, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const GField4 & | atm_fields_compact, | |||
const Index & | atmosphere_dim | |||
) |
WORKSPACE METHOD: AtmFieldsFromCompact.
Extract pressure grid and atmospheric fields from atm_fields_compact*.
An atmospheric scenario includes the following data for each position (pressure, latitude, longitude) in the atmosphere: <br> 1. temperature field <br> 2. the corresponding altitude field <br> 3. vmr fields for the gaseous species
This method just splits up the data found in *atm_fields_compact* to p_grid, lat_grid, lon_grid, and the various fields. No interpolation. See documentation of *atm_fields_compact* for a definition of the data.
There are some safety checks on the names of the fields: The first field must be called *T*, the second *z*. Remaining fields must be trace gas species volume mixing ratios, named for example "H2O", "O3", and so on. The species names must fit the species in *abs_species*. (Same species in same order.) Only the species name must fit, not the full tag.
Possible future extensions: Add a keyword parameter to refine the pressure grid if it is too coarse. Or a version that interpolates onto given grids, instead of using and returning the original grids.
[out] | p_grid | WS Output |
[out] | lat_grid | WS Output |
[out] | lon_grid | WS Output |
[out] | t_field | WS Output |
[out] | z_field | WS Output |
[out] | vmr_field | WS Output |
[in] | abs_species | WS Input |
[in] | atm_fields_compact | WS Input |
[in] | atmosphere_dim | WS Input |
Definition at line 212 of file m_atmosphere.cc.
References chk_atm_grids(), GField::get_grid_size(), GField::get_numeric_grid(), GField::get_string_grid(), GFIELD4_FIELD_NAMES, GFIELD4_LAT_GRID, GFIELD4_LON_GRID, GFIELD4_P_GRID, joker, ns, Tensor4::resize(), Tensor3::resize(), and species_data.
Referenced by AtmFieldsFromCompact_g().
Definition at line 824 of file auto_md.cc.
References AtmFieldsFromCompact(), MRecord::In(), and MRecord::Out().
void AtmFieldsRefinePgrid | ( | Vector & | p_grid, | |
Tensor3 & | t_field, | |||
Tensor3 & | z_field, | |||
Tensor4 & | vmr_field, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Index & | atmosphere_dim, | |||
const Numeric & | p_step | |||
) |
WORKSPACE METHOD: AtmFieldsRefinePgrid.
Refine the pressure grid in the atmospheric fields.
This method is used for absorption lookup table testing. It probably has no other application.
It adds additional vertical grid points to the atmospheric fields, by interpolating them in the usual ARTS way (linear in log pressure).
How fine the new grid will be is determined by the keyword parameter p_step. The definition of p_step, and the interpolation behavior, is consistent with *abs_lookupSetup* and *abs_lookupSetupBatch*. (New points are added between the original ones, so that the spacing is always below p_step.)
Keywords: <br> p_step : Maximum step in log(p[Pa]) (natural logarithm, as always). If <br> the pressure grid is coarser than this, additional points <br> are added until each log step is smaller than this.
[out] | p_grid | WS Output |
[out] | t_field | WS Output |
[out] | z_field | WS Output |
[out] | vmr_field | WS Output |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_step | Generic Input |
Definition at line 685 of file m_atmosphere.cc.
References chk_atm_field(), chk_atm_grids(), gridpos(), interp(), interpweights(), joker, ConstTensor4View::nbooks(), Array< base >::nelem(), ConstVectorView::nelem(), and transform().
Referenced by AtmFieldsRefinePgrid_g().
Definition at line 787 of file auto_md.cc.
References AtmFieldsRefinePgrid(), MRecord::In(), and MRecord::Out().
WORKSPACE METHOD: AtmosphereSet1D.
Sets the atmospheric dimension to 1D.
Sets *atmosphere_dim* to 1 and gives some variables dummy values.
The latitude and longitude grids are set to be empty.
[out] | atmosphere_dim | WS Output |
[out] | lat_grid | WS Output |
[out] | lon_grid | WS Output |
Definition at line 313 of file m_atmosphere.cc.
References out2, out3, and Vector::resize().
Referenced by AtmosphereSet1D_g().
void AtmosphereSet2D | ( | Index & | atmosphere_dim, | |
Vector & | lon_grid, | |||
Numeric & | lat_1d, | |||
Numeric & | meridian_angle_1d | |||
) |
WORKSPACE METHOD: AtmosphereSet2D.
Sets the atmospheric dimension to be 2D.
Sets *atmosphere_dim* to 2 and gives some variables dummy values.
The longitude grid is set to be empty. The variables *lat_1d* and *meridian_angle_1d* are given values that cause an error message if used.
[out] | atmosphere_dim | WS Output |
[out] | lon_grid | WS Output |
[out] | lat_1d | WS Output |
[out] | meridian_angle_1d | WS Output |
Definition at line 331 of file m_atmosphere.cc.
References out2, out3, and Vector::resize().
Referenced by AtmosphereSet2D_g().
WORKSPACE METHOD: AtmosphereSet3D.
Sets the atmospheric dimension to 3D.
Sets *atmosphere_dim* to 3 and gives some variables dummy values.
The variables *lat_1d* and *meridian_angle_1d* are given values that cause an error message if used.
[out] | atmosphere_dim | WS Output |
[out] | lat_1d | WS Output |
[out] | meridian_angle_1d | WS Output |
Definition at line 351 of file m_atmosphere.cc.
Referenced by AtmosphereSet3D_g().
void AtmRawRead | ( | GField3 & | t_field_raw, | |
GField3 & | z_field_raw, | |||
ArrayOfGField3 & | vmr_field_raw, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const String & | basename | |||
) |
WORKSPACE METHOD: AtmRawRead.
Reads atmospheric data from a scenario.
An atmospheric scenario includes the following data for each position (pressure, latitude, longitude) in the atmosphere: <br> 1. temperature field <br> 2. the corresponding altitude field <br> 3. vmr fields for the gaseous species The data is stored in different files. This methods reads all files and creates the variables *t_field_raw*, *z_field_raw*
Different atmospheric scenarios are available in arts data: For example tropical and midlatitude-summer. 3D scenarios are not available yet.
Files in the scenarios look like this: tropical.H2O.xml
The basename must include the path, i.e., the files can be anywhere, but they must be all in the same directory. The profile is chosen by the species name. If you have more than one tag group for the same species, the same profile will be used.
Keywords: basename :The name and path of a particular atmospheric scenario. For example: /smiles_local/arts-data/atmosphere/fascod/tropical
[out] | t_field_raw | WS Output |
[out] | z_field_raw | WS Output |
[out] | vmr_field_raw | WS Output |
[in] | abs_species | WS Input |
[in] | basename | Generic Input |
Definition at line 838 of file m_atmosphere.cc.
References Array< base >::nelem(), out3, species_data, and xml_read_from_file().
Referenced by AtmRawRead_g().
Definition at line 859 of file auto_md.cc.
References AtmRawRead(), MRecord::In(), and MRecord::Out().
void batch_atm_fields_compactFromArrayOfMatrix | ( | ArrayOfGField4 & | batch_atm_fields_compact, | |
const Index & | atmosphere_dim, | |||
const ArrayOfMatrix & | gin1, | |||
const ArrayOfString & | field_names, | |||
const ArrayOfString & | extra_field_names, | |||
const Vector & | extra_field_values | |||
) |
WORKSPACE METHOD: batch_atm_fields_compactFromArrayOfMatrix.
Expand batch of 1D atmospheric states to a batch_atm_fields_compact.
This is used to handle 1D batch cases, for example from the Chevallier data set, stored in a matrix.
The matrix must contain one row for each pressure level. Row format:
p[Pa] T[K] z[m] VMR_1[1] ... VMR_N[1]
Keywords: <br> field_names : Field names to store in atm_fields_compact. <br> This should be, e.g.: <br> ["T", "z", "H2O", "O3"] <br> There must be one name less than matrix columns, <br> because the first column must contain pressure.
<br> extra_field_names : You can add additional constant VMR fields, <br> which is handy for O2 and N2. Give here the <br> field name, e.g., "O2". Default: Empty.
<br> extra_field_values : Give here the constant field value. Default: <br> Empty. Dimension must match extra_field_names.
[out] | batch_atm_fields_compact | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | gin1 | Generic Input |
[in] | field_names | Generic Input |
[in] | extra_field_names | Generic Input (Default: "[]") |
[in] | extra_field_values | Generic Input (Default: "[]") |
Definition at line 154 of file m_atmosphere.cc.
References atm_fields_compactAddConstant(), atm_fields_compactFromMatrix(), exit_or_rethrow(), ConstVectorView::nelem(), and Array< base >::nelem().
Referenced by batch_atm_fields_compactFromArrayOfMatrix_g().
Definition at line 814 of file auto_md.cc.
References batch_atm_fields_compactFromArrayOfMatrix(), MRecord::In(), and MRecord::Out().
void CloudboxGetIncoming | ( | Workspace & | ws, | |
Tensor7 & | scat_i_p, | |||
Tensor7 & | scat_i_lat, | |||
Tensor7 & | scat_i_lon, | |||
Index & | cloudbox_on, | |||
const Agenda & | ppath_step_agenda, | |||
const Agenda & | rte_agenda, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | iy_cloudbox_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid | |||
) |
WORKSPACE METHOD: CloudboxGetIncoming.
Calculates incoming radiation field of cloudbox by repeated radiative transfer calculations.
The method performs monochromatic pencil beam calculations for all grid positions on the cloudbox boundary, and all directions given by scattering angle grids (*scat_za/aa_grid*). Found radiances are stored in *scat_i_p/lat/lon* which can be used as boundary conditions when scattering inside the cloud box is solved by the DOIT method.
[in,out] | ws | Workspace |
[out] | scat_i_p | WS Output |
[out] | scat_i_lat | WS Output |
[out] | scat_i_lon | WS Output |
[out] | cloudbox_on | WS Output |
[in] | ppath_step_agenda | WS Input |
[in] | rte_agenda | WS Input |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | iy_cloudbox_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
Definition at line 1401 of file m_cloudbox.cc.
References iy_calc_no_jacobian(), joker, ConstVectorView::nelem(), and Tensor7::resize().
Referenced by CloudboxGetIncoming_g().
void CloudboxGetIncoming1DAtm | ( | Workspace & | ws, | |
Tensor7 & | scat_i_p, | |||
Tensor7 & | scat_i_lat, | |||
Tensor7 & | scat_i_lon, | |||
Index & | cloudbox_on, | |||
const Agenda & | ppath_step_agenda, | |||
const Agenda & | rte_agenda, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | iy_cloudbox_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid | |||
) |
WORKSPACE METHOD: CloudboxGetIncoming1DAtm.
As *CloudboxGetIncoming* but assumes clear sky part to be 1D. The incoming field is calculated only for one position and azimuth angle for each cloud box boundary, and obtained values are used for all other postions and azimuth angles. This works if a 3D cloud box is put into an 1D background atmosphere.
This method can only be used for 3D cases.
[in,out] | ws | Workspace |
[out] | scat_i_p | WS Output |
[out] | scat_i_lat | WS Output |
[out] | scat_i_lon | WS Output |
[out] | cloudbox_on | WS Output |
[in] | ppath_step_agenda | WS Input |
[in] | rte_agenda | WS Input |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | iy_cloudbox_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
Definition at line 1678 of file m_cloudbox.cc.
References iy_calc_no_jacobian(), joker, ConstVectorView::nelem(), and Tensor7::resize().
Referenced by CloudboxGetIncoming1DAtm_g().
Definition at line 896 of file auto_md.cc.
References CloudboxGetIncoming1DAtm(), MRecord::In(), and MRecord::Out().
Definition at line 868 of file auto_md.cc.
References CloudboxGetIncoming(), MRecord::In(), and MRecord::Out().
void cloudboxOff | ( | Index & | cloudbox_on, | |
ArrayOfIndex & | cloudbox_limits, | |||
Agenda & | iy_cloudbox_agenda | |||
) |
WORKSPACE METHOD: cloudboxOff.
Deactivates the cloud box.
The function sets *cloudbox_on* to 0, *cloudbox_limits* to be an empty vector and *iy_cloudbox_agenda* to an empty agenda.
[out] | cloudbox_on | WS Output |
[out] | cloudbox_limits | WS Output |
[out] | iy_cloudbox_agenda | WS Output |
Definition at line 73 of file m_cloudbox.cc.
References Agenda::set_name().
Referenced by cloudboxOff_g().
void cloudboxSetDisort | ( | Index & | cloudbox_on, | |
ArrayOfIndex & | cloudbox_limits, | |||
const Vector & | p_grid | |||
) |
WORKSPACE METHOD: cloudboxSetDisort.
For Disort calculation the cloudbox must be extended to cover the full atmosphere. This method sets *cloudbox_limits* accordingly.
[out] | cloudbox_on | WS Output |
[out] | cloudbox_limits | WS Output |
[in] | p_grid | WS Input |
Definition at line 59 of file m_disort.cc.
References ConstVectorView::nelem().
Referenced by cloudboxSetDisort_g().
Definition at line 931 of file auto_md.cc.
References cloudboxSetDisort(), MRecord::In(), and MRecord::Out().
void cloudboxSetEmpty | ( | Tensor4 & | pnd_field, | |
ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid | |||
) |
WORKSPACE METHOD: cloudboxSetEmpty.
Sets the cloudbox empty for clearsky DOIT calculations.
Scattering calculations using the DOIT method include interpolation errors. If one is interested in the cloud effect, should compare the DOIT result with a clearsky calculation using an empty cloudbox. That means that the iterative method is performed for a cloudbox including no particles. This method sets the particle number density field to zero and creates a dummy *scat_data_raw* structure. For a cleasky calculation, the methods *ParticleTypeAdd(All)* and *pnd_fieldCalc* can be replaced by this method.
[out] | pnd_field | WS Output |
[out] | scat_data_raw | WS Output |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
Definition at line 87 of file m_cloudbox.cc.
References ConstVectorView::nelem(), nlinspace(), PTYPE_MACROS_ISO, and Tensor4::resize().
Referenced by cloudboxSetEmpty_g().
Definition at line 938 of file auto_md.cc.
References cloudboxSetEmpty(), MRecord::In(), and MRecord::Out().
void cloudboxSetManually | ( | Index & | cloudbox_on, | |
ArrayOfIndex & | cloudbox_limits, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Numeric & | p1, | |||
const Numeric & | p2, | |||
const Numeric & | lat1, | |||
const Numeric & | lat2, | |||
const Numeric & | lon1, | |||
const Numeric & | lon2 | |||
) |
WORKSPACE METHOD: cloudboxSetManually.
Sets the cloud box to encompass the given positions.
The function sets *cloudbox_on* to 1 and sets *cloudbox_limits* following the given pressure, latitude and longitude positions. The index limits in *cloudbox_limits* are selected to give the smallest possible cloud box that encompass the given points.
The points must be given in the same order as used in cloudbox_limits*. That means that the first keyword argument shall be a higher pressure than argument two, while the latitude and longitude points are given in increasing order. Positions given for dimensions not used by the selected atmospheric dimensionality are ignored.
The given pressure points can be outside the range of *p_grid*. The pressure limit is then set to the end point of *p_grid*. The given latitude and longitude points must be inside the range of the corresponding grid. In addition, the latitude and longitude points cannot be inside the outermost grid ranges as the latitude and longitude limits in *cloudbox_limits* are not allowed to be grid end points.
Keywords: <br> p1 : Upper pressure point. <br> p2 : Lower pressure point. <br> lat1 : Lower latitude point. <br> lat2 : Upper latitude point. <br> lon1 : Lower longitude point. <br> lon2 : Upper longitude point.
[out] | cloudbox_on | WS Output |
[out] | cloudbox_limits | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | p1 | Generic Input |
[in] | p2 | Generic Input |
[in] | lat1 | Generic Input |
[in] | lat2 | Generic Input |
[in] | lon1 | Generic Input |
[in] | lon2 | Generic Input |
Definition at line 130 of file m_cloudbox.cc.
References chk_atm_grids(), chk_if_in_range(), and ConstVectorView::nelem().
Referenced by cloudboxSetManually_g(), and ybatchMetProfiles().
Definition at line 947 of file auto_md.cc.
References cloudboxSetManually(), MRecord::In(), and MRecord::Out().
void cloudboxSetManuallyAltitude | ( | Index & | cloudbox_on, | |
ArrayOfIndex & | cloudbox_limits, | |||
const Index & | atmosphere_dim, | |||
const Tensor3 & | z_field, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Numeric & | z1, | |||
const Numeric & | z2, | |||
const Numeric & | lat1, | |||
const Numeric & | lat2, | |||
const Numeric & | lon1, | |||
const Numeric & | lon2 | |||
) |
WORKSPACE METHOD: cloudboxSetManuallyAltitude.
Sets the cloud box to encompass the given positions.
The function sets *cloudbox_on* to 1 and sets *cloudbox_limits* following the given altitude, latitude and longitude positions. The index limits in *cloudbox_limits* are selected to give the smallest possible cloud box that encompass the given points.
The points must be given in the same order as used in cloudbox_limits*. That means that altitude, latitude and longitude points are given in increasing order. Positions given for dimensions not used by the selected atmospheric dimensionality are ignored.
The given altitude points can be outside the range of *z_field*. The altitude limit is then set to the end point of *p_grid*. The given latitude and longitude points must be inside the range of the corresponding grid. In addition, the latitude and longitude points cannot be inside the outermost grid ranges as the latitude and longitude limits in *cloudbox_limits* are not allowed to be grid end points.
Keywords: <br> z1 : Lower altitude point. <br> z2 : Upper altitude point. <br> lat1 : Lower latitude point. <br> lat2 : Upper latitude point. <br> lon1 : Lower longitude point. <br> lon2 : Upper longitude point.
[out] | cloudbox_on | WS Output |
[out] | cloudbox_limits | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | z_field | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z1 | Generic Input |
[in] | z2 | Generic Input |
[in] | lat1 | Generic Input |
[in] | lat2 | Generic Input |
[in] | lon1 | Generic Input |
[in] | lon2 | Generic Input |
Definition at line 236 of file m_cloudbox.cc.
References chk_if_in_range(), ConstVectorView::nelem(), and ConstTensor3View::npages().
Referenced by cloudboxSetManuallyAltitude_g().
Definition at line 963 of file auto_md.cc.
References cloudboxSetManuallyAltitude(), MRecord::In(), and MRecord::Out().
WORKSPACE METHOD: complex_nWaterLiebe93.
Complex refractive index of liquid water according to Liebe 1993.
The method treats liquid water without salt. Not valid below 10 GHz. Upper frequency limit not known and is here set to 1000 GHz. Model parameters taken from Atmlab function epswater93 (by C. Maetzler), which refer to Liebe 1993 without closer specifications.
Temperature must be between 0 and 100 degrees Celsius.
Global input: <br> t : Temperature [K].
[out] | complex_n | WS Output |
[in] | f_grid | WS Input |
[in] | t | Generic Input |
Definition at line 66 of file m_physics.cc.
References chk_if_in_range(), max, min, ConstVectorView::nelem(), out2, out3, Matrix::resize(), and TEMP_0_C.
Referenced by complex_nWaterLiebe93_g().
Definition at line 979 of file auto_md.cc.
References complex_nWaterLiebe93(), MRecord::In(), and MRecord::Out().
void Copy | ( | T & | gout1, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: Copy.
Copy a workspace variable.
This is a supergeneric method. It can copy any workspace variable to another workspace variable of the same group. (E.g., a Matrix to another Matrix.)
As allways, output comes first in the argument list!
Usage example:
Copy(f_grid,p_grid){}
Will copy the content of *p_grid* to *f_grid*. The size of *f_grid* is adjusted automatically (the normal behaviour for workspace methods).
Supergeneric output: <br> Any : The output variable.
Supergeneric input: <br> Any : The input variable.
[out] | gout1 | Supergeneric output |
[in] | gin1 | Generic Input |
Definition at line 40 of file m_copy.h.
Referenced by Copy_sg_Agenda_g(), Copy_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), Copy_sg_ArrayOfArrayOfGField1_g(), Copy_sg_ArrayOfArrayOfGField3_g(), Copy_sg_ArrayOfArrayOfIndex_g(), Copy_sg_ArrayOfArrayOfLineRecord_g(), Copy_sg_ArrayOfArrayOfMatrix_g(), Copy_sg_ArrayOfArrayOfSpeciesTag_g(), Copy_sg_ArrayOfArrayOfTensor3_g(), Copy_sg_ArrayOfArrayOfTensor6_g(), Copy_sg_ArrayOfGField1_g(), Copy_sg_ArrayOfGField2_g(), Copy_sg_ArrayOfGField3_g(), Copy_sg_ArrayOfGField4_g(), Copy_sg_ArrayOfIndex_g(), Copy_sg_ArrayOfLineRecord_g(), Copy_sg_ArrayOfLineshapeSpec_g(), Copy_sg_ArrayOfMatrix_g(), Copy_sg_ArrayOfPpath_g(), Copy_sg_ArrayOfRetrievalQuantity_g(), Copy_sg_ArrayOfSingleScatteringData_g(), Copy_sg_ArrayOfString_g(), Copy_sg_ArrayOfTensor3_g(), Copy_sg_ArrayOfTensor4_g(), Copy_sg_ArrayOfTensor6_g(), Copy_sg_ArrayOfTensor7_g(), Copy_sg_ArrayOfVector_g(), Copy_sg_GasAbsLookup_g(), Copy_sg_GField1_g(), Copy_sg_GField2_g(), Copy_sg_GField3_g(), Copy_sg_GField4_g(), Copy_sg_GridPos_g(), Copy_sg_Index_g(), Copy_sg_Matrix_g(), Copy_sg_MCAntenna_g(), Copy_sg_Numeric_g(), Copy_sg_Ppath_g(), Copy_sg_SingleScatteringData_g(), Copy_sg_SLIData2_g(), Copy_sg_Sparse_g(), Copy_sg_String_g(), Copy_sg_Tensor3_g(), Copy_sg_Tensor4_g(), Copy_sg_Tensor5_g(), Copy_sg_Tensor6_g(), Copy_sg_Tensor7_g(), Copy_sg_Timer_g(), and Copy_sg_Vector_g().
void Delete | ( | Workspace & | ws, | |
const T & | gin1, | |||
const String & | gin1_wsvname | |||
) | [inline] |
WORKSPACE METHOD: Delete.
Deletes a workspace variable.
Supergeneric input: <br> Any : The variable to delete.
[in,out] | ws | Workspace |
[in] | gin1 | Generic Input |
[in] | gin1_wsvname | Generic Input Name |
Definition at line 39 of file m_delete.h.
References Workspace::del(), and Workspace::WsvMap.
Referenced by Delete_sg_Agenda_g(), Delete_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), Delete_sg_ArrayOfArrayOfGField1_g(), Delete_sg_ArrayOfArrayOfGField3_g(), Delete_sg_ArrayOfArrayOfIndex_g(), Delete_sg_ArrayOfArrayOfLineRecord_g(), Delete_sg_ArrayOfArrayOfMatrix_g(), Delete_sg_ArrayOfArrayOfSpeciesTag_g(), Delete_sg_ArrayOfArrayOfTensor3_g(), Delete_sg_ArrayOfArrayOfTensor6_g(), Delete_sg_ArrayOfGField1_g(), Delete_sg_ArrayOfGField2_g(), Delete_sg_ArrayOfGField3_g(), Delete_sg_ArrayOfGField4_g(), Delete_sg_ArrayOfIndex_g(), Delete_sg_ArrayOfLineRecord_g(), Delete_sg_ArrayOfLineshapeSpec_g(), Delete_sg_ArrayOfMatrix_g(), Delete_sg_ArrayOfPpath_g(), Delete_sg_ArrayOfRetrievalQuantity_g(), Delete_sg_ArrayOfSingleScatteringData_g(), Delete_sg_ArrayOfString_g(), Delete_sg_ArrayOfTensor3_g(), Delete_sg_ArrayOfTensor4_g(), Delete_sg_ArrayOfTensor6_g(), Delete_sg_ArrayOfTensor7_g(), Delete_sg_ArrayOfVector_g(), Delete_sg_GasAbsLookup_g(), Delete_sg_GField1_g(), Delete_sg_GField2_g(), Delete_sg_GField3_g(), Delete_sg_GField4_g(), Delete_sg_GridPos_g(), Delete_sg_Index_g(), Delete_sg_Matrix_g(), Delete_sg_MCAntenna_g(), Delete_sg_Numeric_g(), Delete_sg_Ppath_g(), Delete_sg_SingleScatteringData_g(), Delete_sg_SLIData2_g(), Delete_sg_Sparse_g(), Delete_sg_String_g(), Delete_sg_Tensor3_g(), Delete_sg_Tensor4_g(), Delete_sg_Tensor5_g(), Delete_sg_Tensor6_g(), Delete_sg_Tensor7_g(), Delete_sg_Timer_g(), and Delete_sg_Vector_g().
Definition at line 1491 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1505 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1589 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1596 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1372 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1456 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1400 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1470 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1414 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1442 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1561 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1568 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1575 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1582 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1365 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1449 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1463 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1393 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1484 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1603 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1526 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1379 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1407 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1421 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1428 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1435 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1386 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1512 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1533 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1540 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1547 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1554 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1498 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1281 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1309 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1610 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1288 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1477 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1519 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1617 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1316 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1295 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1323 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1330 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1337 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1344 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1351 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1358 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
Definition at line 1302 of file auto_md.cc.
References Delete(), MRecord::In(), and Workspace::wsv_data.
void doit_conv_flagAbs | ( | Index & | doit_conv_flag, | |
Index & | doit_iteration_counter, | |||
const Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_i_field_old, | |||
const Vector & | epsilon | |||
) |
WORKSPACE METHOD: doit_conv_flagAbs.
Convergence test (maximum absolute difference).
The function calculates the absolute differences for two successive iteration fields. It picks out the maximum values for each Stokes component separately. The convergence test is fullfilled under the following conditions: |I(m+1) - I(m)| < epsilon_1 Intensity. |Q(m+1) - Q(m)| < epsilon_2 The other Stokes components. |U(m+1) - U(m)| < epsilon_3 |V(m+1) - V(m)| < epsilon_4 These conditions have to be valid for all positions in the cloudbox and for all directions.
The limits for convergence are set in the controlfile by setting the vector *epsilon* to appropriate values. The unit of *epsilon* is radiance [W / (m^2 Hz sr)].
This method can be used in *doit_convergence_test_agenda*.
[out] | doit_conv_flag | WS Output |
[out] | doit_iteration_counter | WS Output |
[in] | doit_i_field | WS Input |
[in] | doit_i_field_old | WS Input |
[in] | epsilon | Generic Input |
Definition at line 114 of file m_scatrte.cc.
References abs, is_size(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstVectorView::nelem(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), out1, and out2.
Referenced by doit_conv_flagAbs_g().
Definition at line 1680 of file auto_md.cc.
References doit_conv_flagAbs(), MRecord::In(), and MRecord::Out().
void doit_conv_flagAbsBT | ( | Index & | doit_conv_flag, | |
Index & | doit_iteration_counter, | |||
const Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_i_field_old, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Vector & | epsilon | |||
) |
WORKSPACE METHOD: doit_conv_flagAbsBT.
Convergence test (maximum absolute difference in Rayleigh Jeans BT)
The function calculates the absolute differences for two successive iteration fields. It picks out the maximum values for each Stokes component separately. The convergence test is fullfilled under the following conditions: |I(m+1) - I(m)| < epsilon_1 Intensity. |Q(m+1) - Q(m)| < epsilon_2 The other Stokes components. |U(m+1) - U(m)| < epsilon_3 |V(m+1) - V(m)| < epsilon_4 These conditions have to be valid for all positions in the cloudbox and for all directions.
The limits for convergence are set in the controlfile by setting the vector *epsilon* to appropriate values. The unit of *epsilon* is Rayleigh Jeans BT [K].
This method can be used in *doit_convergence_test_agenda*.
[out] | doit_conv_flag | WS Output |
[out] | doit_iteration_counter | WS Output |
[in] | doit_i_field | WS Input |
[in] | doit_i_field_old | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | epsilon | Generic Input |
Definition at line 222 of file m_scatrte.cc.
References abs, chk_if_increasing(), invrayjean(), is_size(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstVectorView::nelem(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), out1, and out2.
Referenced by doit_conv_flagAbsBT_g().
Definition at line 1700 of file auto_md.cc.
References doit_conv_flagAbsBT(), MRecord::In(), and MRecord::Out().
void doit_conv_flagLsq | ( | Index & | doit_conv_flag, | |
Index & | doit_iteration_counter, | |||
const Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_i_field_old, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Vector & | epsilon | |||
) |
WORKSPACE METHOD: doit_conv_flagLsq.
Convergence test (Least square).
This method performs a least square convergence test for two successive iteration fields.
The limits for convergence are set in the controlfile by setting the vector *epsilon* to appropriate values. The unit of *epsilon* is Rayleigh Jeans BT [K].
Warning: This method is not recommended because this kind of convergence test is not sufficiently strict, so that the DOIT result might be wrong.
[out] | doit_conv_flag | WS Output |
[out] | doit_iteration_counter | WS Output |
[in] | doit_i_field | WS Input |
[in] | doit_i_field_old | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | epsilon | Generic Input |
Definition at line 340 of file m_scatrte.cc.
References chk_if_increasing(), invrayjean(), is_size(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstVectorView::nelem(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), out1, and out2.
Referenced by doit_conv_flagLsq_g().
Definition at line 1689 of file auto_md.cc.
References doit_conv_flagLsq(), MRecord::In(), and MRecord::Out().
void doit_conv_test_agendaExecute | ( | Workspace & | ws, | |
Index & | doit_conv_flag, | |||
Index & | doit_iteration_counter, | |||
const Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_i_field_old, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7316 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by doit_i_fieldIterate().
void doit_i_fieldIterate | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
const Agenda & | doit_scat_field_agenda, | |||
const Agenda & | doit_rte_agenda, | |||
const Agenda & | doit_conv_test_agenda | |||
) |
WORKSPACE METHOD: doit_i_fieldIterate.
Iterative solution of the VRTE (DOIT method).
A solution for the RTE with scattering is found using the DOIT method:
1. Calculate scattering integral using *doit_scat_field_agenda*. 2. Calculate RT with fixed scattered field using <br> *doit_rte_agenda*. 3. Convergence test using *doit_conv_test_agenda*.
Note: The atmospheric dimensionality *atmosphere_dim* can be <br> either 1 or 3. To these dimensions the method adapts <br> automatically. 2D scattering calculations are not <br> supported.
[in,out] | ws | Workspace |
[out] | doit_i_field | WS Output |
[in] | doit_scat_field_agenda | WS Input |
[in] | doit_rte_agenda | WS Input |
[in] | doit_conv_test_agenda | WS Input |
Definition at line 463 of file m_scatrte.cc.
References chk_not_empty(), doit_conv_test_agendaExecute(), doit_rte_agendaExecute(), doit_scat_field_agendaExecute(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), and out2.
Referenced by doit_i_fieldIterate_g().
Definition at line 1731 of file auto_md.cc.
References doit_i_fieldIterate(), MRecord::In(), and MRecord::Out().
void doit_i_fieldSetClearsky | ( | Tensor6 & | doit_i_field, | |
const Tensor7 & | scat_i_p, | |||
const Tensor7 & | scat_i_lat, | |||
const Tensor7 & | scat_i_lon, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Index & | atmosphere_dim, | |||
const Index & | all_frequencies | |||
) |
WORKSPACE METHOD: doit_i_fieldSetClearsky.
Interpolate clearsky field on all gridpoints in cloudbox.
This method uses a linear 1D/3D interpolation scheme to obtain the radiation field on all grid points inside the cloud box from the clear sky field on the cloud box boundary. This radiation field is taken as the first guess radiation field in the DOIT module.
The inputs to this method are *scat_i_p*, *scat_i_lat* scat_i_lon*. The method picks the monochromatic radiation field out of these variables. The output of the method is the first guess field stored in the workspace variable *doit_i_field*.
Set keyword *all_frequencies* to 1 if for each frequency the clearsky field should be used as initial field. Set it to 0 if only for the first frequency in *f_grid* the clearsky field should be used and for the next frequencies *doit_i_field* of the previous frequency should be used. Default is 1.
[out] | doit_i_field | WS Output |
[in] | scat_i_p | WS Input |
[in] | scat_i_lat | WS Input |
[in] | scat_i_lon | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | all_frequencies | Generic Input (Default: "1") |
Definition at line 340 of file m_cloudbox.cc.
References gridpos(), interp(), interpweights(), joker, ConstTensor7View::nbooks(), ConstTensor7View::ncols(), ConstVectorView::nelem(), ConstTensor7View::nlibraries(), ConstTensor7View::npages(), ConstTensor7View::nrows(), ConstTensor7View::nshelves(), ConstTensor6View::nvitrines(), ConstTensor7View::nvitrines(), out2, p2gridpos(), and Tensor6::resize().
Referenced by doit_i_fieldSetClearsky_g().
Definition at line 1740 of file auto_md.cc.
References doit_i_fieldSetClearsky(), MRecord::In(), and MRecord::Out().
void doit_i_fieldSetConst | ( | Tensor6 & | doit_i_field, | |
const Tensor7 & | scat_i_p, | |||
const Tensor7 & | scat_i_lat, | |||
const Tensor7 & | scat_i_lon, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Index & | atmosphere_dim, | |||
const Index & | stokes_dim, | |||
const Vector & | value | |||
) |
WORKSPACE METHOD: doit_i_fieldSetConst.
This method sets the initial field inside the cloudbox to a constant value. The method works only for monochromatic calculations (number of elements in f_grid=1).
The user can specify a value for each Stokes dimension in the control file by the variable doit_i_field_value, which is a vector containing 4 elements, the value of the initial field for each Stokes dimension.
Output of the method is the first guess field stored in the workspace variable *doit_i_field*.
[out] | doit_i_field | WS Output |
[in] | scat_i_p | WS Input |
[in] | scat_i_lat | WS Input |
[in] | scat_i_lon | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | stokes_dim | WS Input |
[in] | value | Generic Input |
Definition at line 696 of file m_cloudbox.cc.
References chk_atm_grids(), chk_if_in_range(), is_size(), ConstTensor7View::npages(), ConstTensor7View::nrows(), out2, out3, and Tensor6::resize().
Referenced by doit_i_fieldSetConst_g().
Definition at line 1756 of file auto_md.cc.
References doit_i_fieldSetConst(), MRecord::In(), and MRecord::Out().
void doit_i_fieldUpdate1D | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_i_field_old, | |||
const Tensor6 & | doit_scat_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Tensor4 & | vmr_field, | |||
const Agenda & | spt_calc_agenda, | |||
const Vector & | scat_za_grid, | |||
const Tensor4 & | pnd_field, | |||
const Agenda & | opt_prop_part_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | ppath_step_agenda, | |||
const Vector & | p_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Tensor3 & | t_field, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Agenda & | surface_prop_agenda, | |||
const Index & | doit_za_interp | |||
) |
WORKSPACE METHOD: doit_i_fieldUpdate1D.
RT calculation in cloudbox with fixed scattering integral (1D).
Update the radiation field (DOIT method). The method loops through the cloudbox to update the radiation field for all positions and directions in the 1D cloudbox.
Note: This method is very inefficient, because the number of iterations scales with the number of cloudbox pressure levels. It is recommended to use *doit_i_fieldUpdateSeq1D*.
[in,out] | ws | Workspace |
[out] | doit_i_field | WS Output |
[in] | doit_i_field_old | WS Input |
[in] | doit_scat_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | vmr_field | WS Input |
[in] | spt_calc_agenda | WS Input |
[in] | scat_za_grid | WS Input |
[in] | pnd_field | WS Input |
[in] | opt_prop_part_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | t_field | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | doit_za_interp | WS Input |
Definition at line 528 of file m_scatrte.cc.
References chk_atm_surface(), chk_if_decreasing(), chk_if_increasing(), chk_not_empty(), chk_size(), cloud_fieldsCalc(), cloud_ppath_update1D_noseq(), is_size(), ConstTensor6View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), out2, and out3.
Referenced by doit_i_fieldUpdate1D_g().
Definition at line 1771 of file auto_md.cc.
References doit_i_fieldUpdate1D(), MRecord::In(), and MRecord::Out().
void doit_i_fieldUpdateSeq1D | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_scat_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Tensor4 & | vmr_field, | |||
const Agenda & | spt_calc_agenda, | |||
const Vector & | scat_za_grid, | |||
const Tensor4 & | pnd_field, | |||
const Agenda & | opt_prop_part_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | ppath_step_agenda, | |||
const Vector & | p_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Tensor3 & | t_field, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Agenda & | surface_prop_agenda, | |||
const Index & | doit_za_interp | |||
) |
WORKSPACE METHOD: doit_i_fieldUpdateSeq1D.
RT calculation in cloudbox with fixed scattering integral.
Update radiation field (*doit_i_field*) in DOIT module. This method loops through the cloudbox to update the radiation field for all positions and directions in the 1D cloudbox. The method applies the sequential update. For more information refer to AUG.
Note: This is the commonly used WSM for the radiation field update (can be used in *doit_rte_agenda*). It is recommended because it is the most efficient and accurate method.
[in,out] | ws | Workspace |
[out] | doit_i_field | WS Output |
[in] | doit_scat_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | vmr_field | WS Input |
[in] | spt_calc_agenda | WS Input |
[in] | scat_za_grid | WS Input |
[in] | pnd_field | WS Input |
[in] | opt_prop_part_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | t_field | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | doit_za_interp | WS Input |
Definition at line 694 of file m_scatrte.cc.
References chk_atm_surface(), chk_if_decreasing(), chk_if_increasing(), chk_not_empty(), chk_size(), cloud_fieldsCalc(), cloud_ppath_update1D(), is_size(), ConstTensor6View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), out2, out3, and RAD2DEG.
Referenced by doit_i_fieldUpdateSeq1D_g().
Definition at line 1797 of file auto_md.cc.
References doit_i_fieldUpdateSeq1D(), MRecord::In(), and MRecord::Out().
void doit_i_fieldUpdateSeq1DPP | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
Index & | scat_za_index, | |||
const Tensor6 & | doit_scat_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Tensor4 & | vmr_field, | |||
const Agenda & | spt_calc_agenda, | |||
const Vector & | scat_za_grid, | |||
const Tensor4 & | pnd_field, | |||
const Agenda & | opt_prop_part_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | ppath_step_agenda, | |||
const Vector & | p_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Tensor3 & | t_field, | |||
const Vector & | f_grid, | |||
const Index & | f_index | |||
) |
WORKSPACE METHOD: doit_i_fieldUpdateSeq1DPP.
RT calculation in cloudbox with fixed scattering integral.
<br> Update radiation field (*doit_i_field*) in DOIT module. This method loops through the cloudbox to update the radiation field for all positions and directions in the 1D cloudbox. The method applies the sequential update and the plane parallel approximation. This method is only slightly faster than doit_i_fieldUpdateSeq1D* and it is less accurate. It can not be used for limb simulations.
[in,out] | ws | Workspace |
[out] | doit_i_field | WS Output |
[out] | scat_za_index | WS Output |
[in] | doit_scat_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | vmr_field | WS Input |
[in] | spt_calc_agenda | WS Input |
[in] | scat_za_grid | WS Input |
[in] | pnd_field | WS Input |
[in] | opt_prop_part_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | t_field | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
Definition at line 1226 of file m_scatrte.cc.
References cloud_fieldsCalc(), cloud_ppath_update1D_planeparallel(), is_size(), ConstTensor6View::ncols(), ConstVectorView::nelem(), out2, and out3.
Referenced by doit_i_fieldUpdateSeq1DPP_g().
Definition at line 1822 of file auto_md.cc.
References doit_i_fieldUpdateSeq1DPP(), MRecord::In(), and MRecord::Out().
void doit_i_fieldUpdateSeq3D | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_scat_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Tensor4 & | vmr_field, | |||
const Agenda & | spt_calc_agenda, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Tensor4 & | pnd_field, | |||
const Agenda & | opt_prop_part_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | ppath_step_agenda, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Tensor3 & | t_field, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Index & | doit_za_interp | |||
) |
WORKSPACE METHOD: doit_i_fieldUpdateSeq3D.
RT calculation in cloudbox with fixed scattering integral.
Update radiation field (*doit_i_field*) in DOIT module. This method loops through the cloudbox to update the radiation field for all positions and directions in the 3D cloudbox. The method applies the sequential update. For more information please refer to AUG. Surface reflections are not yet implemented in 3D scattering calculations.
Note: DOIT calculations in 3D are computationally expensive. For large 3D cloud fields it is recommended to use the Monte Carlo module or an independent pixel approach applying DOIT-1D.
[in,out] | ws | Workspace |
[out] | doit_i_field | WS Output |
[in] | doit_scat_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | vmr_field | WS Input |
[in] | spt_calc_agenda | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | pnd_field | WS Input |
[in] | opt_prop_part_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | t_field | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | doit_za_interp | WS Input |
Definition at line 927 of file m_scatrte.cc.
References chk_atm_grids(), chk_atm_surface(), chk_if_increasing(), chk_not_empty(), chk_size(), cloud_fieldsCalc(), cloud_ppath_update3D(), is_size(), joker, ConstTensor6View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), out2, out3, and RAD2DEG.
Referenced by doit_i_fieldUpdateSeq3D_g().
Definition at line 1845 of file auto_md.cc.
References doit_i_fieldUpdateSeq3D(), MRecord::In(), and MRecord::Out().
void doit_mono_agendaExecute | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
Tensor7 & | scat_i_p, | |||
Tensor7 & | scat_i_lat, | |||
Tensor7 & | scat_i_lon, | |||
Tensor4 & | doit_i_field1D_spectrum, | |||
const Index | f_index, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7444 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by ScatteringDoit().
void doit_rte_agendaExecute | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
const Tensor6 & | doit_scat_field, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7517 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by doit_i_fieldIterate().
void doit_scat_field_agendaExecute | ( | Workspace & | ws, | |
Tensor6 & | doit_scat_field, | |||
const Tensor6 & | doit_i_field, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7383 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by doit_i_fieldIterate().
void doit_scat_fieldCalc | ( | Workspace & | ws, | |
Tensor6 & | doit_scat_field, | |||
const Agenda & | pha_mat_spt_agenda, | |||
const Tensor6 & | doit_i_field, | |||
const Tensor4 & | pnd_field, | |||
const Tensor3 & | t_field, | |||
const Index & | atmosphere_dim, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | doit_za_grid_size | |||
) |
WORKSPACE METHOD: doit_scat_fieldCalc.
This method calculates the scattering integral field in the DOIT module.
The scattering integral field is generated by integrating the product of phase matrix and Stokes vector over all incident angles. For more information please refer to AUG.
The output of this method is *doit_scat_field* which is used in the radiative transfer part (*doit_i_fieldUpdateXXX*).
[in,out] | ws | Workspace |
[out] | doit_scat_field | WS Output |
[in] | pha_mat_spt_agenda | WS Input |
[in] | doit_i_field | WS Input |
[in] | pnd_field | WS Input |
[in] | t_field | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | doit_za_grid_size | WS Input |
Definition at line 1564 of file m_scatrte.cc.
References AngIntegrate_trapezoid_opti(), chk_not_empty(), is_size(), joker, ConstTensor4View::nbooks(), ConstTensor6View::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), out2, out3, pha_mat_spt_agendaExecute(), and pha_matCalc().
Referenced by doit_scat_fieldCalc_g().
Definition at line 1872 of file auto_md.cc.
References doit_scat_fieldCalc(), MRecord::In(), and MRecord::Out().
void doit_scat_fieldCalcLimb | ( | Workspace & | ws, | |
Tensor6 & | doit_scat_field, | |||
const Agenda & | pha_mat_spt_agenda, | |||
const Tensor6 & | doit_i_field, | |||
const Tensor4 & | pnd_field, | |||
const Tensor3 & | t_field, | |||
const Index & | atmosphere_dim, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | doit_za_grid_size, | |||
const Index & | doit_za_interp | |||
) |
WORKSPACE METHOD: doit_scat_fieldCalcLimb.
This method calculates the scattering integral field in the DOIT module (Limb).
The scattering integral field is the field generated by integrating the product of phase matrix and the Stokes vector over all incident angles.
The output of this method is the scattering integral field *doit_scat_field* which is used in the radiative transfer part (*doit_i_fieldUpdateXXX*). For limb simulations it makes sense to use different zenith angle grids for the scattering integral part and the RT part, because the latter part requires a much finer resolution about 90°. Taking an optimized grid for the RT part and an equidistant grid for the scattering integral part saves very much CPU time. This method uses the equidistant za_grid defined in doit_angular_gridsSet* and it should always be used for limb simulations.
For more information please refer to AUG.
[in,out] | ws | Workspace |
[out] | doit_scat_field | WS Output |
[in] | pha_mat_spt_agenda | WS Input |
[in] | doit_i_field | WS Input |
[in] | pnd_field | WS Input |
[in] | t_field | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | doit_za_grid_size | WS Input |
[in] | doit_za_interp | WS Input |
Definition at line 1860 of file m_scatrte.cc.
References AngIntegrate_trapezoid_opti(), chk_not_empty(), gridpos(), interp(), interp_poly(), interpweights(), is_size(), joker, ConstTensor4View::nbooks(), ConstTensor6View::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), nlinspace(), out1, out2, out3, pha_mat_spt_agendaExecute(), and pha_matCalc().
Referenced by doit_scat_fieldCalcLimb_g().
Definition at line 1887 of file auto_md.cc.
References doit_scat_fieldCalcLimb(), MRecord::In(), and MRecord::Out().
void doit_za_grid_optCalc | ( | Vector & | doit_za_grid_opt, | |
const Tensor6 & | doit_i_field, | |||
const Vector & | scat_za_grid, | |||
const Index & | doit_za_interp, | |||
const Numeric & | acc | |||
) |
WORKSPACE METHOD: doit_za_grid_optCalc.
Zenith angle grid optimization for scattering calculation.
This method optimizes the zenith angle grid. As input it requires a radiation field (*doit_i_field*) which is calculated on a very fine zenith angle grid (*scat_za_grid*). Based on this field zenith angle grid points are selected, such that the maximum difference between the radiation field represented on the very fine zenith angle grid and the radiation field represented on the optimized grid (*doit_za_grid_opt*) is less than the accuracy (*acc*) provided as a keyword. The accuracy must be given in %. Between the grid points theradiation field is interpolated linearly or polynomially depending on *doit_za_interp*.
Note: The method works only for a 1D atmosphere and for one frequency.
[out] | doit_za_grid_opt | WS Output |
[in] | doit_i_field | WS Input |
[in] | scat_za_grid | WS Input |
[in] | doit_za_interp | WS Input |
[in] | acc | Generic Input |
Definition at line 2249 of file m_scatrte.cc.
References chk_size(), ConstTensor6View::ncols(), ConstVectorView::nelem(), ConstTensor6View::nvitrines(), and za_gridOpt().
Referenced by doit_za_grid_optCalc_g().
Definition at line 1923 of file auto_md.cc.
References doit_za_grid_optCalc(), MRecord::In(), and MRecord::Out().
void doit_za_interpSet | ( | Index & | doit_za_interp, | |
const Index & | atmosphere_dim, | |||
const String & | interp_method | |||
) |
WORKSPACE METHOD: doit_za_interpSet.
Define interpolation method for zenith angle dimension.
You can use this method to choose the interpolation method for interpolations in the zenith angle dimension. By default, linear interpolation is used.
Keyword: <br> interp_method - 'linear' or 'polynomial'
[out] | doit_za_interp | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | interp_method | Generic Input |
Definition at line 2297 of file m_scatrte.cc.
References chk_if_in_range().
Referenced by doit_za_interpSet_g().
Definition at line 1932 of file auto_md.cc.
References doit_za_interpSet(), MRecord::In(), and MRecord::Out().
void DoitAngularGridsSet | ( | Index & | doit_za_grid_size, | |
Vector & | scat_aa_grid, | |||
Vector & | scat_za_grid, | |||
const Index & | N_za_grid, | |||
const Index & | N_aa_grid, | |||
const String & | za_grid_opt_file | |||
) |
WORKSPACE METHOD: DoitAngularGridsSet.
Set angular grids for DOIT calculation. In this method the angular grids for a DOIT calculation are specified. For down-looking geometries it is sufficient to define
N_za_grid: number of grid points in zenith angle grid <br> recommended value: 19 N_aa_grid: number of grid points in zenith angle grid <br> recommended value: 37
From these numbers equally spaced grids are created and stored in the WSVs *scat_za_grid* and *scat_aa_grid*.
For limb simulations it is important to use an optimized zenith angle grid with a very fine resolution about 90° for the RT calculations. Such a grid can be generated using *doit_za_grid_optCalc*. The filename of the optimized zenith angle grid can be given as a keyword. If a filename is given, the equidistant grid is taken for the calculation of the scattering integrals and the optimized grid is taken for the radiative transfer part. Otherwise, if no filename is specified ( za_grid_opt_file = "" ) the equidistant grid is taken for the calculation of the scattering integrals and for the RT calculations. This option makes sense for down-looking cases to speed up the calculation.
[out] | doit_za_grid_size | WS Output |
[out] | scat_aa_grid | WS Output |
[out] | scat_za_grid | WS Output |
[in] | N_za_grid | Generic Input |
[in] | N_aa_grid | Generic Input |
[in] | za_grid_opt_file | Generic Input |
Definition at line 71 of file m_scatrte.cc.
References nlinspace(), out1, and xml_read_from_file().
Referenced by DoitAngularGridsSet_g().
Definition at line 1649 of file auto_md.cc.
References DoitAngularGridsSet(), MRecord::In(), and MRecord::Out().
void DoitCloudboxFieldPut | ( | Tensor7 & | scat_i_p, | |
Tensor7 & | scat_i_lat, | |||
Tensor7 & | scat_i_lon, | |||
Tensor4 & | doit_i_field1D_spectrum, | |||
const Tensor6 & | doit_i_field, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | stokes_dim, | |||
const Index & | atmosphere_dim, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Matrix & | sensor_pos, | |||
const Tensor3 & | z_field | |||
) |
WORKSPACE METHOD: DoitCloudboxFieldPut.
Method for the communication between cloudbox and clearsky.
This method puts the scattered radiation field into the interface variables between the cloudbox and the clearsky, which are scat_i_p*, *scat_i_lat* and *scat_i_lon*.
The best way to calculate spectra including the influence of scattering is to set up the *scat_mono_agenda* where this method can be included.
[out] | scat_i_p | WS Output |
[out] | scat_i_lat | WS Output |
[out] | scat_i_lon | WS Output |
[out] | doit_i_field1D_spectrum | WS Output |
[in] | doit_i_field | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | sensor_pos | WS Input |
[in] | z_field | WS Input |
Definition at line 1202 of file m_cloudbox.cc.
References chk_atm_grids(), chk_if_in_range(), is_size(), joker, ConstMatrixView::ncols(), ConstVectorView::nelem(), out2, Tensor7::resize(), and Tensor4::resize().
Referenced by DoitCloudboxFieldPut_g().
Definition at line 1659 of file auto_md.cc.
References DoitCloudboxFieldPut(), MRecord::In(), and MRecord::Out().
void DoitInit | ( | Index & | scat_p_index, | |
Index & | scat_lat_index, | |||
Index & | scat_lon_index, | |||
Index & | scat_za_index, | |||
Index & | scat_aa_index, | |||
Tensor6 & | doit_scat_field, | |||
Tensor6 & | doit_i_field, | |||
Index & | doit_za_interp, | |||
Index & | doit_is_initialized, | |||
const Index & | stokes_dim, | |||
const Index & | atmosphere_dim, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | doit_za_grid_size, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const ArrayOfSingleScatteringData & | scat_data_raw | |||
) |
WORKSPACE METHOD: DoitInit.
Initialize variables for DOIT scattering calculations.
Before using the WSM *ScatteringDOIT*, please use this method to initialize the required WSVs.
[out] | scat_p_index | WS Output |
[out] | scat_lat_index | WS Output |
[out] | scat_lon_index | WS Output |
[out] | scat_za_index | WS Output |
[out] | scat_aa_index | WS Output |
[out] | doit_scat_field | WS Output |
[out] | doit_i_field | WS Output |
[out] | doit_za_interp | WS Output |
[out] | doit_is_initialized | WS Output |
[in] | stokes_dim | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | doit_za_grid_size | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | scat_data_raw | WS Input |
Definition at line 1395 of file m_scatrte.cc.
References chk_if_in_range(), Array< base >::nelem(), ConstVectorView::nelem(), out1, and Tensor6::resize().
Referenced by DoitInit_g().
Definition at line 1711 of file auto_md.cc.
References DoitInit(), MRecord::In(), and MRecord::Out().
void DoitScatteringDataPrepare | ( | ArrayOfTensor7 & | pha_mat_sptDOITOpt, | |
ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Index & | doit_za_grid_size, | |||
const Vector & | scat_aa_grid, | |||
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Index & | atmosphere_dim, | |||
const Index & | stokes_dim | |||
) |
WORKSPACE METHOD: DoitScatteringDataPrepare.
Prepare single scattering data for a DOIT scattering calculation.
This function can be used for scattering calculations using the DOIT method.
First the scattering data is interpolated on the frequency using scat_data_monoCalc*. Then the phase matrix data is transformed or interpolated from the raw data to the laboratory frame for all possible combinations of the angles contained in the angular grids which are set in *doit_angulat_gridsSet*.The resultung phase matrices are stored in *pha_mat_sptDOITOpt*, which is used in the method pha_mat_sptFromDataDOITOpt*.
[out] | pha_mat_sptDOITOpt | WS Output |
[out] | scat_data_mono | WS Output |
[in] | doit_za_grid_size | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | scat_data_raw | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | stokes_dim | WS Input |
Definition at line 925 of file m_optproperties.cc.
References joker, ConstVectorView::nelem(), Array< base >::nelem(), nlinspace(), pha_matTransform(), and scat_data_monoCalc().
Referenced by DoitScatteringDataPrepare_g().
Definition at line 1903 of file auto_md.cc.
References DoitScatteringDataPrepare(), MRecord::In(), and MRecord::Out().
void DoitWriteIterationFields | ( | const Index & | doit_iteration_counter, | |
const Tensor6 & | doit_i_field, | |||
const ArrayOfIndex & | iterations | |||
) |
WORKSPACE METHOD: DoitWriteIterationFields.
Write DOIT iteration fields.
This method writes intermediate iteration fields to xml-files which is useful to check the DOIT method. It can be interesting to look how the radiation fields (*doit_i_field*) behave. The method can be used as a part of convergence_test_agenda*.
The keyword 'iterations' includes the numbers of the iterations which should be stored, e.g., <br> 'iterations = [3, 6, 9]'. In this case the 3rd, 6th and 9th iterations are stored in the files 'doit_iteration_3.xml', 'doit_iteration_6.xml' ... <br> If a number is larger than the total number of iterations, this number is ignored.
If all iterations should be stored please set the keyword <br> 'iterations = [0]'.
[in] | doit_iteration_counter | WS Input |
[in] | doit_i_field | WS Input |
[in] | iterations | Generic Input |
Definition at line 1527 of file m_scatrte.cc.
References Array< base >::nelem(), and xml_write_to_file().
Referenced by DoitWriteIterationFields_g().
Definition at line 1916 of file auto_md.cc.
References DoitWriteIterationFields(), and MRecord::In().
void DoNothing | ( | T & | gout1, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: DoNothing.
As *Ignore* but for agenda output.
This method is handy for use in agendas in order to suppress warnings about unused output workspace variables. What it does is: Nothing!
To ensure that the variable is already set, the variable must be given is both global input and output. An example: <br> DoNothing(emission,emission){} Input and output MUST be identical.
Supergeneric output: <br> Any : The input variable.
[out] | gout1 | Supergeneric output |
[in] | gin1 | Generic Input |
Referenced by DoNothing_sg_Agenda_g(), DoNothing_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), DoNothing_sg_ArrayOfArrayOfGField1_g(), DoNothing_sg_ArrayOfArrayOfGField3_g(), DoNothing_sg_ArrayOfArrayOfIndex_g(), DoNothing_sg_ArrayOfArrayOfLineRecord_g(), DoNothing_sg_ArrayOfArrayOfMatrix_g(), DoNothing_sg_ArrayOfArrayOfSpeciesTag_g(), DoNothing_sg_ArrayOfArrayOfTensor3_g(), DoNothing_sg_ArrayOfArrayOfTensor6_g(), DoNothing_sg_ArrayOfGField1_g(), DoNothing_sg_ArrayOfGField2_g(), DoNothing_sg_ArrayOfGField3_g(), DoNothing_sg_ArrayOfGField4_g(), DoNothing_sg_ArrayOfIndex_g(), DoNothing_sg_ArrayOfLineRecord_g(), DoNothing_sg_ArrayOfLineshapeSpec_g(), DoNothing_sg_ArrayOfMatrix_g(), DoNothing_sg_ArrayOfPpath_g(), DoNothing_sg_ArrayOfRetrievalQuantity_g(), DoNothing_sg_ArrayOfSingleScatteringData_g(), DoNothing_sg_ArrayOfString_g(), DoNothing_sg_ArrayOfTensor3_g(), DoNothing_sg_ArrayOfTensor4_g(), DoNothing_sg_ArrayOfTensor6_g(), DoNothing_sg_ArrayOfTensor7_g(), DoNothing_sg_ArrayOfVector_g(), DoNothing_sg_GasAbsLookup_g(), DoNothing_sg_GField1_g(), DoNothing_sg_GField2_g(), DoNothing_sg_GField3_g(), DoNothing_sg_GField4_g(), DoNothing_sg_GridPos_g(), DoNothing_sg_Index_g(), DoNothing_sg_Matrix_g(), DoNothing_sg_MCAntenna_g(), DoNothing_sg_Numeric_g(), DoNothing_sg_Ppath_g(), DoNothing_sg_SingleScatteringData_g(), DoNothing_sg_SLIData2_g(), DoNothing_sg_Sparse_g(), DoNothing_sg_String_g(), DoNothing_sg_Tensor3_g(), DoNothing_sg_Tensor4_g(), DoNothing_sg_Tensor5_g(), DoNothing_sg_Tensor6_g(), DoNothing_sg_Tensor7_g(), DoNothing_sg_Timer_g(), and DoNothing_sg_Vector_g().
Definition at line 2119 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2132 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2204 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2210 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2017 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2089 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2041 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2101 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2053 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2077 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2180 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2186 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2192 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2198 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2011 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2083 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2095 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2035 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2113 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2216 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2150 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2023 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2047 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2059 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2065 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2071 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2029 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2138 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2156 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2162 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2168 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2174 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2126 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1939 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1963 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2222 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1945 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2107 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2144 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2228 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1969 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1951 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1975 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1981 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1987 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1993 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1999 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 2005 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
Definition at line 1957 of file auto_md.cc.
References DoNothing(), MRecord::In(), and MRecord::Out().
void emission_agendaExecute | ( | Workspace & | ws, | |
Vector & | emission, | |||
const Numeric | rte_temperature, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7578 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by rte_std().
WORKSPACE METHOD: emissionPlanck.
Emission source term for LTE.
Sets *emission* for cases when emission is considered and local thermodynamic equilibrium is valid.
[out] | emission | WS Output |
[in] | f_grid | WS Input |
[in] | rte_temperature | WS Input |
Definition at line 107 of file m_physics.cc.
References ConstVectorView::nelem(), planck(), and Vector::resize().
Referenced by emissionPlanck_g().
Definition at line 2234 of file auto_md.cc.
References emissionPlanck(), MRecord::In(), and MRecord::Out().
void Error | ( | const String & | msg | ) |
WORKSPACE METHOD: Error.
Issues an error and exits ARTS.
This method can be placed in agendas that must be specified , but are expected not to be used for the particular case. An inclusion in *surface_prop_agenda* could look like: <br> Error{"Surface interceptions of propagation path not expected."} (ignore and other dummy method calls must still be included)
Keywords: <br> msg : String describing the error.
[in] | msg | Generic Input |
Definition at line 318 of file m_general.cc.
References arts_exit(), and out0.
Referenced by Error_g().
void Exit | ( | ) |
WORKSPACE METHOD: Exit.
Stops the execution and exits ARTS.
This method is handy if you want to debug one of your control files. You can insert it anywhere in the control file. When it is reached, it will terminate the program.
Definition at line 327 of file m_general.cc.
References arts_exit(), and out1.
Referenced by Exit_g().
WORKSPACE METHOD: ext_matAddGas.
Add gas absorption to all diagonal elements of extinction matrix. <br> The task of this method is to sum up the gas absorption of the different gas species and add the result to the extinction matrix.
[out] | ext_mat | WS Output |
[in] | abs_scalar_gas | WS Input |
Definition at line 671 of file m_optproperties.cc.
References joker, ConstTensor3View::ncols(), ConstTensor3View::npages(), ConstMatrixView::nrows(), and ConstTensor3View::nrows().
Referenced by ext_matAddGas_g().
Definition at line 2314 of file auto_md.cc.
References ext_matAddGas(), MRecord::In(), and MRecord::Out().
void ext_matAddPart | ( | Tensor3 & | ext_mat, | |
const Tensor3 & | ext_mat_spt, | |||
const Tensor4 & | pnd_field, | |||
const Index & | atmosphere_dim, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: ext_matAddPart.
The particle extinction is added to *ext_mat*
This function sums up the extinction matrices for all particle types weighted with particle number density. The resulting extinction matrix is added to the workspace variable *ext_mat* The output of this method is *ext_mat* (stokes_dim, stokes_dim). The inputs are the extinction matrix for the single particle type ext_mat_spt* (part_types, stokes_dim, stokes_dim) and the local particle number densities for all particle types namely the pnd_field* (part_types, p_grid, lat_grid, lon_grid ) for given p_grid*, *lat_grid*, and *lon_grid*. The particle types required are specified in the control file.
[out] | ext_mat | WS Output |
[in] | ext_mat_spt | WS Input |
[in] | pnd_field | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 507 of file m_optproperties.cc.
References joker, ConstTensor3View::ncols(), ConstTensor3View::npages(), and ConstTensor3View::nrows().
Referenced by ext_matAddPart_g().
Definition at line 2320 of file auto_md.cc.
References ext_matAddPart(), MRecord::In(), and MRecord::Out().
void ext_matInit | ( | Tensor3 & | ext_mat, | |
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | f_index | |||
) |
WORKSPACE METHOD: ext_matInit.
Initialize extinction matrix.
This method is necessary, because all other extinction methods just add to the existing extinction matrix.
So, here we have to make it the right size and fill it with 0.
Note, that the matrix is not really a matrix, because it has a leading frequency dimension.
[out] | ext_mat | WS Output |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | f_index | WS Input |
Definition at line 646 of file m_optproperties.cc.
References ConstVectorView::nelem(), out2, and Tensor3::resize().
Referenced by ext_matInit_g().
Definition at line 2331 of file auto_md.cc.
References ext_matInit(), MRecord::In(), and MRecord::Out().
void Extract | ( | T & | needle, | |
const T & | haystack, | |||
const Index & | index | |||
) | [inline] |
WORKSPACE METHOD: Extract.
Extract an element from an array.
Copies the element with the given Index from the input variable to the output variable.
For a Tensor3 as an input, it copies the page with the given Index from the input Tensor3 variable to the output Matrix.
In other words, the selection is always done on the first dimension.
[out] | needle | Supergeneric output |
[in] | haystack | Generic Input |
[in] | index | Generic Input |
Referenced by Extract_sg_ArrayOfGField3ArrayOfArrayOfGField3_g(), Extract_sg_ArrayOfIndexArrayOfArrayOfIndex_g(), Extract_sg_GField4ArrayOfGField4_g(), Extract_sg_MatrixArrayOfMatrix_g(), Extract_sg_MatrixTensor3_g(), Extract_sg_NumericVector_g(), Extract_sg_Tensor3Tensor4_g(), Extract_sg_Tensor4ArrayOfTensor4_g(), and Extract_sg_Tensor4Tensor5_g().
Definition at line 2300 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2251 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2307 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2265 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2272 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2258 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2279 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2286 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
Definition at line 2293 of file auto_md.cc.
References Extract(), MRecord::In(), and MRecord::Out().
void f_gridFromGasAbsLookup | ( | Vector & | f_grid, | |
const GasAbsLookup & | abs_lookup | |||
) |
WORKSPACE METHOD: f_gridFromGasAbsLookup.
Sets *f_grid* to the frequency grid of *abs_lookup*.
Must be called between importing/creating raw absorption table and call of *abs_lookupAdapt*.
[out] | f_grid | WS Output |
[in] | abs_lookup | WS Input |
Definition at line 2004 of file m_abs_lookup.cc.
References GasAbsLookup::GetFgrid().
Referenced by f_gridFromGasAbsLookup_g().
Definition at line 2372 of file auto_md.cc.
References f_gridFromGasAbsLookup(), MRecord::In(), and MRecord::Out().
void f_gridFromSensorAMSU | ( | Vector & | f_grid, | |
const Vector & | lo_multi, | |||
const ArrayOfVector & | f_backend_multi, | |||
const ArrayOfArrayOfGField1 & | backend_channel_response_multi, | |||
const Numeric & | spacing | |||
) |
WORKSPACE METHOD: f_gridFromSensorAMSU.
Automatically calculate f_grid to match the sensor.
This method is handy if you are simulating an AMSU-type instrument, consisting of a few discrete channels.
It calculates f_grid to match the instrument, as given by the local oscillator frequencies *lo_multi*, the backend frequencies *f_backend_multi*, and the backend channel responses *backend_channel_response_multi*.
You have to specify the desired spacing in the keyword *spacing*, which has a default value of 100 MHz. (The actual value is 0.1e9, since our unit is Hz.)
The produced grid will not have exactly the requested spacing, but will not be coarser than requested. The algorithm starts with the band edges, then adds additional points until the spacing is at least as fine as requested.
There is a similar method for HIRS-type instruments, see f_gridFromSensorHIRS*.
[out] | f_grid | WS Output |
[in] | lo_multi | WS Input |
[in] | f_backend_multi | WS Input |
[in] | backend_channel_response_multi | WS Input |
[in] | spacing | Generic Input (Default: ".1e9") |
Referenced by f_gridFromSensorAMSU_g().
Definition at line 2339 of file auto_md.cc.
References f_gridFromSensorAMSU(), MRecord::In(), and MRecord::Out().
void f_gridFromSensorHIRS | ( | Vector & | f_grid, | |
const Vector & | f_backend, | |||
const ArrayOfGField1 & | backend_channel_response, | |||
const Numeric & | spacing | |||
) |
WORKSPACE METHOD: f_gridFromSensorHIRS.
Automatically calculate f_grid to match the sensor.
This method is handy if you are simulating a HIRS-type instrument, consisting of a few discrete channels.
It calculates f_grid to match the instrument, as given by the nominal band frequencies *f_backend* and the spectral channel response functions given by *backend_channel_response*.
You have to specify the desired spacing in the keyword *spacing*, which has a default value of 5e8 Hz.
The produced grid will not have exactly the requested spacing, but will not be coarser than requested. The algorithm starts with the band edges, then adds additional points until the spacing is at least as fine as requested.
There is a similar method for AMSU-type instruments, see f_gridFromSensorAMSU*.
[out] | f_grid | WS Output |
[in] | f_backend | WS Input |
[in] | backend_channel_response | WS Input |
[in] | spacing | Generic Input (Default: "5e8") |
Definition at line 349 of file m_sensor.cc.
References get_sorted_indexes(), is_increasing(), Array< base >::nelem(), ConstVectorView::nelem(), out2, out3, and test_and_merge_two_channels().
Referenced by f_gridFromSensorHIRS_g().
Definition at line 2348 of file auto_md.cc.
References f_gridFromSensorHIRS(), MRecord::In(), and MRecord::Out().
WORKSPACE METHOD: f_gridSelectFIndex.
Reduce f_grid to the frequency given by f_index.
This is one of the methods necessary to do line by line absorption calculations inside *abs_scalar_gas_agenda*.
It reduces the f_grid to only one frequency, the one given by f_index. If f_index is -1, then all frequencies are kept. This behavior is consistent with *abs_scalar_gasExtractFromLookup*.
[out] | f_grid | WS Output |
[in] | f_index | WS Input |
Definition at line 2795 of file m_abs.cc.
References ConstVectorView::nelem(), and Vector::resize().
Referenced by abs_scalar_gasCalcLBL(), and f_gridSelectFIndex_g().
Definition at line 2356 of file auto_md.cc.
References f_gridSelectFIndex(), MRecord::In(), and MRecord::Out().
void FlagOff | ( | Index & | gout1 | ) |
WORKSPACE METHOD: FlagOff.
Sets an index variable that acts as an on/off flag to 0.
[out] | gout1 | Generic output |
Definition at line 129 of file m_basic_types.cc.
Referenced by FlagOff_g().
void FlagOn | ( | Index & | gout1 | ) |
WORKSPACE METHOD: FlagOn.
Sets an index variable that acts as an on/off flag to 1.
[out] | gout1 | Generic output |
Definition at line 137 of file m_basic_types.cc.
Referenced by FlagOn_g().
void ForLoop | ( | Workspace & | ws, | |
const Agenda & | forloop_agenda, | |||
const Index & | start, | |||
const Index & | stop, | |||
const Index & | step | |||
) |
WORKSPACE METHOD: ForLoop.
A simple for loop.
This method is handy when you quickly want to test out a calculation with a set of different settings.
It does a for loop from start to stop in steps of step. (Who would have guessed that.) For each iteration, the agenda *forloop_agenda* is executed. Inside the agenda, the variable *forloop_index* is available as index counter.
There are no other inputs to *forloop_agenda*, and also no outputs. That means, if you want to get any results out of this loop, you have to save it to files (for example with *WriteXMLIndexed*), since variables used inside the agenda will only be local.
Note that this kind of for loop is not parallel.
The method is intended for simple testing, not as a replacement of ybatchCalc*. However, it is compatible with *ybatchCalc*, in the sense that *ybatchCalc* may occur inside *forloop_agenda*.
[in,out] | ws | Workspace |
[in] | forloop_agenda | WS Input |
[in] | start | Generic Input |
[in] | stop | Generic Input |
[in] | step | Generic Input |
Definition at line 67 of file m_batch.cc.
References forloop_agendaExecute(), and out1.
Referenced by ForLoop_g().
void forloop_agendaExecute | ( | Workspace & | ws, | |
const Index | forloop_index, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7639 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by ForLoop().
void GField1Create | ( | GField1 & | gfield | ) |
WORKSPACE METHOD: GField1Create.
Creates an empty GField1.
If the variable already exists, it'll be reset.
[out] | gfield | Generic output |
Definition at line 119 of file m_create.cc.
Referenced by GField1Create_g().
void GField2Create | ( | GField2 & | gfield | ) |
WORKSPACE METHOD: GField2Create.
Creates an empty GField2.
If the variable already exists, it'll be reset.
[out] | gfield | Generic output |
Definition at line 126 of file m_create.cc.
Referenced by GField2Create_g().
void GField3Create | ( | GField3 & | gfield | ) |
WORKSPACE METHOD: GField3Create.
Creates an empty GField3.
If the variable already exists, it'll be reset.
[out] | gfield | Generic output |
Definition at line 133 of file m_create.cc.
Referenced by GField3Create_g().
void GField4Create | ( | GField4 & | gfield | ) |
WORKSPACE METHOD: GField4Create.
Creates an empty GField4.
If the variable already exists, it'll be reset.
[out] | gfield | Generic output |
Definition at line 140 of file m_create.cc.
Referenced by GField4Create_g().
void Ignore | ( | const T & | gin1 | ) | [inline] |
WORKSPACE METHOD: Ignore.
Ignore a workspace variable.
This method is handy for use in agendas in order to suppress warnings about unused input workspace variables. What it does is: Nothing! In other words, it just ignores the variable it is called on.
This is a supergeneric method. It can ignore any workspace variable you want.
Usage example:
AgendaSet(els_agenda){ <br> Ignore(ls_sigma){} <br> elsLorentz{} }
Without Ignore you would get an error message, because els_agenda is supposed to use the Doppler width *ls_sigma*, but the Lorentz lineshape elsLorentz* does not need it.
Supergeneric input: <br> Any : The input variable.
[in] | gin1 | Generic Input |
Definition at line 48 of file m_ignore.h.
Referenced by Ignore_sg_Agenda_g(), Ignore_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), Ignore_sg_ArrayOfArrayOfGField1_g(), Ignore_sg_ArrayOfArrayOfGField3_g(), Ignore_sg_ArrayOfArrayOfIndex_g(), Ignore_sg_ArrayOfArrayOfLineRecord_g(), Ignore_sg_ArrayOfArrayOfMatrix_g(), Ignore_sg_ArrayOfArrayOfSpeciesTag_g(), Ignore_sg_ArrayOfArrayOfTensor3_g(), Ignore_sg_ArrayOfArrayOfTensor6_g(), Ignore_sg_ArrayOfGField1_g(), Ignore_sg_ArrayOfGField2_g(), Ignore_sg_ArrayOfGField3_g(), Ignore_sg_ArrayOfGField4_g(), Ignore_sg_ArrayOfIndex_g(), Ignore_sg_ArrayOfLineRecord_g(), Ignore_sg_ArrayOfLineshapeSpec_g(), Ignore_sg_ArrayOfMatrix_g(), Ignore_sg_ArrayOfPpath_g(), Ignore_sg_ArrayOfRetrievalQuantity_g(), Ignore_sg_ArrayOfSingleScatteringData_g(), Ignore_sg_ArrayOfString_g(), Ignore_sg_ArrayOfTensor3_g(), Ignore_sg_ArrayOfTensor4_g(), Ignore_sg_ArrayOfTensor6_g(), Ignore_sg_ArrayOfTensor7_g(), Ignore_sg_ArrayOfVector_g(), Ignore_sg_GasAbsLookup_g(), Ignore_sg_GField1_g(), Ignore_sg_GField2_g(), Ignore_sg_GField3_g(), Ignore_sg_GField4_g(), Ignore_sg_GridPos_g(), Ignore_sg_Index_g(), Ignore_sg_Matrix_g(), Ignore_sg_MCAntenna_g(), Ignore_sg_Numeric_g(), Ignore_sg_Ppath_g(), Ignore_sg_SingleScatteringData_g(), Ignore_sg_SLIData2_g(), Ignore_sg_Sparse_g(), Ignore_sg_String_g(), Ignore_sg_Tensor3_g(), Ignore_sg_Tensor4_g(), Ignore_sg_Tensor5_g(), Ignore_sg_Tensor6_g(), Ignore_sg_Tensor7_g(), Ignore_sg_Timer_g(), and Ignore_sg_Vector_g().
void INCLUDE | ( | ) |
WORKSPACE METHOD: INCLUDE.
Includes the contents of another controlfile.
The INCLUDE statement inserts the contents of the controlfile with the given name into the current controlfile. If the filename is given without path information, ARTS will first search for the file in all directories specified with the -I (see arts -h) commandline option and then in directories given in the environment variable ARTS_INCLUDE_PATH. In the environment variable multiple paths have to be separated by colons.
Note that INCLUDE is not a workspace method and thus the syntax is different:
Arts { <br> INCLUDE "general.arts" }
Includes can also be nested. In the example above general.arts can contain further includes which will then be treated the same way.
The idea behind this mechanism is that you can write common settings for a bunch of calculations into one file. Then, you can create several controlfiles which include the basic settings and tweak them for different cases. When you decide to make changes to your setup that should apply to all calculations, you only have to make a single change in the include file instead of modifying all your controlfiles.
Definition at line 66 of file m_general.cc.
Referenced by INCLUDE_g().
void IndexCreate | ( | Index & | gout1 | ) |
WORKSPACE METHOD: IndexCreate.
Creates an Index variable.
If the variable already exists, it'll be reset.
Generic output: <br> Index: New Index variable.
[out] | gout1 | Generic output |
Definition at line 148 of file m_create.cc.
Referenced by IndexCreate_g().
WORKSPACE METHOD: IndexSet.
Sets an index workspace variable to the given value.
Generic output: <br> Index : The index variable to be set.
Keywords: <br> value : A positive integer.
[out] | gout1 | Generic output |
[in] | value | Generic Input |
Definition at line 145 of file m_basic_types.cc.
Referenced by IndexSet_g().
Definition at line 2663 of file auto_md.cc.
References IndexSet(), MRecord::Out(), and MRecord::SetValue().
WORKSPACE METHOD: IndexStep.
Performs GOUT_TYPE = GIN_TYPE + 1
Input and output can be same variable.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
Definition at line 152 of file m_basic_types.cc.
Referenced by IndexStep_g().
Definition at line 2669 of file auto_md.cc.
References MRecord::In(), IndexStep(), and MRecord::Out().
void InterpAtmFieldToRteGps | ( | Numeric & | gout1, | |
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const GridPos & | rte_gp_p, | |||
const GridPos & | rte_gp_lat, | |||
const GridPos & | rte_gp_lon, | |||
const Tensor3 & | gin1 | |||
) |
WORKSPACE METHOD: InterpAtmFieldToRteGps.
Scalar interpolation of atmospheric fields.
The position is specified by the combination of *rte_gp_p*, rte_gp_lat* and *rte_gp_lon*.
Generic output: <br> Numeric : Value obtained by interpolation.
Generic input: <br> Tensor3 : Field to interpolate.
[out] | gout1 | Generic output |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | rte_gp_p | WS Input |
[in] | rte_gp_lat | WS Input |
[in] | rte_gp_lon | WS Input |
[in] | gin1 | Generic Input |
Definition at line 888 of file m_atmosphere.cc.
References interp_atmfield_by_gp(), and out3.
Referenced by InterpAtmFieldToRteGps_g().
Definition at line 2675 of file auto_md.cc.
References MRecord::In(), InterpAtmFieldToRteGps(), and MRecord::Out().
void InterpSurfaceEmissivityFieldIncLatLon | ( | Numeric & | outvalue, | |
const Index & | atmosphere_dim, | |||
const Vector & | rte_pos, | |||
const Vector & | rte_los, | |||
const GField3 & | gfield | |||
) |
WORKSPACE METHOD: InterpSurfaceEmissivityFieldIncLatLon.
Interpolation of surface emissivity specified as a function of incidence angle, latitude and longitude.
The surface emissivity field has here three dimension, with incidence angle as first/column dimension, latitude as second/row dimension and longitude as third/page dimension. Grid names must be set exactly to "Incidence angle", "Latitude" and "Longitude". No extrapolation is allowed.
For 1D cases it is expected that the latitude and longitude grids have both a length of 1. For 2D the same apllies to the longitude grid.
This method can be used togetehr with e.g. surfaceFlatSingleEmissivity*.
[out] | outvalue | Generic output |
[in] | atmosphere_dim | WS Input |
[in] | rte_pos | WS Input |
[in] | rte_los | WS Input |
[in] | gfield | Generic Input |
Definition at line 236 of file m_surface.cc.
References abs, chk_if_in_range(), interp_gfield3(), ConstVectorView::nelem(), and out3.
Referenced by InterpSurfaceEmissivityFieldIncLatLon_g().
Definition at line 2688 of file auto_md.cc.
References MRecord::In(), InterpSurfaceEmissivityFieldIncLatLon(), and MRecord::Out().
void InterpSurfaceFieldToRteGps | ( | Numeric & | gout1, | |
const Index & | atmosphere_dim, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const GridPos & | rte_gp_lat, | |||
const GridPos & | rte_gp_lon, | |||
const Matrix & | gin1 | |||
) |
WORKSPACE METHOD: InterpSurfaceFieldToRteGps.
Scalar interpolation of surface fields.
The position is specified by the combination of *rte_gp_lat* and rte_gp_lon*.
Generic output: <br> Numeric : Value obtained by interpolation.
Generic input: <br> Matrix : Field to interpolate.
[out] | gout1 | Generic output |
[in] | atmosphere_dim | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | rte_gp_lat | WS Input |
[in] | rte_gp_lon | WS Input |
[in] | gin1 | Generic Input |
Definition at line 217 of file m_surface.cc.
References interp_atmsurface_by_gp(), and out3.
Referenced by InterpSurfaceFieldToRteGps_g().
Definition at line 2697 of file auto_md.cc.
References MRecord::In(), InterpSurfaceFieldToRteGps(), and MRecord::Out().
void iy_cloudbox_agendaExecute | ( | Workspace & | ws, | |
Matrix & | iy, | |||
const Ppath & | ppath, | |||
const Vector & | rte_pos, | |||
const Vector & | rte_los, | |||
const GridPos & | rte_gp_p, | |||
const GridPos & | rte_gp_lat, | |||
const GridPos & | rte_gp_lon, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7694 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by get_radiative_background().
void iy_space_agendaExecute | ( | Workspace & | ws, | |
Matrix & | iy, | |||
const Vector & | rte_pos, | |||
const Vector & | rte_los, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7770 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by get_radiative_background(), MCGeneral(), and MCIPA().
void iyInterpCloudboxField | ( | Matrix & | iy, | |
const Tensor7 & | scat_i_p, | |||
const Tensor7 & | scat_i_lat, | |||
const Tensor7 & | scat_i_lon, | |||
const Tensor4 & | doit_i_field1D_spectrum, | |||
const GridPos & | rte_gp_p, | |||
const GridPos & | rte_gp_lat, | |||
const GridPos & | rte_gp_lon, | |||
const Vector & | rte_los, | |||
const Index & | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Index & | atmosphere_dim, | |||
const Index & | stokes_dim, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Vector & | f_grid | |||
) |
WORKSPACE METHOD: iyInterpCloudboxField.
Interpolates the intensity field of the cloud box.
This is the standard method to put in *iy_cloudbox_agenda* if the the scattering inside the cloud box is handled by the DOIT method.
The intensity field is interpolated to the position and direction given (specified by *rte_XXX*). A linear interpolation is used for all dimensions.
The intensity field on the cloux box boundaries is provided by scat_i_p/lat/lon* and these variables are interpolated if the. given position is at any boundary.
Interpolation of the internal field is not yet possible.
[out] | iy | WS Output |
[in] | scat_i_p | WS Input |
[in] | scat_i_lat | WS Input |
[in] | scat_i_lon | WS Input |
[in] | doit_i_field1D_spectrum | WS Input |
[in] | rte_gp_p | WS Input |
[in] | rte_gp_lat | WS Input |
[in] | rte_gp_lon | WS Input |
[in] | rte_los | WS Input |
[in] | cloudbox_on | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | stokes_dim | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | f_grid | WS Input |
Definition at line 1832 of file m_cloudbox.cc.
References iy_interp_cloudbox_field().
Referenced by iyInterpCloudboxField_g().
Definition at line 2708 of file auto_md.cc.
References MRecord::In(), iyInterpCloudboxField(), and MRecord::Out().
void iyInterpPolyCloudboxField | ( | Matrix & | iy, | |
const Tensor7 & | scat_i_p, | |||
const Tensor7 & | scat_i_lat, | |||
const Tensor7 & | scat_i_lon, | |||
const Tensor4 & | doit_i_field1D_spectrum, | |||
const GridPos & | rte_gp_p, | |||
const GridPos & | rte_gp_lat, | |||
const GridPos & | rte_gp_lon, | |||
const Vector & | rte_los, | |||
const Index & | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Index & | atmosphere_dim, | |||
const Index & | stokes_dim, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Vector & | f_grid | |||
) |
WORKSPACE METHOD: iyInterpPolyCloudboxField.
As *iyInterpCloudboxField* but performs cubic interpolation.
Works so far only for 1D cases, and accordingly a cubic interpolation along *scat_za_grid* is performed.
[out] | iy | WS Output |
[in] | scat_i_p | WS Input |
[in] | scat_i_lat | WS Input |
[in] | scat_i_lon | WS Input |
[in] | doit_i_field1D_spectrum | WS Input |
[in] | rte_gp_p | WS Input |
[in] | rte_gp_lat | WS Input |
[in] | rte_gp_lon | WS Input |
[in] | rte_los | WS Input |
[in] | cloudbox_on | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | stokes_dim | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | f_grid | WS Input |
Definition at line 1859 of file m_cloudbox.cc.
References iy_interp_cloudbox_field().
Referenced by iyInterpPolyCloudboxField_g().
Definition at line 2728 of file auto_md.cc.
References MRecord::In(), iyInterpPolyCloudboxField(), and MRecord::Out().
Definition at line 7834 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by jacobianCalc().
void jacobian_y_agendaExecute | ( | Workspace & | ws, | |
Vector & | y, | |||
const Tensor4 & | vmr_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | pnd_field, | |||
const Matrix & | sensor_los, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 7889 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by jacobianCalcAbsSpecies(), jacobianCalcPointing(), and jacobianCalcTemperature().
void jacobianAddAbsSpecies | ( | Workspace & | ws, | |
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
Agenda & | jacobian_agenda, | |||
const Matrix & | jacobian, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Vector & | gin1, | |||
const Vector & | gin2, | |||
const Vector & | gin3, | |||
const String & | species, | |||
const String & | method, | |||
const String & | unit, | |||
const Numeric & | dx | |||
) |
WORKSPACE METHOD: jacobianAddAbsSpecies.
Adds a absorption species as a retrieval quantity to the Jacobian.
For 1D or 2D calculations the latitude and/or longitude grid of the retrieval field should be set to zero length.
There are two possible calculation methods: <br> "analytical" : (semi-)analytical expressions are used <br> "perturbation" : pure numerical perturbations are used
The retrieval unit can be: <br> "vmr" : volume mixing ratio <br> "nd" : number density <br> "rel" : relative unit (e.g. 1.1 means 10% more of the gas)
For perturbation calculations the size of the perturbation is set by the user. The unit of the perturbation size is identical to the retrieval unit.
Generic input: <br> Vector : The pressure grid of the retrieval field. <br> Vector : The latitude grid of the retrieval field. <br> Vector : The longitude grid of the retrieval field.
Keywords: <br> species : The SpeciesTag of the retrieval quantity. <br> method : Calculation method. See above. <br> unit : Retrieval unit. See above. <br> dx : Size of perturbation.
[in,out] | ws | Workspace |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_agenda | WS Output |
[in] | jacobian | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | gin3 | Generic Input |
[in] | species | Generic Input |
[in] | method | Generic Input (Default: "analytical") |
[in] | unit | Generic Input (Default: "rel") |
[in] | dx | Generic Input (Default: "0.001") |
Definition at line 243 of file m_jacobian.cc.
References RetrievalQuantity::Analytical(), Agenda::append(), check_retrieval_grids(), RetrievalQuantity::Grids(), RetrievalQuantity::MainTag(), RetrievalQuantity::Mode(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstMatrixView::nrows(), out2, out3, RetrievalQuantity::Perturbation(), and RetrievalQuantity::Subtag().
Referenced by abs_speciesAdd2(), and jacobianAddAbsSpecies_g().
Definition at line 2748 of file auto_md.cc.
References MRecord::In(), jacobianAddAbsSpecies(), and MRecord::Out().
void jacobianAddPointing | ( | Workspace & | ws, | |
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
Agenda & | jacobian_agenda, | |||
const Matrix & | jacobian, | |||
const Matrix & | sensor_pos, | |||
const Vector & | sensor_time, | |||
const Numeric & | dza, | |||
const Index & | poly_order | |||
) |
WORKSPACE METHOD: jacobianAddPointing.
...
[in,out] | ws | Workspace |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_agenda | WS Output |
[in] | jacobian | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_time | WS Input |
[in] | dza | Generic Input (Default: "0.01") |
[in] | poly_order | Generic Input (Default: "0") |
Definition at line 547 of file m_jacobian.cc.
References RetrievalQuantity::Analytical(), Agenda::append(), RetrievalQuantity::Grids(), RetrievalQuantity::MainTag(), RetrievalQuantity::Mode(), ConstMatrixView::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), ConstMatrixView::nrows(), RetrievalQuantity::Perturbation(), Vector::resize(), and RetrievalQuantity::Subtag().
Referenced by jacobianAddPointing_g().
Definition at line 2767 of file auto_md.cc.
References MRecord::In(), jacobianAddPointing(), and MRecord::Out().
void jacobianAddPolyfit | ( | Workspace & | ws, | |
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
Agenda & | jacobian_agenda, | |||
const Matrix & | jacobian, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Vector & | sensor_response_f_grid, | |||
const Vector & | sensor_response_za_grid, | |||
const Matrix & | sensor_pos, | |||
const Index & | poly_order, | |||
const Index & | no_pol_variation, | |||
const Index & | no_za_variation, | |||
const Index & | no_mblock_variation | |||
) |
WORKSPACE METHOD: jacobianAddPolyfit.
...
[in,out] | ws | Workspace |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_agenda | WS Output |
[in] | jacobian | WS Input |
[in] | sensor_response_pol_grid | WS Input |
[in] | sensor_response_f_grid | WS Input |
[in] | sensor_response_za_grid | WS Input |
[in] | sensor_pos | WS Input |
[in] | poly_order | Generic Input |
[in] | no_pol_variation | Generic Input (Default: "0") |
[in] | no_za_variation | Generic Input (Default: "0") |
[in] | no_mblock_variation | Generic Input (Default: "0") |
Definition at line 780 of file m_jacobian.cc.
References Agenda::append(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), and ConstMatrixView::nrows().
Referenced by jacobianAddPolyfit_g().
Definition at line 2779 of file auto_md.cc.
References MRecord::In(), jacobianAddPolyfit(), and MRecord::Out().
void jacobianAddTemperature | ( | Workspace & | ws, | |
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
Agenda & | jacobian_agenda, | |||
const Matrix & | jacobian, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Vector & | gin1, | |||
const Vector & | gin2, | |||
const Vector & | gin3, | |||
const String & | hse, | |||
const String & | method, | |||
const Numeric & | dx | |||
) |
WORKSPACE METHOD: jacobianAddTemperature.
Adds atmospheric temperatures as a retrieval quantity.
The calculations can be performed by (semi-)analytical expressions or perturbations. Hydrostatic equilibrium can be included for perturbation calculations. These choices are selected by corresponding general input variables.
For 1D or 2D calculations the latitude and/or longitude grid of the retrieval field should be set to zero length. The WSM *jacobianCalcTemperature* is automatically added to jacobian_agenda*.
[in,out] | ws | Workspace |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_agenda | WS Output |
[in] | jacobian | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | gin3 | Generic Input |
[in] | hse | Generic Input (Default: "off") |
[in] | method | Generic Input (Default: "analytical") |
[in] | dx | Generic Input (Default: "1") |
Definition at line 983 of file m_jacobian.cc.
References RetrievalQuantity::Analytical(), Agenda::append(), check_retrieval_grids(), RetrievalQuantity::Grids(), RetrievalQuantity::MainTag(), RetrievalQuantity::Mode(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstMatrixView::nrows(), out3, RetrievalQuantity::Perturbation(), and RetrievalQuantity::Subtag().
Referenced by jacobianAddTemperature_g().
Definition at line 2795 of file auto_md.cc.
References MRecord::In(), jacobianAddTemperature(), and MRecord::Out().
void jacobianCalc | ( | Workspace & | ws, | |
Matrix & | jacobian, | |||
const Agenda & | jacobian_agenda, | |||
const ArrayOfArrayOfIndex & | jacobian_indices | |||
) |
WORKSPACE METHOD: jacobianCalc.
Executes *jacobian_agenda* to calculate (parts of) *jacobian*. It is important that *y* holds the original output of *RteCalc* as the methods called performs perturbations to obtain cahnges in y*.
[in,out] | ws | Workspace |
[out] | jacobian | WS Output |
[in] | jacobian_agenda | WS Input |
[in] | jacobian_indices | WS Input |
Definition at line 71 of file m_jacobian.cc.
References jacobian_agendaExecute(), ConstMatrixView::ncols(), Agenda::nelem(), Array< base >::nelem(), and out2.
Referenced by jacobianCalc_g().
Definition at line 2813 of file auto_md.cc.
References MRecord::In(), jacobianCalc(), and MRecord::Out().
void jacobianCalcAbsSpecies | ( | Workspace & | ws, | |
Matrix & | jacobian, | |||
const Agenda & | jacobian_y_agenda, | |||
const ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
const ArrayOfArrayOfIndex & | jacobian_indices, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Tensor4 & | vmr_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | pnd_field, | |||
const Matrix & | sensor_los, | |||
const Vector & | y, | |||
const String & | species | |||
) |
WORKSPACE METHOD: jacobianCalcAbsSpecies.
Calculates absorption species jacobians by perturbations.
This function is added to *jacobian_agenda* by jacobianAddAbsSpecies and should normally not be called by the user.
[in,out] | ws | Workspace |
[out] | jacobian | WS Output |
[in] | jacobian_y_agenda | WS Input |
[in] | jacobian_quantities | WS Input |
[in] | jacobian_indices | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | abs_species | WS Input |
[in] | vmr_field | WS Input |
[in] | t_field | WS Input |
[in] | pnd_field | WS Input |
[in] | sensor_los | WS Input |
[in] | y | WS Input |
[in] | species | Generic Input |
Definition at line 348 of file m_jacobian.cc.
References RetrievalQuantity::Analytical(), array_species_tag_from_string(), calc_nd_field(), chk_contains(), get_perturbation_gridpos(), get_perturbation_range(), RetrievalQuantity::Grids(), jacobian_y_agendaExecute(), joker, RetrievalQuantity::Mode(), ConstTensor3View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), ConstTensor3View::npages(), ConstTensor3View::nrows(), out2, perturbation_field_1d(), perturbation_field_2d(), and perturbation_field_3d().
Referenced by jacobianCalcAbsSpecies_g().
Definition at line 2821 of file auto_md.cc.
References MRecord::In(), jacobianCalcAbsSpecies(), MRecord::Out(), and MRecord::SetValue().
void jacobianCalcPointing | ( | Workspace & | ws, | |
Matrix & | jacobian, | |||
const Agenda & | jacobian_y_agenda, | |||
const ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
const ArrayOfArrayOfIndex & | jacobian_indices, | |||
const Tensor4 & | vmr_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | pnd_field, | |||
const Matrix & | sensor_los, | |||
const Vector & | sensor_time, | |||
const Vector & | y | |||
) |
WORKSPACE METHOD: jacobianCalcPointing.
Calculates pointing deviation jacobians by perturnbations.
This function is added to *jacobian_agenda* by jacobianAddPointing and should normally not be called by the user.
[in,out] | ws | Workspace |
[out] | jacobian | WS Output |
[in] | jacobian_y_agenda | WS Input |
[in] | jacobian_quantities | WS Input |
[in] | jacobian_indices | WS Input |
[in] | vmr_field | WS Input |
[in] | t_field | WS Input |
[in] | pnd_field | WS Input |
[in] | sensor_los | WS Input |
[in] | sensor_time | WS Input |
[in] | y | WS Input |
Definition at line 645 of file m_jacobian.cc.
References chk_if_increasing(), RetrievalQuantity::Grids(), jacobian_y_agendaExecute(), joker, RetrievalQuantity::Mode(), ConstVectorView::nelem(), Array< base >::nelem(), ConstMatrixView::nrows(), RetrievalQuantity::Perturbation(), and polynomial_basis_func().
Referenced by jacobianCalcPointing_g().
Definition at line 2841 of file auto_md.cc.
References MRecord::In(), jacobianCalcPointing(), and MRecord::Out().
void jacobianCalcPolyfit | ( | Matrix & | jacobian, | |
const ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
const ArrayOfArrayOfIndex & | jacobian_indices, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Vector & | sensor_response_f_grid, | |||
const Vector & | sensor_response_za_grid, | |||
const Matrix & | sensor_pos, | |||
const Index & | poly_coeff | |||
) |
WORKSPACE METHOD: jacobianCalcPolyfit.
Calculates jacobians for polynomial baseline fit.
This function is added to *jacobian_agenda* by jacobianAddPolyfit and should normally not be called by the user.
[out] | jacobian | WS Output |
[in] | jacobian_quantities | WS Input |
[in] | jacobian_indices | WS Input |
[in] | sensor_response_pol_grid | WS Input |
[in] | sensor_response_f_grid | WS Input |
[in] | sensor_response_za_grid | WS Input |
[in] | sensor_pos | WS Input |
[in] | poly_coeff | Generic Input |
Definition at line 884 of file m_jacobian.cc.
References ConstVectorView::nelem(), Array< base >::nelem(), ConstMatrixView::nrows(), and polynomial_basis_func().
Referenced by jacobianCalcPolyfit_g().
Definition at line 2856 of file auto_md.cc.
References MRecord::In(), jacobianCalcPolyfit(), MRecord::Out(), and MRecord::SetValue().
void jacobianCalcTemperature | ( | Workspace & | ws, | |
Matrix & | jacobian, | |||
const Agenda & | jacobian_y_agenda, | |||
const ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
const ArrayOfArrayOfIndex & | jacobian_indices, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor4 & | vmr_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | pnd_field, | |||
const Matrix & | sensor_los, | |||
const Vector & | y | |||
) |
WORKSPACE METHOD: jacobianCalcTemperature.
Calculates atmospheric temperature jacobians by perturbations.
This function is added to *jacobian_agenda* by jacobianAddTemperature and should normally not be called by the user.
[in,out] | ws | Workspace |
[out] | jacobian | WS Output |
[in] | jacobian_y_agenda | WS Input |
[in] | jacobian_quantities | WS Input |
[in] | jacobian_indices | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | vmr_field | WS Input |
[in] | t_field | WS Input |
[in] | pnd_field | WS Input |
[in] | sensor_los | WS Input |
[in] | y | WS Input |
Definition at line 1107 of file m_jacobian.cc.
References get_perturbation_gridpos(), get_perturbation_range(), RetrievalQuantity::Grids(), jacobian_y_agendaExecute(), joker, ConstVectorView::nelem(), Array< base >::nelem(), out2, perturbation_field_1d(), perturbation_field_2d(), perturbation_field_3d(), and RetrievalQuantity::Subtag().
Referenced by jacobianCalcTemperature_g().
Definition at line 2868 of file auto_md.cc.
References MRecord::In(), jacobianCalcTemperature(), and MRecord::Out().
void jacobianClose | ( | Matrix & | jacobian, | |
ArrayOfArrayOfIndex & | jacobian_indices, | |||
const ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
const Matrix & | sensor_pos, | |||
const Sparse & | sensor_response | |||
) |
WORKSPACE METHOD: jacobianClose.
Close the array of retrieval quantities and prepare for calculation of the Jacobian matrix.
This function closes the *jacobian_quantities* array and sets the correct size of *jacobian*. Retrieval quantities should not be added after a call to this WSM.
To define the final *jacobian* the number of spectra is needed. Therefor the number of measurement blocks, taken from *sensor_pos* and the size of *sensor_response* has to be defined.
[out] | jacobian | WS Output |
[out] | jacobian_indices | WS Output |
[in] | jacobian_quantities | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_response | WS Input |
Definition at line 109 of file m_jacobian.cc.
References ConstMatrixView::ncols(), Array< base >::nelem(), Sparse::nrows(), ConstMatrixView::nrows(), and Matrix::resize().
Referenced by jacobianClose_g().
Definition at line 2886 of file auto_md.cc.
References MRecord::In(), jacobianClose(), and MRecord::Out().
void jacobianInit | ( | Matrix & | jacobian, | |
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
ArrayOfArrayOfIndex & | jacobian_indices, | |||
Agenda & | jacobian_agenda | |||
) |
WORKSPACE METHOD: jacobianInit.
Initialises the variables connected to the Jacobian matrix.
This function initialises the *jacobian_quantities* array so that retrieval quantities can be added to it, therefor it has to be called before any subsequent calls to jacobianAddGas jacobianAddTemperature, jacobianAddPointing or similar methods.
The Jacobian quantities are initialised to be empty.
[out] | jacobian | WS Output |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_indices | WS Output |
[out] | jacobian_agenda | WS Output |
Definition at line 178 of file m_jacobian.cc.
References Matrix::resize(), and Agenda::set_name().
Referenced by jacobianInit_g(), and jacobianOff().
void jacobianOff | ( | Matrix & | jacobian, | |
ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
ArrayOfArrayOfIndex & | jacobian_indices, | |||
String & | jacobian_unit | |||
) |
WORKSPACE METHOD: jacobianOff.
Makes mandatory initialisation of some jacobian variables.
Some jacobian WSVs must be initilised even if no such calculations will be performed and this is handled with this method. That is, this method must be called when no jacobians will be calculated.
[out] | jacobian | WS Output |
[out] | jacobian_quantities | WS Output |
[out] | jacobian_indices | WS Output |
[out] | jacobian_unit | WS Output |
Definition at line 194 of file m_jacobian.cc.
References jacobianInit().
Referenced by jacobianOff_g(), and RteCalcNoJacobian().
void jacobianUnit | ( | Matrix & | jacobian, | |
const String & | jacobian_unit, | |||
const String & | y_unit, | |||
const Vector & | y_f | |||
) |
WORKSPACE METHOD: jacobianUnit.
Conversion of *jacobian* to other spectral units.
Works as *yUnit* but operates on *jacobian* and conversion <br> determined by *jacobian_unit*.
[out] | jacobian | WS Output |
[in] | jacobian_unit | WS Input |
[in] | y_unit | WS Input |
[in] | y_f | WS Input |
Definition at line 210 of file m_jacobian.cc.
References ybatchUnit().
Referenced by jacobianUnit_g().
Definition at line 2911 of file auto_md.cc.
References MRecord::In(), jacobianUnit(), and MRecord::Out().
Definition at line 7959 of file auto_md.cc.
References Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), Agenda::name(), Workspace::pop_free(), and Workspace::push().
WORKSPACE METHOD: Matrix1ColFromVector.
Forms a matrix containing 1 column from a vector.
Generic output: <br> Matrix : The matrix to be created.
Generic input: <br> Vector : The vector to be copied.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
Definition at line 190 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), and Matrix::resize().
Referenced by Matrix1ColFromVector_g().
Definition at line 2938 of file auto_md.cc.
References MRecord::In(), Matrix1ColFromVector(), and MRecord::Out().
WORKSPACE METHOD: Matrix1RowFromVector.
Forms a matrix containing 1 row from a vector.
Generic output: <br> Matrix : The matrix to be created.
Generic input: <br> Vector : The vector to be copied.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
Definition at line 245 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), and Matrix::resize().
Referenced by Matrix1RowFromVector_g().
Definition at line 2959 of file auto_md.cc.
References MRecord::In(), Matrix1RowFromVector(), and MRecord::Out().
WORKSPACE METHOD: Matrix2ColFromVectors.
Forms a matrix containing 2 columns from two vectors.
The vectors are put as columns in the matrix in the same order as they are given.
Generic output: <br> Matrix : The matrix to be created.
Generic input: <br> Vector : The vector to be copied into the first column. <br> Vector : The vector to be copied into the second column.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
Definition at line 204 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), and Matrix::resize().
Referenced by Matrix2ColFromVectors_g().
Definition at line 2944 of file auto_md.cc.
References MRecord::In(), Matrix2ColFromVectors(), and MRecord::Out().
WORKSPACE METHOD: Matrix2RowFromVectors.
Forms a matrix containing 2 rows from two vectors.
The vectors are put as rows in the matrix in the same order as they are given.
Generic output: <br> Matrix : The matrix to be created.
Generic input: <br> Vector : The vector to be copied into the first row. <br> Vector : The vector to be copied into the second row.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
Definition at line 259 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), and Matrix::resize().
Referenced by Matrix2RowFromVectors_g().
Definition at line 2965 of file auto_md.cc.
References MRecord::In(), Matrix2RowFromVectors(), and MRecord::Out().
void Matrix3ColFromVectors | ( | Matrix & | gout1, | |
const Vector & | gin1, | |||
const Vector & | gin2, | |||
const Vector & | gin3 | |||
) |
WORKSPACE METHOD: Matrix3ColFromVectors.
Forms a matrix containing 3 columns from three vectors.
The vectors are put as columns in the matrix in the same order as they are given.
Generic output: <br> Matrix : The matrix to be created.
Generic input: <br> Vector : The vector to be copied into the first column. <br> Vector : The vector to be copied into the second column. <br> Vector : The vector to be copied into the third column.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | gin3 | Generic Input |
Definition at line 224 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), and Matrix::resize().
Referenced by Matrix3ColFromVectors_g().
Definition at line 2951 of file auto_md.cc.
References MRecord::In(), Matrix3ColFromVectors(), and MRecord::Out().
void Matrix3RowFromVectors | ( | Matrix & | gout1, | |
const Vector & | gin1, | |||
const Vector & | gin2, | |||
const Vector & | gin3 | |||
) |
WORKSPACE METHOD: Matrix3RowFromVectors.
Forms a matrix containing 3 rows from three vectors.
The vectors are put as rows in the matrix in the same order as they are given.
Generic output: <br> Matrix : The matrix to be created.
Generic input: <br> Vector : The vector to be copied into the first row. <br> Vector : The vector to be copied into the second row. <br> Vector : The vector to be copied into the third row.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | gin3 | Generic Input |
Definition at line 279 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), and Matrix::resize().
Referenced by Matrix3RowFromVectors_g().
Definition at line 2972 of file auto_md.cc.
References MRecord::In(), Matrix3RowFromVectors(), and MRecord::Out().
WORKSPACE METHOD: MatrixCBR.
Sets a matrix to hold cosmic background radiation (CBR).
The CBR is assumed to be un-polarized and Stokes components 2-4 are zero. Number of Stokes components, that equals the number of columns in the created matrix, is determined by *stokes_dim. The number of rows in the created matrix equals the length of the given frequency vector.
The cosmic radiation is modelled as blackbody radiation for the temperature given by the global constant COSMIC_BG_TEMP, set in the file constants.cc. The frequencies are taken from the generic input vector: <br> MatrixCBR(iy_space,f_grid){}
Generic output: <br> Matrix : Matrix with cosmic background radiation.
Generic input: <br> Vector : A set of frequencies.
[out] | gout1 | Generic output |
[in] | stokes_dim | WS Input |
[in] | gin1 | Generic Input |
Definition at line 122 of file m_physics.cc.
References COSMIC_BG_TEMP, ConstVectorView::nelem(), planck(), and Matrix::resize().
Referenced by MatrixCBR_g().
Definition at line 2919 of file auto_md.cc.
References MRecord::In(), MatrixCBR(), and MRecord::Out().
void MatrixCreate | ( | Matrix & | gout1 | ) |
WORKSPACE METHOD: MatrixCreate.
Creates an empty Matrix.
If the variable already exists, it'll be reset.
Generic output: <br> Matrix: New empty Matrix.
[out] | gout1 | Generic output |
Definition at line 156 of file m_create.cc.
Referenced by MatrixCreate_g().
WORKSPACE METHOD: MatrixMatrixMultiply.
Multiply a Matrix with another Matrix and store the result in the result Matrix.
This just computes the normal Matrix-Matrix product, Y=M*X. It is ok if Y and X are the same Matrix. This function is handy for multiplying the H Matrix to batch spectra.
Generic output: <br> Matrix : The result of the multiplication (dimension mxc).
Generic input: <br> Matrix : The Matrix to multiply (dimension mxn). <br> Matrix : The original Matrix (dimension nxc).
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
Definition at line 161 of file m_basic_types.cc.
References mult(), ConstMatrixView::ncols(), ConstMatrixView::nrows(), and Matrix::resize().
Referenced by MatrixMatrixMultiply_g().
Definition at line 2931 of file auto_md.cc.
References MRecord::In(), MatrixMatrixMultiply(), and MRecord::Out().
void MatrixPlanck | ( | Matrix & | gout1, | |
const Index & | stokes_dim, | |||
const Vector & | gin1, | |||
const Numeric & | gin2 | |||
) |
WORKSPACE METHOD: MatrixPlanck.
Sets a matrix to hold blackbody radiation.
Generic output: <br> Matrix : Matrix with blackbody radiation.
Generic input: <br> Vector : A set of frequencies. <br> Numeric : Blackbody temperature.
[out] | gout1 | Generic output |
[in] | stokes_dim | WS Input |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
Definition at line 144 of file m_physics.cc.
References ConstVectorView::nelem(), out2, planck(), and Matrix::resize().
Referenced by MatrixPlanck_g().
Definition at line 2980 of file auto_md.cc.
References MRecord::In(), MatrixPlanck(), and MRecord::Out().
WORKSPACE METHOD: MatrixScale.
Scales all elements of a matrix with the same value.
The result can either be stored in the same or another matrix.
Generic output: <br> Matrix : Return matrix.
Generic input: <br> Matrix : Original matrix.
Keywords: <br> value : The value to be multiplied with the matrix.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 301 of file m_basic_types.cc.
References ConstMatrixView::ncols(), ConstMatrixView::nrows(), and Matrix::resize().
Referenced by MatrixScale_g().
Definition at line 2988 of file auto_md.cc.
References MRecord::In(), MatrixScale(), and MRecord::Out().
void MatrixSetConstant | ( | Matrix & | gout1, | |
const Index & | nrows, | |||
const Index & | ncols, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: MatrixSetConstant.
Creates a matrix and sets all elements to the specified value. The size is determined by the variables *ncols* and *nrows*.
Generic output: <br> Matrix : The matrix to be created.
Keywords: <br> value : The value of the matrix elements.
[out] | gout1 | Generic output |
[in] | nrows | WS Input |
[in] | ncols | WS Input |
[in] | value | Generic Input |
Definition at line 332 of file m_basic_types.cc.
References Matrix::resize().
Referenced by MatrixSetConstant_g().
Definition at line 2995 of file auto_md.cc.
References MRecord::In(), MatrixSetConstant(), and MRecord::Out().
WORKSPACE METHOD: MatrixUnitIntensity.
Sets a matrix to hold unpolarised radiation with unit intensity.
Generic output: <br> Matrix : Matrix with unit radiation.
Generic input: <br> Vector : A set of frequencies.
[out] | gout1 | Generic output |
[in] | stokes_dim | WS Input |
[in] | gin1 | Generic Input |
Definition at line 171 of file m_physics.cc.
References ConstVectorView::nelem(), out2, and Matrix::resize().
Referenced by MatrixUnitIntensity_g().
Definition at line 3003 of file auto_md.cc.
References MRecord::In(), MatrixUnitIntensity(), and MRecord::Out().
void mc_antennaSetGaussian | ( | MCAntenna & | mc_antenna, | |
const Numeric & | za_sigma, | |||
const Numeric & | aa_sigma | |||
) |
WORKSPACE METHOD: mc_antennaSetGaussian.
Makes mc_antenna (used by MCGeneral) a 2D Gaussian pattern.
The gaussian antenna pattern is determined by the keyword parameters za_sigma, and aa_sigma, which represent the standard deviations in the uncorrelated bivariate normal distribution
[out] | mc_antenna | WS Output |
[in] | za_sigma | Generic Input |
[in] | aa_sigma | Generic Input |
Definition at line 154 of file m_montecarlo.cc.
References MCAntenna::set_gaussian().
Referenced by mc_antennaSetGaussian_g().
Definition at line 3010 of file auto_md.cc.
References MRecord::In(), mc_antennaSetGaussian(), and MRecord::Out().
void mc_antennaSetGaussianByFWHM | ( | MCAntenna & | mc_antenna, | |
const Numeric & | za_fwhm, | |||
const Numeric & | aa_fwhm | |||
) |
WORKSPACE METHOD: mc_antennaSetGaussianByFWHM.
Makes mc_antenna (used by MCGeneral) a 2D Gaussian pattern.
The gaussian antenna pattern is determined by the keyword parameters za_fwhm, and aa_fwhm, which represent the full width half maximum (FWHM) of the antenna response, in the zenith and azimuthal planes.
[out] | mc_antenna | WS Output |
[in] | za_fwhm | Generic Input |
[in] | aa_fwhm | Generic Input |
Definition at line 166 of file m_montecarlo.cc.
References MCAntenna::set_gaussian_fwhm().
Referenced by mc_antennaSetGaussianByFWHM_g().
Definition at line 3017 of file auto_md.cc.
References MRecord::In(), mc_antennaSetGaussianByFWHM(), and MRecord::Out().
void mc_antennaSetPencilBeam | ( | MCAntenna & | mc_antenna | ) |
WORKSPACE METHOD: mc_antennaSetPencilBeam.
Makes mc_antenna (used by MCGeneral) a pencil beam.
This WSM makes the subsequent MCGeneral WSM perform pencil beam RT calculations.
[out] | mc_antenna | WS Output |
Definition at line 178 of file m_montecarlo.cc.
References MCAntenna::set_pencil_beam().
Referenced by mc_antennaSetPencilBeam_g().
Definition at line 3024 of file auto_md.cc.
References mc_antennaSetPencilBeam(), and MRecord::Out().
void mc_IWP_cloud_opt_pathCalc | ( | Workspace & | ws, | |
Numeric & | mc_IWP, | |||
Numeric & | mc_cloud_opt_path, | |||
Numeric & | mc_IWP_error, | |||
Numeric & | mc_cloud_opt_path_error, | |||
Index & | mc_iteration_count, | |||
const MCAntenna & | mc_antenna, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | sensor_los, | |||
const Agenda & | ppath_step_agenda, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Tensor4 & | pnd_field, | |||
const ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Vector & | particle_masses, | |||
const Index & | mc_seed, | |||
const Index & | max_iter | |||
) |
WORKSPACE METHOD: mc_IWP_cloud_opt_pathCalc.
Calculates the FOV averaged ice water path and cloud optical path for a given viewing direction
[in,out] | ws | Workspace |
[out] | mc_IWP | WS Output |
[out] | mc_cloud_opt_path | WS Output |
[out] | mc_IWP_error | WS Output |
[out] | mc_cloud_opt_path_error | WS Output |
[out] | mc_iteration_count | WS Output |
[in] | mc_antenna | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_los | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_data_mono | WS Input |
[in] | particle_masses | WS Input |
[in] | mc_seed | WS Input |
[in] | max_iter | Generic Input |
Definition at line 73 of file m_montecarlo.cc.
References ATYPE_PENCIL_BEAM, MCAntenna::draw_los(), MCAntenna::get_type(), iwp_cloud_opt_pathCalc(), joker, and Rng::seed().
Referenced by mc_IWP_cloud_opt_pathCalc_g().
Definition at line 3029 of file auto_md.cc.
References MRecord::In(), mc_IWP_cloud_opt_pathCalc(), and MRecord::Out().
void MCGeneral | ( | Workspace & | ws, | |
Vector & | y, | |||
Index & | mc_iteration_count, | |||
Vector & | mc_error, | |||
Tensor3 & | mc_points, | |||
const MCAntenna & | mc_antenna, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | sensor_los, | |||
const Index & | stokes_dim, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Tensor4 & | pnd_field, | |||
const ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Index & | mc_seed, | |||
const String & | y_unit, | |||
const Numeric & | mc_std_err, | |||
const Index & | mc_max_time, | |||
const Index & | mc_max_iter, | |||
const Index & | mc_z_field_is_1D | |||
) |
WORKSPACE METHOD: MCGeneral.
A generalised 3D reversed Monte Carlo radiative algorithm, that allows for 2D antenna patterns, surface reflection and arbitrary sensor positions.
The main output variables *y* and *mc_error* represent the Stokes vector integrated over the antenna function, and the estimated error in this vector respectively.
The WSV *mc_max_iter* describes the number of `photons' used in the simulation (more photons means smaller *mc_error*). mc_std_err* is the desired value of mc_error, and *mc_max_time* is the maximum allowed number of seconds for MCGeneral. MCGeneral will terminate once any of the max_iter, std_err, max_time criteria are met. If negative values are given for these parameters then it is ignored.
Negative values of mc_seed seed the random number generator according to system time, positive rng_seed values are taken literally.
[in,out] | ws | Workspace |
[out] | y | WS Output |
[out] | mc_iteration_count | WS Output |
[out] | mc_error | WS Output |
[out] | mc_points | WS Output |
[in] | mc_antenna | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_los | WS Input |
[in] | stokes_dim | WS Input |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_data_mono | WS Input |
[in] | mc_seed | WS Input |
[in] | y_unit | WS Input |
[in] | mc_std_err | WS Input |
[in] | mc_max_time | WS Input |
[in] | mc_max_iter | WS Input |
[in] | mc_z_field_is_1D | WS Input |
Definition at line 187 of file m_montecarlo.cc.
References BOLTZMAN_CONST, Rng::draw(), MCAntenna::draw_los(), findZ11max(), Ppath::gp_lat, Ppath::gp_lon, Ppath::gp_p, id_mat(), invrayjean(), is_anyptype30(), iy_space_agendaExecute(), joker, mcPathTraceGeneral(), mult(), ConstTensor4View::nbooks(), ConstVectorView::nelem(), Ppath::np, ConstMatrixView::nrows(), planck(), q, Tensor3::resize(), Vector::resize(), Sample_los(), Rng::seed(), SPEED_OF_LIGHT, and surface_prop_agendaExecute().
Referenced by MCGeneral_g(), and RteCalcMC().
Definition at line 3057 of file auto_md.cc.
References MRecord::In(), MCGeneral(), and MRecord::Out().
void MCIPA | ( | Workspace & | ws, | |
Vector & | y, | |||
Index & | mc_iteration_count, | |||
Vector & | mc_error, | |||
Tensor3 & | mc_points, | |||
const MCAntenna & | mc_antenna, | |||
const Vector & | f_grid, | |||
const Index & | f_index, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | sensor_los, | |||
const Index & | stokes_dim, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Agenda & | ppath_step_agenda, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Tensor4 & | pnd_field, | |||
const ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Index & | mc_seed, | |||
const String & | y_unit, | |||
const Numeric & | mc_std_err, | |||
const Index & | mc_max_time, | |||
const Index & | mc_max_iter, | |||
const Index & | mc_z_field_is_1D | |||
) |
WORKSPACE METHOD: MCIPA.
A specialised 3D reversed Monte Carlo radiative algorithm, that mimics independent pixel appoximation simulations. Probably temporary.
[in,out] | ws | Workspace |
[out] | y | WS Output |
[out] | mc_iteration_count | WS Output |
[out] | mc_error | WS Output |
[out] | mc_points | WS Output |
[in] | mc_antenna | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_los | WS Input |
[in] | stokes_dim | WS Input |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_data_mono | WS Input |
[in] | mc_seed | WS Input |
[in] | y_unit | WS Input |
[in] | mc_std_err | WS Input |
[in] | mc_max_time | WS Input |
[in] | mc_max_iter | WS Input |
[in] | mc_z_field_is_1D | WS Input |
Definition at line 445 of file m_montecarlo.cc.
References Ppath::background, BOLTZMAN_CONST, Rng::draw(), MCAntenna::draw_los(), findZ11max(), Ppath::geom_tan_pos, Ppath::gp_lat, Ppath::gp_lon, Ppath::gp_p, gridpos(), id_mat(), invrayjean(), is_anyptype30(), iy_space_agendaExecute(), joker, mcPathTraceIPA(), mult(), ConstTensor4View::nbooks(), ConstVectorView::nelem(), Ppath::np, ConstMatrixView::nrows(), planck(), ppath_calc(), q, Tensor3::resize(), Vector::resize(), Sample_los(), Rng::seed(), SPEED_OF_LIGHT, and surface_prop_agendaExecute().
Referenced by MCIPA_g().
void MCSetSeedFromTime | ( | Index & | mc_seed | ) |
WORKSPACE METHOD: MCSetSeedFromTime.
Sets the value of mc_seed from system time
[out] | mc_seed | WS Output |
Definition at line 737 of file m_montecarlo.cc.
Referenced by MCSetSeedFromTime_g(), and RteCalcMC().
void met_profile_calc_agendaExecute | ( | Workspace & | ws, | |
Vector & | y, | |||
const GField3 & | t_field_raw, | |||
const ArrayOfGField3 & | vmr_field_raw, | |||
const GField3 & | z_field_raw, | |||
const ArrayOfGField3 & | pnd_field_raw, | |||
const Vector & | p_grid, | |||
const Matrix & | sensor_los, | |||
const Index | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Matrix & | z_surface, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8002 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by ybatchMetProfiles(), and ybatchMetProfilesClear().
void nbooksGet | ( | Index & | nbooks, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: nbooksGet.
Retrieve nbooks from given variable and store the value in the workspace variable *nbooks*
[out] | nbooks | WS Output |
[in] | gin1 | Generic Input |
Referenced by nbooksGet_sg_Tensor4_g(), nbooksGet_sg_Tensor5_g(), nbooksGet_sg_Tensor6_g(), and nbooksGet_sg_Tensor7_g().
Definition at line 3410 of file auto_md.cc.
References MRecord::In(), nbooksGet(), and MRecord::Out().
Definition at line 3416 of file auto_md.cc.
References MRecord::In(), nbooksGet(), and MRecord::Out().
Definition at line 3422 of file auto_md.cc.
References MRecord::In(), nbooksGet(), and MRecord::Out().
Definition at line 3428 of file auto_md.cc.
References MRecord::In(), nbooksGet(), and MRecord::Out().
void ncolsGet | ( | Index & | ncols, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: ncolsGet.
Retrieve ncols from given variable and store the value in the workspace variable *ncols*
[out] | ncols | WS Output |
[in] | gin1 | Generic Input |
Referenced by ncolsGet_sg_Matrix_g(), ncolsGet_sg_Tensor3_g(), ncolsGet_sg_Tensor4_g(), ncolsGet_sg_Tensor5_g(), ncolsGet_sg_Tensor6_g(), and ncolsGet_sg_Tensor7_g().
Definition at line 3308 of file auto_md.cc.
References MRecord::In(), ncolsGet(), and MRecord::Out().
Definition at line 3314 of file auto_md.cc.
References MRecord::In(), ncolsGet(), and MRecord::Out().
Definition at line 3320 of file auto_md.cc.
References MRecord::In(), ncolsGet(), and MRecord::Out().
Definition at line 3326 of file auto_md.cc.
References MRecord::In(), ncolsGet(), and MRecord::Out().
Definition at line 3332 of file auto_md.cc.
References MRecord::In(), ncolsGet(), and MRecord::Out().
Definition at line 3338 of file auto_md.cc.
References MRecord::In(), ncolsGet(), and MRecord::Out().
void nelemGet | ( | Index & | nelem, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: nelemGet.
Retrieve nelem from given variable and store the value in the workspace variable *nelem*
[out] | nelem | WS Output |
[in] | gin1 | Generic Input |
Referenced by nelemGet_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), nelemGet_sg_ArrayOfArrayOfGField1_g(), nelemGet_sg_ArrayOfArrayOfGField3_g(), nelemGet_sg_ArrayOfArrayOfIndex_g(), nelemGet_sg_ArrayOfArrayOfLineRecord_g(), nelemGet_sg_ArrayOfArrayOfMatrix_g(), nelemGet_sg_ArrayOfArrayOfSpeciesTag_g(), nelemGet_sg_ArrayOfArrayOfTensor3_g(), nelemGet_sg_ArrayOfArrayOfTensor6_g(), nelemGet_sg_ArrayOfGField1_g(), nelemGet_sg_ArrayOfGField2_g(), nelemGet_sg_ArrayOfGField3_g(), nelemGet_sg_ArrayOfGField4_g(), nelemGet_sg_ArrayOfIndex_g(), nelemGet_sg_ArrayOfLineRecord_g(), nelemGet_sg_ArrayOfLineshapeSpec_g(), nelemGet_sg_ArrayOfMatrix_g(), nelemGet_sg_ArrayOfPpath_g(), nelemGet_sg_ArrayOfRetrievalQuantity_g(), nelemGet_sg_ArrayOfSingleScatteringData_g(), nelemGet_sg_ArrayOfString_g(), nelemGet_sg_ArrayOfTensor3_g(), nelemGet_sg_ArrayOfTensor4_g(), nelemGet_sg_ArrayOfTensor6_g(), nelemGet_sg_ArrayOfTensor7_g(), nelemGet_sg_ArrayOfVector_g(), and nelemGet_sg_Vector_g().
Definition at line 3248 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3284 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3290 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3152 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3224 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3176 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3236 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3188 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3212 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3260 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3266 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3272 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3278 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3146 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3218 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3230 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3170 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3242 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3296 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3254 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3158 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3182 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3194 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3200 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3206 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3164 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
Definition at line 3302 of file auto_md.cc.
References MRecord::In(), nelemGet(), and MRecord::Out().
void npagesGet | ( | Index & | npages, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: npagesGet.
Retrieve npages from given variable and store the value in the workspace variable *npages*
[out] | npages | WS Output |
[in] | gin1 | Generic Input |
Referenced by npagesGet_sg_Tensor3_g(), npagesGet_sg_Tensor4_g(), npagesGet_sg_Tensor5_g(), npagesGet_sg_Tensor6_g(), and npagesGet_sg_Tensor7_g().
Definition at line 3380 of file auto_md.cc.
References MRecord::In(), npagesGet(), and MRecord::Out().
Definition at line 3386 of file auto_md.cc.
References MRecord::In(), npagesGet(), and MRecord::Out().
Definition at line 3392 of file auto_md.cc.
References MRecord::In(), npagesGet(), and MRecord::Out().
Definition at line 3398 of file auto_md.cc.
References MRecord::In(), npagesGet(), and MRecord::Out().
Definition at line 3404 of file auto_md.cc.
References MRecord::In(), npagesGet(), and MRecord::Out().
void nrowsGet | ( | Index & | nrows, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: nrowsGet.
Retrieve nrows from given variable and store the value in the workspace variable *nrows*
[out] | nrows | WS Output |
[in] | gin1 | Generic Input |
Referenced by nrowsGet_sg_Matrix_g(), nrowsGet_sg_Tensor3_g(), nrowsGet_sg_Tensor4_g(), nrowsGet_sg_Tensor5_g(), nrowsGet_sg_Tensor6_g(), and nrowsGet_sg_Tensor7_g().
Definition at line 3344 of file auto_md.cc.
References MRecord::In(), nrowsGet(), and MRecord::Out().
Definition at line 3350 of file auto_md.cc.
References MRecord::In(), nrowsGet(), and MRecord::Out().
Definition at line 3356 of file auto_md.cc.
References MRecord::In(), nrowsGet(), and MRecord::Out().
Definition at line 3362 of file auto_md.cc.
References MRecord::In(), nrowsGet(), and MRecord::Out().
Definition at line 3368 of file auto_md.cc.
References MRecord::In(), nrowsGet(), and MRecord::Out().
Definition at line 3374 of file auto_md.cc.
References MRecord::In(), nrowsGet(), and MRecord::Out().
void nshelvesGet | ( | Index & | nshelves, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: nshelvesGet.
Retrieve nshelves from given variable and store the value in the workspace variable *nshelves*
[out] | nshelves | WS Output |
[in] | gin1 | Generic Input |
Referenced by nshelvesGet_sg_Tensor5_g(), nshelvesGet_sg_Tensor6_g(), and nshelvesGet_sg_Tensor7_g().
Definition at line 3434 of file auto_md.cc.
References MRecord::In(), nshelvesGet(), and MRecord::Out().
Definition at line 3440 of file auto_md.cc.
References MRecord::In(), nshelvesGet(), and MRecord::Out().
Definition at line 3446 of file auto_md.cc.
References MRecord::In(), nshelvesGet(), and MRecord::Out().
void NumericCreate | ( | Numeric & | gout1 | ) |
WORKSPACE METHOD: NumericCreate.
Creates a Numeric variable.
If the variable already exists, it'll be reset.
Generic output: <br> Numeric: New Numeric variable.
[out] | gout1 | Generic output |
Definition at line 164 of file m_create.cc.
Referenced by NumericCreate_g().
WORKSPACE METHOD: NumericSet.
Sets a numeric workspace variable to the given value.
Generic output: <br> Numeric : The numeric variable to be set.
Keywords: <br> value : The value.
[out] | gout1 | Generic output |
[in] | value | Generic Input |
Definition at line 343 of file m_basic_types.cc.
Referenced by NumericSet_g().
Definition at line 3140 of file auto_md.cc.
References NumericSet(), MRecord::Out(), and MRecord::SetValue().
void nvitrinesGet | ( | Index & | nvitrines, | |
const T & | gin1 | |||
) | [inline] |
WORKSPACE METHOD: nvitrinesGet.
Retrieve nvitrines from given variable and store the value in the workspace variable *nvitrines*
[out] | nvitrines | WS Output |
[in] | gin1 | Generic Input |
Referenced by nvitrinesGet_sg_Tensor6_g(), and nvitrinesGet_sg_Tensor7_g().
Definition at line 3452 of file auto_md.cc.
References MRecord::In(), nvitrinesGet(), and MRecord::Out().
Definition at line 3458 of file auto_md.cc.
References MRecord::In(), nvitrinesGet(), and MRecord::Out().
void opt_prop_gas_agendaExecute | ( | Workspace & | ws, | |
Tensor3 & | ext_mat, | |||
Matrix & | abs_vec, | |||
const Index | f_index, | |||
const Matrix & | abs_scalar_gas, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8087 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by clear_rt_vars_at_gp(), cloud_ppath_update1D_planeparallel(), cloud_RT_no_background(), cloudy_rt_vars_at_gp(), opt_depth_calc(), and TArrayCalc().
void opt_prop_part_agendaExecute | ( | Workspace & | ws, | |
Tensor3 & | ext_mat, | |||
Matrix & | abs_vec, | |||
const Tensor3 & | ext_mat_spt, | |||
const Matrix & | abs_vec_spt, | |||
const Index | scat_p_index, | |||
const Index | scat_lat_index, | |||
const Index | scat_lon_index, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8154 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by cloud_fieldsCalc(), and dtauc_ssalbCalc().
void opt_prop_sptFromData | ( | Tensor3 & | ext_mat_spt, | |
Matrix & | abs_vec_spt, | |||
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | scat_za_index, | |||
const Index & | scat_aa_index, | |||
const Index & | f_index, | |||
const Vector & | f_grid, | |||
const Numeric & | rte_temperature, | |||
const Tensor4 & | pnd_field, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: opt_prop_sptFromData.
Calculates opticle properties for the single particle types.
In this function extinction matrix and absorption vector are calculated in the laboratory frame. These properties are required for the RT calculation, inside the the i_fieldUpdateXXX functions.
The interpolation of the data on the actual frequency is the first step in this function.
Then the transformation from the database coordinate system to to laboratory coordinate system is done.
Output of the function are *ext_mat_spt*, and *abs_vec_spt* which hold the optical properties for a specified propagation direction for each particle type.
[out] | ext_mat_spt | WS Output |
[out] | abs_vec_spt | WS Output |
[in] | scat_data_raw | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | scat_za_index | WS Input |
[in] | scat_aa_index | WS Input |
[in] | f_index | WS Input |
[in] | f_grid | WS Input |
[in] | rte_temperature | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 313 of file m_optproperties.cc.
References aa_datagrid, abs_vec_data_raw, abs_vecTransform(), ext_mat_data_raw, ext_matTransform(), f_datagrid, gridpos(), interp(), interpweights(), joker, ConstTensor3View::ncols(), Array< base >::nelem(), ConstTensor3View::npages(), ConstMatrixView::nrows(), part_type, pnd_limit, Vector::resize(), Tensor3::resize(), Matrix::resize(), T_datagrid, and za_datagrid.
Referenced by opt_prop_sptFromData_g().
Definition at line 3470 of file auto_md.cc.
References MRecord::In(), opt_prop_sptFromData(), and MRecord::Out().
void opt_prop_sptFromMonoData | ( | Tensor3 & | ext_mat_spt, | |
Matrix & | abs_vec_spt, | |||
const ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | scat_za_index, | |||
const Index & | scat_aa_index, | |||
const Numeric & | rte_temperature, | |||
const Tensor4 & | pnd_field, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: opt_prop_sptFromMonoData.
Calculates optical properties for the single particle types.
In this function extinction matrix and absorption vector are calculated in the laboratory frame. The single scattering data is obtained from scat_data_mono, so frequency interpolation is not required
Output of the function are *ext_mat_spt*, and *abs_vec_spt* which hold the optical properties for a specified propagation direction for each particle type.
[out] | ext_mat_spt | WS Output |
[out] | abs_vec_spt | WS Output |
[in] | scat_data_mono | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | scat_za_index | WS Input |
[in] | scat_aa_index | WS Input |
[in] | rte_temperature | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 1177 of file m_optproperties.cc.
References abs_vecTransform(), ext_matTransform(), gridpos(), interp(), interpweights(), joker, ConstTensor3View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), ConstTensor3View::npages(), ConstMatrixView::nrows(), and pnd_limit.
Referenced by opt_prop_sptFromMonoData_g().
Definition at line 3488 of file auto_md.cc.
References MRecord::In(), opt_prop_sptFromMonoData(), and MRecord::Out().
void output_file_formatSetAscii | ( | String & | output_file_format | ) |
WORKSPACE METHOD: output_file_formatSetAscii.
Sets the output file format to ASCII.
[out] | output_file_format | WS Output |
Definition at line 162 of file m_xml.h.
Referenced by output_file_formatSetAscii_g().
Definition at line 3504 of file auto_md.cc.
References MRecord::Out(), and output_file_formatSetAscii().
void output_file_formatSetBinary | ( | String & | output_file_format | ) |
WORKSPACE METHOD: output_file_formatSetBinary.
Sets the output file format to binary.
[out] | output_file_format | WS Output |
Definition at line 180 of file m_xml.h.
Referenced by output_file_formatSetBinary_g().
Definition at line 3509 of file auto_md.cc.
References MRecord::Out(), and output_file_formatSetBinary().
void output_file_formatSetZippedAscii | ( | String & | output_file_format | ) |
WORKSPACE METHOD: output_file_formatSetZippedAscii.
Sets the output file format to zipped ASCII.
[out] | output_file_format | WS Output |
Definition at line 171 of file m_xml.h.
Referenced by output_file_formatSetZippedAscii_g().
Definition at line 3514 of file auto_md.cc.
References MRecord::Out(), and output_file_formatSetZippedAscii().
void p_gridFromGasAbsLookup | ( | Vector & | p_grid, | |
const GasAbsLookup & | abs_lookup | |||
) |
WORKSPACE METHOD: p_gridFromGasAbsLookup.
Sets *p_grid* to the frequency grid of *abs_lookup*.
[out] | p_grid | WS Output |
[in] | abs_lookup | WS Input |
Definition at line 2013 of file m_abs_lookup.cc.
References GasAbsLookup::GetPgrid().
Referenced by p_gridFromGasAbsLookup_g().
Definition at line 3978 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and p_gridFromGasAbsLookup().
void ParticleTypeAdd | ( | ArrayOfSingleScatteringData & | scat_data_raw, | |
ArrayOfGField3 & | pnd_field_raw, | |||
const Index & | atmosphere_dim, | |||
const Vector & | f_grid, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const String & | filename_scat_data, | |||
const String & | filename_pnd_field | |||
) |
WORKSPACE METHOD: ParticleTypeAdd.
This method reads single scattering data and the corresonding particle number density fields.
The methods reads the specified files and appends the variables *scat_data_raw* and *pnd_field_raw*.
Keywords: <br> filename_scat_data : Filename of single scattering data. <br> filename_pnd_field : Filename of the corresponding pnd_field <br> (format here is GField3).
[out] | scat_data_raw | WS Output |
[out] | pnd_field_raw | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | f_grid | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | filename_scat_data | Generic Input |
[in] | filename_pnd_field | Generic Input |
Definition at line 983 of file m_cloudbox.cc.
References chk_atm_grids(), chk_if_in_range(), chk_if_increasing(), chk_pnd_data(), chk_single_scattering_data(), my_basic_string< charT >::nelem(), ConstVectorView::nelem(), Array< base >::nelem(), out1, out2, and xml_read_from_file().
Referenced by ParticleTypeAdd_g().
Definition at line 3533 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ParticleTypeAdd().
void ParticleTypeAddAll | ( | ArrayOfSingleScatteringData & | scat_data_raw, | |
ArrayOfGField3 & | pnd_field_raw, | |||
const Index & | atmosphere_dim, | |||
const Vector & | f_grid, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const String & | filename_scat_data, | |||
const String & | filename_pnd_field | |||
) |
WORKSPACE METHOD: ParticleTypeAddAll.
Read single scattering data and particle number densities.
The WSV *pnd_field_raw* containing particle number densities for all hydrometeor species can be generated outside ARTS, for example by using PyARTS. This method needs as input a file containing filenames of single scattering data and a file containing the corresponding pnd_field_raw*.
Very important note: The order of the filenames for the scattering data files has to correspond to the order of the particle types in the file including the variable *pnd_field_raw*!
Keywords: <br> filename_scat_data : File containing an <br> ArrayOfString of filenames of single scattering data files <br> corresponding the the particle number densities in <br> *pnd_field_raw*. <br> filename_pnd_field : File including the WSV *pnd_field_raw*.
[out] | scat_data_raw | WS Output |
[out] | pnd_field_raw | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | f_grid | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | filename_scat_data | Generic Input |
[in] | filename_pnd_field | Generic Input |
Definition at line 923 of file m_cloudbox.cc.
References chk_atm_grids(), chk_if_in_range(), chk_if_increasing(), chk_pnd_raw_data(), chk_single_scattering_data(), ConstVectorView::nelem(), Array< base >::nelem(), out2, and xml_read_from_file().
Referenced by ParticleTypeAddAll_g().
Definition at line 3519 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ParticleTypeAddAll().
void ParticleTypeInit | ( | ArrayOfSingleScatteringData & | scat_data_raw, | |
ArrayOfGField3 & | pnd_field_raw | |||
) |
WORKSPACE METHOD: ParticleTypeInit.
This method initializes variables containing data about the optical properties of particles (*scat_data_raw*) and about the particle number distribution (*pnd_field_raw*)
ParticleTypeInit* has to be executed before executing ParticleTypeAdd(All)*.
[out] | scat_data_raw | WS Output |
[out] | pnd_field_raw | WS Output |
Definition at line 912 of file m_cloudbox.cc.
Referenced by ParticleTypeInit_g().
void pha_mat_spt_agendaExecute | ( | Workspace & | ws, | |
Tensor5 & | pha_mat_spt, | |||
const Index | scat_za_index, | |||
const Index | scat_lat_index, | |||
const Index | scat_lon_index, | |||
const Index | scat_p_index, | |||
const Index | scat_aa_index, | |||
const Numeric | rte_temperature, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8230 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by doit_scat_fieldCalc(), and doit_scat_fieldCalcLimb().
void pha_mat_sptFromData | ( | Tensor5 & | pha_mat_spt, | |
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Vector & | scat_za_grid, | |||
const Vector & | scat_aa_grid, | |||
const Index & | scat_za_index, | |||
const Index & | scat_aa_index, | |||
const Index & | f_index, | |||
const Vector & | f_grid, | |||
const Numeric & | rte_temperature, | |||
const Tensor4 & | pnd_field, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: pha_mat_sptFromData.
Calculation of the phase matrix for the single particle types.
This function can be used in *pha_mat_spt_agenda* as part of the calculation of the scattering integral.
The interpolation of the data on the actual frequency is the first step in this function.
Then the transformation from the database coordinate system to to laboratory coordinate system is done.
[out] | pha_mat_spt | WS Output |
[in] | scat_data_raw | WS Input |
[in] | scat_za_grid | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | scat_za_index | WS Input |
[in] | scat_aa_index | WS Input |
[in] | f_index | WS Input |
[in] | f_grid | WS Input |
[in] | rte_temperature | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 72 of file m_optproperties.cc.
References aa_datagrid, f_datagrid, gridpos(), interp(), interpweights(), joker, ConstTensor5View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), ConstTensor5View::nshelves(), out3, part_type, pha_mat_data_raw, pha_matTransform(), pnd_limit, T_datagrid, and za_datagrid.
Referenced by pha_mat_sptFromData_g().
Definition at line 3564 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and pha_mat_sptFromData().
void pha_mat_sptFromDataDOITOpt | ( | Tensor5 & | pha_mat_spt, | |
const ArrayOfTensor7 & | pha_mat_sptDOITOpt, | |||
const ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Index & | doit_za_grid_size, | |||
const Vector & | scat_aa_grid, | |||
const Index & | scat_za_index, | |||
const Index & | scat_aa_index, | |||
const Numeric & | rte_temperature, | |||
const Tensor4 & | pnd_field, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: pha_mat_sptFromDataDOITOpt.
Calculation of the phase matrix for the single particle types.
In this function the phase matrix is extracted from pha_mat_sptDOITOpt*. It can be used in the agenda pha_mat_spt_agenda*. This method must be used in <br> conbination with *ScatteringDataPrepareDOITOpt*.
[out] | pha_mat_spt | WS Output |
[in] | pha_mat_sptDOITOpt | WS Input |
[in] | scat_data_mono | WS Input |
[in] | doit_za_grid_size | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | scat_za_index | WS Input |
[in] | scat_aa_index | WS Input |
[in] | rte_temperature | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 185 of file m_optproperties.cc.
References gridpos(), interp(), interpweights(), joker, ConstTensor5View::ncols(), ConstTensor4View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), nlinspace(), ConstTensor5View::nshelves(), and pnd_limit.
Referenced by pha_mat_sptFromDataDOITOpt_g().
Definition at line 3596 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and pha_mat_sptFromDataDOITOpt().
void pha_mat_sptFromMonoData | ( | Tensor5 & | pha_mat_spt, | |
const ArrayOfSingleScatteringData & | scat_data_mono, | |||
const Index & | doit_za_grid_size, | |||
const Vector & | scat_aa_grid, | |||
const Index & | scat_za_index, | |||
const Index & | scat_aa_index, | |||
const Numeric & | rte_temperature, | |||
const Tensor4 & | pnd_field, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: pha_mat_sptFromMonoData.
Calculation of the phase matrix for the single particle types.
This function is the monchromatic version of *pha_mat_sptFromData*.
[out] | pha_mat_spt | WS Output |
[in] | scat_data_mono | WS Input |
[in] | doit_za_grid_size | WS Input |
[in] | scat_aa_grid | WS Input |
[in] | scat_za_index | WS Input |
[in] | scat_aa_index | WS Input |
[in] | rte_temperature | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 1315 of file m_optproperties.cc.
References gridpos(), interp(), interpweights(), joker, ConstTensor5View::ncols(), ConstVectorView::nelem(), Array< base >::nelem(), nlinspace(), ConstTensor5View::nrows(), ConstTensor5View::nshelves(), out3, pha_matTransform(), and pnd_limit.
Referenced by pha_mat_sptFromMonoData_g().
Definition at line 3581 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and pha_mat_sptFromMonoData().
void pha_matCalc | ( | Tensor4 & | pha_mat, | |
const Tensor5 & | pha_mat_spt, | |||
const Tensor4 & | pnd_field, | |||
const Index & | atmosphere_dim, | |||
const Index & | scat_p_index, | |||
const Index & | scat_lat_index, | |||
const Index & | scat_lon_index | |||
) |
WORKSPACE METHOD: pha_matCalc.
This function sums up the phase matrices for all particle types weighted with particle number density.
The output of this method is *pha_mat* (Nza, Naa, stokes_dim, stokes_dim). The inputs are the phase matrix for the single particle type *pha_mat_spt* (part_types, Nza, Naa, stokes_dim, stokes_dim) and the local particle number densities for all particle types namely the *pnd_field* (part_types, p_grid, lat_grid, lon_grid ) for given p_grid*, *lat_grid*, and *lon_grid*. The particle types required are specified in the control file.
[out] | pha_mat | WS Output |
[in] | pha_mat_spt | WS Input |
[in] | pnd_field | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | scat_p_index | WS Input |
[in] | scat_lat_index | WS Input |
[in] | scat_lon_index | WS Input |
Definition at line 804 of file m_optproperties.cc.
References ConstTensor5View::nbooks(), ConstTensor5View::npages(), ConstTensor5View::nrows(), ConstTensor5View::nshelves(), and Tensor4::resize().
Referenced by doit_scat_fieldCalc(), doit_scat_fieldCalcLimb(), and pha_matCalc_g().
Definition at line 3553 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and pha_matCalc().
void pnd_fieldCalc | ( | Tensor4 & | pnd_field, | |
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const ArrayOfGField3 & | pnd_field_raw, | |||
const Index & | atmosphere_dim, | |||
const ArrayOfIndex & | cloudbox_limits | |||
) |
WORKSPACE METHOD: pnd_fieldCalc.
Interpolate the particle number density fields.
This methods interpolates the particle number density field from the raw data *pnd_field_raw* to pnd_field* which is definded on sub-grids of *p_grid*, *lat_grid*, *lon_grid*, exactly on the part of the atmosphere where the cloudbox is defined.
The method takes as input the *pnd_field_raw* which contains the particle number density for each particle type.
[out] | pnd_field | WS Output |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | pnd_field_raw | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | cloudbox_limits | WS Input |
Definition at line 1048 of file m_cloudbox.cc.
References chk_atm_grids(), GFIELD3_LAT_GRID, GFIELD3_LON_GRID, GFIELD3_P_GRID, gridpos(), interp(), interpweights(), joker, Array< base >::nelem(), p2gridpos(), and Tensor4::resize().
Referenced by pnd_fieldCalc_g().
Definition at line 3612 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and pnd_fieldCalc().
void ppath_step_agendaExecute | ( | Workspace & | ws, | |
Ppath & | ppath_step, | |||
const Index | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8306 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by cloud_ppath_update1D(), cloud_ppath_update1D_noseq(), cloud_ppath_update3D(), Cloudbox_ppathCalc(), ppath_calc(), and ppath_step_in_cloudbox().
void ppath_stepGeometric | ( | Ppath & | ppath_step, | |
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Numeric & | ppath_lmax | |||
) |
WORKSPACE METHOD: ppath_stepGeometric.
Calculates a geometrical propagation path step.
This function determines a propagation path step by pure geometrical calculations. That is, refraction is neglected. Path points are always included for crossings with the grids, tangent points and points of surface intersections. The WSV *ppath_lmax* gives the option to include additional points to ensure that the distance along the path between the points does not exceed the selected maximum length. No additional points are included if ppath_lmax* is set to <= 0.
As functions of this kind should very seldom be called directly, and that the functions can be called a high number of times, these functions do not perform any checks of the input that give detailed error messages, but asserts are performed (if turned on).
For further information, type see the on-line information for ppath_step_agenda* (type "arts -d ppath_step_agenda").
[out] | ppath_step | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | ppath_lmax | WS Input |
Definition at line 239 of file m_ppath.cc.
References joker, ppath_step_geom_1d(), ppath_step_geom_2d(), and ppath_step_geom_3d().
Referenced by ppath_stepGeometric_g().
Definition at line 3641 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ppath_stepGeometric().
void ppath_stepRefractionEuler | ( | Workspace & | ws, | |
Ppath & | ppath_step, | |||
Numeric & | rte_pressure, | |||
Numeric & | rte_temperature, | |||
Vector & | rte_vmr_list, | |||
Numeric & | refr_index, | |||
const Agenda & | refr_index_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Numeric & | ppath_lmax, | |||
const Numeric & | ppath_lraytrace | |||
) |
WORKSPACE METHOD: ppath_stepRefractionEuler.
Calculates a propagation path step, considering refraction by a straightforward Euler approach.
Refraction is taken into account by probably the simplest approach possible. The path is treated to consist of piece-wise geometric steps. A geometric path step is calculated from each point by using the local line-of-sight. Except for 1D zenith angles, the path quantities are propagated by solving the differential equations by the Euler method. Snell's law for spherical symmetry is used for 1D to update the zenith angles.
See further the on-line information for *ppath_stepGeometric* (type "arts -d ppath_stepGeometric") and the user guide for more details on the algorithms used.
The maximum length of each ray tracing step is given by the WSV ppath_lraytrace*. The length will never exceed the given maximum value, but can be smaller. The ray tracing steps are only used to determine the path. Points to describe the path for RteCalc* are included as for *ppath_stepGeometric*, this including the functionality of *ppath_lmax*.
[in,out] | ws | Workspace |
[out] | ppath_step | WS Output |
[out] | rte_pressure | WS Output |
[out] | rte_temperature | WS Output |
[out] | rte_vmr_list | WS Output |
[out] | refr_index | WS Output |
[in] | refr_index_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | ppath_lmax | WS Input |
[in] | ppath_lraytrace | WS Input |
Definition at line 276 of file m_ppath.cc.
References joker, ppath_step_refr_1d(), ppath_step_refr_2d(), and ppath_step_refr_3d().
Referenced by ppath_stepRefractionEuler_g().
Definition at line 3654 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ppath_stepRefractionEuler().
void ppathCalc | ( | Workspace & | ws, | |
Ppath & | ppath, | |||
const Agenda & | ppath_step_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Index & | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Vector & | rte_pos, | |||
const Vector & | rte_los | |||
) |
WORKSPACE METHOD: ppathCalc.
Main function for calculation of propagation paths.
There exists only one function to calculate total propagation paths and this is that function. The function is normally not visible in the control file, it is called from inside *RteCalc*. A reason to call this function directly would be to plot a propgation path.
The definition of a propgation path cannot be accomodated here. For more information read the chapter on propagation paths in the ARTS user guide and read the on-line information for ppath_step_agenda* (type "arts -d ppath_step_agenda").
[in,out] | ws | Workspace |
[out] | ppath | WS Output |
[in] | ppath_step_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | cloudbox_on | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | rte_pos | WS Input |
[in] | rte_los | WS Input |
Definition at line 214 of file m_ppath.cc.
References ppath_calc().
Referenced by ppathCalc_g().
Definition at line 3623 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ppathCalc().
void Print | ( | const T & | gin1, | |
const Index & | level | |||
) | [inline] |
WORKSPACE METHOD: Print.
Prints a variable on the screen.
Keywords: <br> level : Output level to use.
[in] | gin1 | Generic Input |
[in] | level | Generic Input (Default: "1") |
Definition at line 70 of file m_general.h.
References SWITCH_OUTPUT.
Referenced by Print(), Print_sg_Agenda_g(), Print_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), Print_sg_ArrayOfArrayOfGField1_g(), Print_sg_ArrayOfArrayOfGField3_g(), Print_sg_ArrayOfArrayOfIndex_g(), Print_sg_ArrayOfArrayOfLineRecord_g(), Print_sg_ArrayOfArrayOfMatrix_g(), Print_sg_ArrayOfArrayOfSpeciesTag_g(), Print_sg_ArrayOfArrayOfTensor3_g(), Print_sg_ArrayOfArrayOfTensor6_g(), Print_sg_ArrayOfGField1_g(), Print_sg_ArrayOfGField2_g(), Print_sg_ArrayOfGField3_g(), Print_sg_ArrayOfGField4_g(), Print_sg_ArrayOfIndex_g(), Print_sg_ArrayOfLineRecord_g(), Print_sg_ArrayOfLineshapeSpec_g(), Print_sg_ArrayOfMatrix_g(), Print_sg_ArrayOfPpath_g(), Print_sg_ArrayOfRetrievalQuantity_g(), Print_sg_ArrayOfSingleScatteringData_g(), Print_sg_ArrayOfString_g(), Print_sg_ArrayOfTensor3_g(), Print_sg_ArrayOfTensor4_g(), Print_sg_ArrayOfTensor6_g(), Print_sg_ArrayOfTensor7_g(), Print_sg_ArrayOfVector_g(), Print_sg_GasAbsLookup_g(), Print_sg_GField1_g(), Print_sg_GField2_g(), Print_sg_GField3_g(), Print_sg_GField4_g(), Print_sg_GridPos_g(), Print_sg_Index_g(), Print_sg_Matrix_g(), Print_sg_MCAntenna_g(), Print_sg_Numeric_g(), Print_sg_Ppath_g(), Print_sg_SingleScatteringData_g(), Print_sg_SLIData2_g(), Print_sg_Sparse_g(), Print_sg_String_g(), Print_sg_Tensor3_g(), Print_sg_Tensor4_g(), Print_sg_Tensor5_g(), Print_sg_Tensor6_g(), Print_sg_Tensor7_g(), Print_sg_Timer_g(), and Print_sg_Vector_g().
void r_geoidSpherical | ( | Matrix & | r_geoid, | |
const Index & | atmosphere_dim, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Numeric & | r | |||
) |
WORKSPACE METHOD: r_geoidSpherical.
Sets the geoid to be a perfect sphere.
The radius of the sphere is selected by the keyword argument *r*. If the keyword is set to be negative, the radius is set to the global internal variable *EARTH_RADIUS*, defined in constants.cc.
Keywords: <br> r : Radius of geoid sphere. See further above.
[out] | r_geoid | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | r | Generic Input |
Definition at line 265 of file m_surface.cc.
References chk_atm_grids(), chk_if_in_range(), EARTH_RADIUS, ConstMatrixView::ncols(), ConstVectorView::nelem(), ConstMatrixView::nrows(), out2, out3, and Matrix::resize().
Referenced by r_geoidSpherical_g().
Definition at line 4693 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and r_geoidSpherical().
void r_geoidWGS84 | ( | Matrix & | r_geoid, | |
const Index & | atmosphere_dim, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Numeric & | lat_1d, | |||
const Numeric & | meridian_angle_1d | |||
) |
WORKSPACE METHOD: r_geoidWGS84.
Sets the geoid radius to match the WGS-84 reference ellipsoid.
For 1D, the geoid radius is set to the radius of curvature of the WGS-84 ellipsoid for the position and observation direction described with *lat_1d* and *meridian_angle_1d*. For 2D and 3D, *r_geoid* is set to the radius of the WGS-84 ellipsoid for the crossing points of the latitude and longitude grids.
Please note that the latitude grid must contain true latitudes if the function shall give correct result, and not just arbitrary orbit angles which is allowed for 2D cases.
[out] | r_geoid | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | lat_1d | WS Input |
[in] | meridian_angle_1d | WS Input |
Definition at line 304 of file m_surface.cc.
References chk_atm_grids(), chk_if_in_range(), DEG2RAD, ConstMatrixView::ncols(), ConstVectorView::nelem(), ConstMatrixView::nrows(), out2, out3, and Matrix::resize().
Referenced by r_geoidWGS84_g(), and sensor_posAddGeoidWGS84().
Definition at line 4702 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and r_geoidWGS84().
void ReadNetCDF | ( | T & | gout1, | |
const String & | gout1_wsvname, | |||
const String & | filename, | |||
const String & | filename_wsvname | |||
) | [inline] |
WORKSPACE METHOD: ReadNetCDF.
Reads a workspace variable from a NetCDF file.
This is a supergeneric method. It can read variables of any group.
If the filename is omitted, the variable is read from <basename>.<variable_name>.nc.
[out] | gout1 | Supergeneric output |
[in] | gout1_wsvname | Generic Output Name |
[in] | filename | Generic Input |
[in] | filename_wsvname | Generic Input Name |
Definition at line 80 of file m_nc.h.
Referenced by ReadNetCDF(), ReadNetCDF_sg_ArrayOfMatrix_g(), ReadNetCDF_sg_ArrayOfVector_g(), ReadNetCDF_sg_Matrix_g(), ReadNetCDF_sg_Tensor3_g(), ReadNetCDF_sg_Tensor4_g(), and ReadNetCDF_sg_Vector_g().
Definition at line 4024 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadNetCDF(), and Workspace::wsv_data.
Definition at line 4016 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadNetCDF(), and Workspace::wsv_data.
Definition at line 3992 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadNetCDF(), and Workspace::wsv_data.
Definition at line 4000 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadNetCDF(), and Workspace::wsv_data.
Definition at line 4008 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadNetCDF(), and Workspace::wsv_data.
Definition at line 3984 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadNetCDF(), and Workspace::wsv_data.
void ReadXML | ( | T & | gout1, | |
const String & | gout1_wsvname, | |||
const String & | filename, | |||
const String & | filename_wsvname | |||
) | [inline] |
WORKSPACE METHOD: ReadXML.
Reads a workspace variable from an XML file.
This is a supergeneric method. It can read variables of any group.
If the filename is omitted, the variable is read from <basename>.<variable_name>.xml.
[out] | gout1 | Supergeneric output |
[in] | gout1_wsvname | Generic Output Name |
[in] | filename | Generic Input |
[in] | filename_wsvname | Generic Input Name |
Definition at line 37 of file m_xml.h.
References filename_xml(), and xml_read_from_file().
Referenced by ReadXML(), ReadXML_sg_Agenda_g(), ReadXML_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), ReadXML_sg_ArrayOfArrayOfGField1_g(), ReadXML_sg_ArrayOfArrayOfGField3_g(), ReadXML_sg_ArrayOfArrayOfIndex_g(), ReadXML_sg_ArrayOfArrayOfLineRecord_g(), ReadXML_sg_ArrayOfArrayOfMatrix_g(), ReadXML_sg_ArrayOfArrayOfSpeciesTag_g(), ReadXML_sg_ArrayOfArrayOfTensor3_g(), ReadXML_sg_ArrayOfArrayOfTensor6_g(), ReadXML_sg_ArrayOfGField1_g(), ReadXML_sg_ArrayOfGField2_g(), ReadXML_sg_ArrayOfGField3_g(), ReadXML_sg_ArrayOfGField4_g(), ReadXML_sg_ArrayOfIndex_g(), ReadXML_sg_ArrayOfLineRecord_g(), ReadXML_sg_ArrayOfLineshapeSpec_g(), ReadXML_sg_ArrayOfMatrix_g(), ReadXML_sg_ArrayOfPpath_g(), ReadXML_sg_ArrayOfRetrievalQuantity_g(), ReadXML_sg_ArrayOfSingleScatteringData_g(), ReadXML_sg_ArrayOfString_g(), ReadXML_sg_ArrayOfTensor3_g(), ReadXML_sg_ArrayOfTensor4_g(), ReadXML_sg_ArrayOfTensor6_g(), ReadXML_sg_ArrayOfTensor7_g(), ReadXML_sg_ArrayOfVector_g(), ReadXML_sg_GasAbsLookup_g(), ReadXML_sg_GField1_g(), ReadXML_sg_GField2_g(), ReadXML_sg_GField3_g(), ReadXML_sg_GField4_g(), ReadXML_sg_GridPos_g(), ReadXML_sg_Index_g(), ReadXML_sg_Matrix_g(), ReadXML_sg_MCAntenna_g(), ReadXML_sg_Numeric_g(), ReadXML_sg_Ppath_g(), ReadXML_sg_SingleScatteringData_g(), ReadXML_sg_SLIData2_g(), ReadXML_sg_Sparse_g(), ReadXML_sg_String_g(), ReadXML_sg_Tensor3_g(), ReadXML_sg_Tensor4_g(), ReadXML_sg_Tensor5_g(), ReadXML_sg_Tensor6_g(), ReadXML_sg_Tensor7_g(), ReadXML_sg_Timer_g(), and ReadXML_sg_Vector_g().
Definition at line 4272 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4288 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4384 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4392 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4136 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4232 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4168 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4248 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4184 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4216 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4352 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4360 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4368 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4376 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4128 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4224 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4240 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4160 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4264 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4400 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4312 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4144 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4176 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4192 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4200 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4208 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4152 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4296 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4320 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4328 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4336 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4344 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4280 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4032 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4064 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4408 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4040 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4256 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4304 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4416 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4072 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4048 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4080 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4088 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4096 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4104 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4112 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4120 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
Definition at line 4056 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), ReadXML(), and Workspace::wsv_data.
void refr_index_agendaExecute | ( | Workspace & | ws, | |
Numeric & | refr_index, | |||
const Numeric | rte_pressure, | |||
const Numeric | rte_temperature, | |||
const Vector & | rte_vmr_list, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8385 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by get_refr_index_1d(), get_refr_index_2d(), and get_refr_index_3d().
void refr_indexFieldAndGradients | ( | Workspace & | ws, | |
Numeric & | refr_index, | |||
Numeric & | rte_pressure, | |||
Numeric & | rte_temperature, | |||
Vector & | rte_vmr_list, | |||
Tensor4 & | gout1, | |||
const Agenda & | refr_index_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Matrix & | r_geoid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const Vector & | gin1, | |||
const Vector & | gin2, | |||
const Vector & | gin3 | |||
) |
WORKSPACE METHOD: refr_indexFieldAndGradients.
Calculates the field and gradients of the refractive index.
This function calculates the refractive index and its gradients for a rectangular grid.
Calculations are performed for all combinations of the given vectors, where the first vector shall contain pressure values, the second latitude values, and the last longitude values. For dimensions not used, the corresponding position vector is ignored.
The calculated values form a Tensor4, with size: <br> [atmosphere_dim+1, np, nlat, nlon] where np is the number of pressures given etc. The book of the tensor with the following index holds: <br> 0: the refractive index <br> 1: radial gradient of the refractive index <br> 2: latitude gradient of the refractive index <br> 3: longitude gradient of the refractive index
To calculate these quantities for the atmsopheric mesh, execute: <br> RefrIndexFieldAndGradients(tensor4_1,p_grid,lat_grid,lon_grid)
[in,out] | ws | Workspace |
[out] | refr_index | WS Output |
[out] | rte_pressure | WS Output |
[out] | rte_temperature | WS Output |
[out] | rte_vmr_list | WS Output |
[out] | gout1 | Generic output |
[in] | refr_index_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | r_geoid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | gin3 | Generic Input |
Definition at line 58 of file m_refraction.cc.
References chk_atm_field(), chk_atm_grids(), chk_atm_surface(), chk_if_in_range(), gridpos(), interp(), interpweights(), joker, ConstVectorView::nelem(), p2gridpos(), refr_gradients_1d(), refr_gradients_2d(), refr_gradients_3d(), Tensor4::resize(), z_at_lat_2d(), and z_at_latlon().
Referenced by refr_indexFieldAndGradients_g().
Definition at line 4424 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and refr_indexFieldAndGradients().
void refr_indexIR | ( | Numeric & | refr_index, | |
const Numeric & | rte_pressure, | |||
const Numeric & | rte_temperature, | |||
const Vector & | rte_vmr_list | |||
) |
WORKSPACE METHOD: refr_indexIR.
Calculates the IR refractive index due to gases in the Earth's atmosphere.
Only refractivity of dry air is considered. The formula used is contributed by Michael Hoefner,bForschungszentrum Karlsruhe.
[out] | refr_index | WS Output |
[in] | rte_pressure | WS Input |
[in] | rte_temperature | WS Input |
[in] | rte_vmr_list | WS Input |
Definition at line 207 of file m_refraction.cc.
References ConstVectorView::nelem(), and refr_index_ir().
Referenced by refr_indexIR_g().
Definition at line 4446 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and refr_indexIR().
void refr_indexThayer | ( | Numeric & | refr_index, | |
const Numeric & | rte_pressure, | |||
const Numeric & | rte_temperature, | |||
const Vector & | rte_vmr_list, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species | |||
) |
WORKSPACE METHOD: refr_indexThayer.
Calculates the microwave refractive index due to gases in the Earth's atmosphere.
The refractivity of dry air and water vapour is summed. All other gases are assumed ti have a negligible contribution.
The parameterisation of Thayer (Radio Science, 9, 803-807, 1974) is used. See also Eq. 3 and 5 of Solheim et al. (JGR, 104, pp. 9664).
[out] | refr_index | WS Output |
[in] | rte_pressure | WS Input |
[in] | rte_temperature | WS Input |
[in] | rte_vmr_list | WS Input |
[in] | abs_species | WS Input |
Definition at line 223 of file m_refraction.cc.
References find_first_species_tg(), ConstVectorView::nelem(), Array< base >::nelem(), refr_index_thayer_1974(), and species_index_from_species_name().
Referenced by refr_indexThayer_g().
Definition at line 4454 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and refr_indexThayer().
void refr_indexUnit | ( | Numeric & | refr_index | ) |
WORKSPACE METHOD: refr_indexUnit.
Sets the refractive index to 1.
If this method is used, the obtained path should be identical to the geomtrical path.
As this function does not need any input, you have to include call of *Ignore* for all variables expected to be used by refr_index_agenda*.
[out] | refr_index | WS Output |
Definition at line 247 of file m_refraction.cc.
Referenced by refr_indexUnit_g().
void rte_agendaExecute | ( | Workspace & | ws, | |
Matrix & | iy, | |||
ArrayOfTensor4 & | diy_dvmr, | |||
ArrayOfTensor4 & | diy_dt, | |||
const Ppath & | ppath, | |||
const ArrayOfPpath & | ppath_array, | |||
const Index | ppath_array_index, | |||
const ArrayOfIndex & | rte_do_vmr_jacs, | |||
const Index | rte_do_t_jacs, | |||
const Index | stokes_dim, | |||
const Vector & | f_grid, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8452 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by iy_calc().
void rte_losSet | ( | Vector & | rte_los, | |
const Index & | atmosphere_dim, | |||
const Numeric & | za, | |||
const Numeric & | aa | |||
) |
WORKSPACE METHOD: rte_losSet.
Sets *rte_los* to the given angles.
The keyword argument *za* is put in as first element of *rte_los* and *aa* as the second element. However, when *atmosphere_dim* is set to 1D or 2D, the length of *rte_los* is set to 1 and only the given zenith angle is considered.
Keywords: <br> za : Zenith angle of sensor line-of-sight. <br> aa : Azimuth angle of sensor line-of-sight.
[out] | rte_los | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | za | Generic Input |
[in] | aa | Generic Input |
Definition at line 65 of file m_ppath.cc.
References chk_if_in_range(), and Vector::resize().
Referenced by rte_losSet_g().
Definition at line 4631 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and rte_losSet().
void rte_pos_and_losFromTangentPressure | ( | Workspace & | ws, | |
Vector & | rte_pos, | |||
Vector & | rte_los, | |||
Ppath & | ppath, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Tensor3 & | z_field, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Agenda & | ppath_step_agenda, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Numeric & | tan_p | |||
) |
WORKSPACE METHOD: rte_pos_and_losFromTangentPressure.
If you are doing limb calculations it can be useful to specify viewing direction and sensor position by the tangent pressure. This function takes tan_p as a keyword argument and sets rte_los and rte_pos to the apropriate position on the edge of the modelled atmosphere
This function is a work in progress. Only 1D is currently supported
[in,out] | ws | Workspace |
[out] | rte_pos | WS Output |
[out] | rte_los | WS Output |
[out] | ppath | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | z_field | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | ppath_step_agenda | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | tan_p | Generic Input |
Definition at line 154 of file m_ppath.cc.
References gridpos(), GridPos::idx, interp(), interpweights(), joker, Ppath::los, ConstVectorView::nelem(), Ppath::np, out1, Ppath::pos, ppath_calc(), and Vector::resize().
Referenced by rte_pos_and_losFromTangentPressure_g().
Definition at line 4676 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and rte_pos_and_losFromTangentPressure().
void rte_posAddGeoidWGS84 | ( | Vector & | rte_pos, | |
const Index & | atmosphere_dim, | |||
const Numeric & | lat_1d, | |||
const Numeric & | meridian_angle_1d | |||
) |
WORKSPACE METHOD: rte_posAddGeoidWGS84.
Adds a geoid radius according to WGS-84 to a geometric altitude.
This function assumes that the first element of *rte_pos* is set to the geometric altitude for the position of the sensor. The variable *rte_pos* shall contain the radius instead of the altitude and that can be achieved by this function. The function adds a geoid radius to the given altitude. The geoid radius is taken from the WGS-84 reference ellipsoid.
For 1D, the geoid radius is set to the radius of curvature of the WGS-84 ellipsoid for the position and observation direction described with *lat_1d* and *meridian_angle_1d*. For 2D and 3D, the geoid radius is set to the radius of the WGS-84 ellipsoid for the latitude value in *rte_pos*.
[out] | rte_pos | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | lat_1d | WS Input |
[in] | meridian_angle_1d | WS Input |
Definition at line 89 of file m_ppath.cc.
References chk_if_in_range(), chk_vector_length(), joker, ConstVectorView::nelem(), and sensor_posAddGeoidWGS84().
Referenced by rte_posAddGeoidWGS84_g().
Definition at line 4639 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and rte_posAddGeoidWGS84().
void rte_posAddRgeoid | ( | Vector & | rte_pos, | |
const Index & | atmosphere_dim, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Matrix & | r_geoid | |||
) |
WORKSPACE METHOD: rte_posAddRgeoid.
Adds a geoid radius by interpolating *r_geoid*.
This function assumes that the first element of *rte_pos* is set to the geometric altitude for the position of the sensor. The variable *rte_pos* shall contain the radius instead of the altitude and that can be achieved by this function. The function adds a geoid radius to the given altitude. The geoid radius is obtained by interpolation of *r_geoid*. There is an error if the given position is outside the latitude and longitude grids.
[out] | rte_pos | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | r_geoid | WS Input |
Definition at line 110 of file m_ppath.cc.
References chk_if_in_range(), chk_vector_length(), joker, ConstVectorView::nelem(), and sensor_posAddRgeoid().
Referenced by rte_posAddRgeoid_g().
Definition at line 4647 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and rte_posAddRgeoid().
void rte_posSet | ( | Vector & | rte_pos, | |
const Index & | atmosphere_dim, | |||
const Numeric & | r_or_z, | |||
const Numeric & | lat, | |||
const Numeric & | lon | |||
) |
WORKSPACE METHOD: rte_posSet.
Sets *rte_pos* to the given co-ordinates.
The keyword argument *r_or_z* is put in as first element of rte_pos*, *lat* as the second element and *lon* as third element. However, the length of *rte_pos* is set to *atmosphere_dim* and keyword arguments for dimensions not used are ignored.
The first keyword argument can either be a radius, or an altitude above the geoid. In the latter case, a function such as rte_posAddGeoidWGS84* could be called to obtain a radius as first element of *rte_pos*.
Keywords: <br> r_or_z : Radius or geometrical altitude of sensor position. <br> lat : Latitude of sensor position. <br> lon : Longitude of sensor position.
[out] | rte_pos | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | r_or_z | Generic Input |
[in] | lat | Generic Input |
[in] | lon | Generic Input |
Definition at line 131 of file m_ppath.cc.
References chk_if_in_range(), and Vector::resize().
Referenced by rte_posSet_g().
Definition at line 4656 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and rte_posSet().
void rte_posShift | ( | Vector & | rte_pos, | |
Vector & | rte_los, | |||
GridPos & | rte_gp_p, | |||
GridPos & | rte_gp_lat, | |||
GridPos & | rte_gp_lon, | |||
const Ppath & | ppath, | |||
const Index & | atmosphere_dim | |||
) |
WORKSPACE METHOD: rte_posShift.
Shifts rte_pos and rte_los, and rte_gp_XXX to the end of ppath.
[out] | rte_pos | WS Output |
[out] | rte_los | WS Output |
[out] | rte_gp_p | WS Output |
[out] | rte_gp_lat | WS Output |
[out] | rte_gp_lon | WS Output |
[in] | ppath | WS Input |
[in] | atmosphere_dim | WS Input |
Definition at line 1068 of file m_montecarlo.cc.
References Ppath::gp_lat, Ppath::gp_lon, Ppath::gp_p, gridpos_copy(), joker, Ppath::los, ConstMatrixView::ncols(), Ppath::np, Ppath::pos, and Vector::resize().
Referenced by rte_posShift_g().
Definition at line 4665 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and rte_posShift().
void RteCalc | ( | Workspace & | ws, | |
Vector & | y, | |||
Vector & | y_f, | |||
ArrayOfIndex & | y_pol, | |||
Matrix & | y_pos, | |||
Matrix & | y_los, | |||
Matrix & | jacobian, | |||
const Agenda & | ppath_step_agenda, | |||
const Agenda & | rte_agenda, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | iy_cloudbox_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Index & | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Sparse & | sensor_response, | |||
const Vector & | sensor_response_f, | |||
const ArrayOfIndex & | sensor_response_pol, | |||
const Vector & | sensor_response_za, | |||
const Vector & | sensor_response_aa, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | sensor_los, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | antenna_dim, | |||
const Vector & | mblock_za_grid, | |||
const Vector & | mblock_aa_grid, | |||
const ArrayOfRetrievalQuantity & | jacobian_quantities, | |||
const ArrayOfArrayOfIndex & | jacobian_indices, | |||
const String & | y_unit, | |||
const String & | jacobian_unit | |||
) |
WORKSPACE METHOD: RteCalc.
Main function for calculation of spectra.
The overall scheme to solve the radiative transfer equation (RTE) is fixed and found in this method. In short, the method calculates monochromatic spectra for all pencil beam directions and applies the sensor response on obtained radiances.
The first step is to calculate the propagation path through the atmosphere for the considered viewing direction. The next step is to determine the spectrum at the starting point of the propagation path. The start point of the propagation path can be found at the top of the atmosphere, the surface, or at the boundary or inside the cloud box. To determine the start spectrum can involve a recursive call of RteCalc (for example to calculate the radiation reflected by the surface). After this, the vector radiative transfer equation is solved to the end point of the propagation path. Finally, the response of the sensor is applied.
Analytical jacobians for gas species and temperature can be calcultaed along with the spectrum.
See further the user guide.
[in,out] | ws | Workspace |
[out] | y | WS Output |
[out] | y_f | WS Output |
[out] | y_pol | WS Output |
[out] | y_pos | WS Output |
[out] | y_los | WS Output |
[out] | jacobian | WS Output |
[in] | ppath_step_agenda | WS Input |
[in] | rte_agenda | WS Input |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | iy_cloudbox_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | abs_species | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | cloudbox_on | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | sensor_response | WS Input |
[in] | sensor_response_f | WS Input |
[in] | sensor_response_pol | WS Input |
[in] | sensor_response_za | WS Input |
[in] | sensor_response_aa | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_los | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | antenna_dim | WS Input |
[in] | mblock_za_grid | WS Input |
[in] | mblock_aa_grid | WS Input |
[in] | jacobian_quantities | WS Input |
[in] | jacobian_indices | WS Input |
[in] | y_unit | WS Input |
[in] | jacobian_unit | WS Input |
Definition at line 71 of file m_rte.cc.
References apply_y_unit(), array_species_tag_from_string(), chk_contains(), chk_not_empty(), exit_or_rethrow(), iy_calc(), jacobian_from_path_to_rgrids(), joker, mult(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), number_density(), Matrix::resize(), Vector::resize(), and rtecalc_check_input().
Referenced by RteCalc_g(), and RteCalcNoJacobian().
Definition at line 4468 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and RteCalc().
void RteCalcMC | ( | Workspace & | ws, | |
Vector & | y, | |||
Vector & | y_f, | |||
ArrayOfIndex & | y_pol, | |||
Matrix & | y_pos, | |||
Matrix & | y_los, | |||
Vector & | mc_error, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | opt_prop_gas_agenda, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Index & | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Tensor4 & | pnd_field, | |||
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Sparse & | sensor_response, | |||
const Vector & | sensor_response_f, | |||
const ArrayOfIndex & | sensor_response_pol, | |||
const Vector & | sensor_response_za, | |||
const Vector & | sensor_response_aa, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | sensor_los, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | antenna_dim, | |||
const Vector & | mblock_za_grid, | |||
const Vector & | mblock_aa_grid, | |||
const String & | y_unit, | |||
const Numeric & | mc_std_err, | |||
const Index & | mc_max_time, | |||
const Index & | mc_max_iter, | |||
const Index & | mc_z_field_is_1D | |||
) |
WORKSPACE METHOD: RteCalcMC.
As *RteCalc* but using *MCGeneral* for doing monochromatic pencil beam calculations.
This functions allows Monte Carlo (MC) calculations for sets of frequencies and sensor pos/los in a single run. Sensor responses can be included in the standard manner (as in *RteCalc*).
MC unit is set as for *MCGeneral*.No antenna pattern is included.
This function does not apply the MC approach when it comes to sensor properties. These properties are not considered when tracking photons, which is done in *MCGeneral* (but only for the antenna pattern).
The MC calculation errors are all assumed be uncorrelated and each have a normal distribution. These properties are of relevance when weighting the errors with the sensor repsonse matrix. The seed is reset for each call of *MCGeneral* to obtain uncorrelated errors.
MC control arguments (mc_std_err, mc_max_time, mc_max_iter and mc_z_field_is_1D) as for *MCGeneral*. The arguments are applied for each monochromatic pencil beam calculation individually.
[in,out] | ws | Workspace |
[out] | y | WS Output |
[out] | y_f | WS Output |
[out] | y_pol | WS Output |
[out] | y_pos | WS Output |
[out] | y_los | WS Output |
[out] | mc_error | WS Output |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | opt_prop_gas_agenda | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | cloudbox_on | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | pnd_field | WS Input |
[in] | scat_data_raw | WS Input |
[in] | sensor_response | WS Input |
[in] | sensor_response_f | WS Input |
[in] | sensor_response_pol | WS Input |
[in] | sensor_response_za | WS Input |
[in] | sensor_response_aa | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_los | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | antenna_dim | WS Input |
[in] | mblock_za_grid | WS Input |
[in] | mblock_aa_grid | WS Input |
[in] | y_unit | WS Input |
[in] | mc_std_err | WS Input |
[in] | mc_max_time | WS Input |
[in] | mc_max_iter | WS Input |
[in] | mc_z_field_is_1D | WS Input |
Definition at line 456 of file m_rte.cc.
References exit_or_rethrow(), joker, MCGeneral(), MCSetSeedFromTime(), mult(), Sparse::ncols(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), Matrix::resize(), Vector::resize(), rtecalc_check_input(), scat_data_monoCalc(), MCAntenna::set_pencil_beam(), and transform().
Referenced by RteCalcMC_g().
Definition at line 4512 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and RteCalcMC().
void RteCalcNoJacobian | ( | Workspace & | ws, | |
Vector & | y, | |||
Vector & | y_f, | |||
ArrayOfIndex & | y_pol, | |||
Matrix & | y_pos, | |||
Matrix & | y_los, | |||
const Agenda & | ppath_step_agenda, | |||
const Agenda & | rte_agenda, | |||
const Agenda & | iy_space_agenda, | |||
const Agenda & | surface_prop_agenda, | |||
const Agenda & | iy_cloudbox_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Tensor3 & | t_field, | |||
const Tensor4 & | vmr_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Index & | cloudbox_on, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Sparse & | sensor_response, | |||
const Vector & | sensor_response_f, | |||
const ArrayOfIndex & | sensor_response_pol, | |||
const Vector & | sensor_response_za, | |||
const Vector & | sensor_response_aa, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | sensor_los, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | antenna_dim, | |||
const Vector & | mblock_za_grid, | |||
const Vector & | mblock_aa_grid, | |||
const String & | y_unit | |||
) |
WORKSPACE METHOD: RteCalcNoJacobian.
As *RteCalc* but throughout ignores jacobians.
[in,out] | ws | Workspace |
[out] | y | WS Output |
[out] | y_f | WS Output |
[out] | y_pol | WS Output |
[out] | y_pos | WS Output |
[out] | y_los | WS Output |
[in] | ppath_step_agenda | WS Input |
[in] | rte_agenda | WS Input |
[in] | iy_space_agenda | WS Input |
[in] | surface_prop_agenda | WS Input |
[in] | iy_cloudbox_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | t_field | WS Input |
[in] | vmr_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | cloudbox_on | WS Input |
[in] | cloudbox_limits | WS Input |
[in] | sensor_response | WS Input |
[in] | sensor_response_f | WS Input |
[in] | sensor_response_pol | WS Input |
[in] | sensor_response_za | WS Input |
[in] | sensor_response_aa | WS Input |
[in] | sensor_pos | WS Input |
[in] | sensor_los | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | antenna_dim | WS Input |
[in] | mblock_za_grid | WS Input |
[in] | mblock_aa_grid | WS Input |
[in] | y_unit | WS Input |
Definition at line 396 of file m_rte.cc.
References jacobianOff(), and RteCalc().
Referenced by RteCalcNoJacobian_g().
Definition at line 4557 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and RteCalcNoJacobian().
void RteStd | ( | Workspace & | ws, | |
Matrix & | iy, | |||
ArrayOfTensor4 & | diy_dvmr, | |||
ArrayOfTensor4 & | diy_dt, | |||
const Ppath & | ppath, | |||
const ArrayOfPpath & | ppath_array, | |||
const Index & | ppath_array_index, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Agenda & | emission_agenda, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const ArrayOfIndex & | rte_do_vmr_jacs, | |||
const Index & | rte_do_t_jacs | |||
) |
WORKSPACE METHOD: RteStd.
Standard RTE function.
This function does a clearsky radiative transfer calculation for a given propagation path. Designed to be part of *rte_agenda*.
The overall strategy is to average basic atmospheric quantities (such as temperature) between the end points of each step of the propagation path, and to calculate source term and absorption for these averaged values.
See further the user guide.
[in,out] | ws | Workspace |
[out] | iy | WS Output |
[out] | diy_dvmr | WS Output |
[out] | diy_dt | WS Output |
[in] | ppath | WS Input |
[in] | ppath_array | WS Input |
[in] | ppath_array_index | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | emission_agenda | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | rte_do_vmr_jacs | WS Input |
[in] | rte_do_t_jacs | WS Input |
Definition at line 676 of file m_rte.cc.
References rte_std().
Referenced by RteStd_g().
void RteStdWithTransmissions | ( | Workspace & | ws, | |
Matrix & | iy, | |||
Tensor4 & | ppath_transmissions, | |||
ArrayOfTensor4 & | diy_dvmr, | |||
ArrayOfTensor4 & | diy_dt, | |||
const Ppath & | ppath, | |||
const ArrayOfPpath & | ppath_array, | |||
const Index & | ppath_array_index, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Agenda & | emission_agenda, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const ArrayOfIndex & | rte_do_vmr_jacs, | |||
const Index & | rte_do_t_jacs | |||
) |
WORKSPACE METHOD: RteStdWithTransmissions.
As *RteStd*, but also returns path transmissions.
The transmission to each point of the propagation path is returned in *ppath_transmissions*.
[in,out] | ws | Workspace |
[out] | iy | WS Output |
[out] | ppath_transmissions | WS Output |
[out] | diy_dvmr | WS Output |
[out] | diy_dt | WS Output |
[in] | ppath | WS Input |
[in] | ppath_array | WS Input |
[in] | ppath_array_index | WS Input |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | emission_agenda | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | rte_do_vmr_jacs | WS Input |
[in] | rte_do_t_jacs | WS Input |
Definition at line 702 of file m_rte.cc.
References rte_std().
Referenced by RteStdWithTransmissions_g().
Definition at line 4613 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and RteStdWithTransmissions().
void scat_data_monoCalc | ( | ArrayOfSingleScatteringData & | scat_data_mono, | |
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Vector & | f_grid, | |||
const Index & | f_index | |||
) |
WORKSPACE METHOD: scat_data_monoCalc.
Interpolates scat_data_raw by frequency to give scat_data_mono
[out] | scat_data_mono | WS Output |
[in] | scat_data_raw | WS Input |
[in] | f_grid | WS Input |
[in] | f_index | WS Input |
Definition at line 1031 of file m_optproperties.cc.
References aa_datagrid, abs_vec_data_raw, ext_mat_data_raw, f_datagrid, gridpos(), interp(), interpweights(), joker, ConstVectorView::nelem(), Array< base >::nelem(), part_type, pha_mat_data_raw, T_datagrid, and za_datagrid.
Referenced by DoitScatteringDataPrepare(), RteCalcMC(), and scat_data_monoCalc_g().
Definition at line 4725 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and scat_data_monoCalc().
void scat_data_rawCheck | ( | const ArrayOfSingleScatteringData & | scat_data_raw | ) |
WORKSPACE METHOD: scat_data_rawCheck.
Method for checking the consistency of the optical properties in the database.
This function can be used to check datafiles containing data for randomly oriented scattering media. It is checked whether the data is consistent. The integral over the phase matrix should result the scattering cross section <C_sca>.
The check is if: <C_ext> - <C_sca> = <C_abs>
The result is printed on the screen.
[in] | scat_data_raw | WS Input |
Definition at line 891 of file m_optproperties.cc.
References abs_vec_data_raw, AngIntegrate_trapezoid(), ext_mat_data_raw, joker, Array< base >::nelem(), out1, pha_mat_data_raw, xml_write_to_file(), and za_datagrid.
Referenced by scat_data_rawCheck_g().
void ScatteringDisort | ( | Workspace & | ws, | |
Tensor7 & | scat_i_p, | |||
Tensor7 & | scat_i_lat, | |||
Tensor7 & | scat_i_lon, | |||
Index & | f_index, | |||
ArrayOfSingleScatteringData & | scat_data_mono, | |||
Tensor4 & | doit_i_field1D_spectrum, | |||
const ArrayOfIndex & | cloudbox_limits, | |||
const Index & | stokes_dim, | |||
const Agenda & | opt_prop_part_agenda, | |||
const Agenda & | abs_scalar_gas_agenda, | |||
const Agenda & | spt_calc_agenda, | |||
const Tensor4 & | pnd_field, | |||
const Tensor3 & | t_field, | |||
const Tensor3 & | z_field, | |||
const Vector & | p_grid, | |||
const Tensor4 & | vmr_field, | |||
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Vector & | f_grid, | |||
const Vector & | scat_za_grid, | |||
const Matrix & | surface_emissivity_DISORT | |||
) |
WORKSPACE METHOD: ScatteringDisort.
Calls DISORT RT solver from ARTS. Detailed documentation to be added.
[in,out] | ws | Workspace |
[out] | scat_i_p | WS Output |
[out] | scat_i_lat | WS Output |
[out] | scat_i_lon | WS Output |
[out] | f_index | WS Output |
[out] | scat_data_mono | WS Output |
[out] | doit_i_field1D_spectrum | WS Output |
[in] | cloudbox_limits | WS Input |
[in] | stokes_dim | WS Input |
[in] | opt_prop_part_agenda | WS Input |
[in] | abs_scalar_gas_agenda | WS Input |
[in] | spt_calc_agenda | WS Input |
[in] | pnd_field | WS Input |
[in] | t_field | WS Input |
[in] | z_field | WS Input |
[in] | p_grid | WS Input |
[in] | vmr_field | WS Input |
[in] | scat_data_raw | WS Input |
[in] | f_grid | WS Input |
[in] | scat_za_grid | WS Input |
[in] | surface_emissivity_DISORT | WS Input |
Definition at line 330 of file m_disort.cc.
Referenced by ScatteringDisort_g().
Definition at line 1624 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ScatteringDisort().
void ScatteringDoit | ( | Workspace & | ws, | |
Tensor6 & | doit_i_field, | |||
Tensor7 & | scat_i_p, | |||
Tensor7 & | scat_i_lat, | |||
Tensor7 & | scat_i_lon, | |||
Tensor4 & | doit_i_field1D_spectrum, | |||
const Vector & | f_grid, | |||
const Agenda & | doit_mono_agenda, | |||
const Index & | doit_is_initialized | |||
) |
WORKSPACE METHOD: ScatteringDoit.
This method executes *doit_mono_agenda* for each frequency in *f_grid*. The output is the radiation field inside the cloudbox (*doit_i_field*) and on the cloudbox boundary (*scat_i_p* (1D), scat_i_lat* and *scat_i_lon* (3D)).
[in,out] | ws | Workspace |
[out] | doit_i_field | WS Output |
[out] | scat_i_p | WS Output |
[out] | scat_i_lat | WS Output |
[out] | scat_i_lon | WS Output |
[out] | doit_i_field1D_spectrum | WS Output |
[in] | f_grid | WS Input |
[in] | doit_mono_agenda | WS Input |
[in] | doit_is_initialized | WS Input |
Definition at line 2326 of file m_scatrte.cc.
References chk_if_increasing(), chk_not_empty(), doit_mono_agendaExecute(), ConstVectorView::nelem(), and out1.
Referenced by ScatteringDoit_g().
Definition at line 4712 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ScatteringDoit().
void Select | ( | T & | needles, | |
const T & | haystack, | |||
const ArrayOfIndex & | needleindexes | |||
) | [inline] |
WORKSPACE METHOD: Select.
Method to select some elements from one array and copy them to a new array. (Works also for vectors.)
This works also for higher dimensional objects, where the selection is always performed in the first dimension.
For example:
Select(y,x,[0,3])
will select the first and fourth row of matrix x and copy them to the output matrix y.
Note that it is even save to use this method if needles and haystack are the same variable.
[out] | needles | Supergeneric output |
[in] | haystack | Generic Input |
[in] | needleindexes | Generic Input |
Referenced by Select_sg_ArrayOfArrayOfArrayOfArrayOfGridPosArrayOfArrayOfArrayOfArrayOfGridPos_g(), Select_sg_ArrayOfArrayOfGField1ArrayOfArrayOfGField1_g(), Select_sg_ArrayOfArrayOfGField3ArrayOfArrayOfGField3_g(), Select_sg_ArrayOfArrayOfIndexArrayOfArrayOfIndex_g(), Select_sg_ArrayOfArrayOfLineRecordArrayOfArrayOfLineRecord_g(), Select_sg_ArrayOfArrayOfMatrixArrayOfArrayOfMatrix_g(), Select_sg_ArrayOfArrayOfSpeciesTagArrayOfArrayOfSpeciesTag_g(), Select_sg_ArrayOfArrayOfTensor3ArrayOfArrayOfTensor3_g(), Select_sg_ArrayOfArrayOfTensor6ArrayOfArrayOfTensor6_g(), Select_sg_ArrayOfGField1ArrayOfGField1_g(), Select_sg_ArrayOfGField2ArrayOfGField2_g(), Select_sg_ArrayOfGField3ArrayOfGField3_g(), Select_sg_ArrayOfGField4ArrayOfGField4_g(), Select_sg_ArrayOfIndexArrayOfIndex_g(), Select_sg_ArrayOfLineRecordArrayOfLineRecord_g(), Select_sg_ArrayOfLineshapeSpecArrayOfLineshapeSpec_g(), Select_sg_ArrayOfMatrixArrayOfMatrix_g(), Select_sg_ArrayOfPpathArrayOfPpath_g(), Select_sg_ArrayOfRetrievalQuantityArrayOfRetrievalQuantity_g(), Select_sg_ArrayOfSingleScatteringDataArrayOfSingleScatteringData_g(), Select_sg_ArrayOfStringArrayOfString_g(), Select_sg_ArrayOfTensor3ArrayOfTensor3_g(), Select_sg_ArrayOfTensor4ArrayOfTensor4_g(), Select_sg_ArrayOfTensor6ArrayOfTensor6_g(), Select_sg_ArrayOfTensor7ArrayOfTensor7_g(), Select_sg_ArrayOfVectorArrayOfVector_g(), Select_sg_MatrixMatrix_g(), and Select_sg_VectorVector_g().
void sensor_posAddGeoidWGS84 | ( | Matrix & | sensor_pos, | |
const Index & | atmosphere_dim, | |||
const Numeric & | lat_1d, | |||
const Numeric & | meridian_angle_1d | |||
) |
WORKSPACE METHOD: sensor_posAddGeoidWGS84.
Adds a geoid radius according to WGS-84 to a geometric altitude.
This function assumes that the first element of *sensor_pos* is set to the geometric altitude for the positions of the sensor. The variable *sensor_pos* shall contain the radius instead of the altitude and that can be achieved by this function. The function adds a geoid radius to the given altitude. The geoid radius is taken from the WGS-84 reference ellipsoid.
For 1D, the geoid radius is set to the radius of curvature of the WGS-84 ellipsoid for the position and observation direction described with *lat_1d* and *meridian_angle_1d*. For 2D and 3D, the geoid radius is set to the radius of the WGS-84 ellipsoid for the latitude values in *sensor_pos*.
[out] | sensor_pos | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | lat_1d | WS Input |
[in] | meridian_angle_1d | WS Input |
Definition at line 332 of file m_ppath.cc.
References chk_if_in_range(), chk_matrix_ncols(), joker, ConstMatrixView::nrows(), and r_geoidWGS84().
Referenced by rte_posAddGeoidWGS84(), and sensor_posAddGeoidWGS84_g().
Definition at line 4953 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_posAddGeoidWGS84().
void sensor_posAddRgeoid | ( | Matrix & | sensor_pos, | |
const Index & | atmosphere_dim, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Matrix & | r_geoid | |||
) |
WORKSPACE METHOD: sensor_posAddRgeoid.
Adds a geoid radius by interpolating *r_geoid*.
This function assumes that the first element of *rte_pos* is set to the geometric altitude for the position of the sensor. The variable *rte_pos* shall contain the radius instead of the altitude and that can be achieved by this function. The function adds a geoid radius to the given altitude. The geoid radius is obtained by interpolation of *r_geoid*. There is an error if the given position is outside the latitude and longitude grids.
[out] | sensor_pos | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | r_geoid | WS Input |
Definition at line 400 of file m_ppath.cc.
References chk_atm_surface(), chk_if_in_range(), chk_matrix_ncols(), gridpos(), interp(), interpweights(), joker, last(), max, min, and ConstMatrixView::nrows().
Referenced by rte_posAddRgeoid(), and sensor_posAddRgeoid_g().
Definition at line 4961 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_posAddRgeoid().
void sensor_responseAntenna | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_za_grid, | |||
Vector & | sensor_response_aa_grid, | |||
const Vector & | sensor_response_f_grid, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Index & | atmosphere_dim, | |||
const Index & | antenna_dim, | |||
const Matrix & | antenna_los, | |||
const GField4 & | antenna_response, | |||
const Index & | sensor_norm | |||
) |
WORKSPACE METHOD: sensor_responseAntenna.
Adds response of the antenna.
The function returns the sensor response matrix after the antenna characteristics have been included.
The function handles "multi-beam" cases where the polarisation coordinate system is the same for all beams.
See *antenna_dim*, *antenna_los* and *antenna_response* for details on how to specify the antenna response.
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_za_grid | WS Output |
[out] | sensor_response_aa_grid | WS Output |
[in] | sensor_response_f_grid | WS Input |
[in] | sensor_response_pol_grid | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | antenna_dim | WS Input |
[in] | antenna_los | WS Input |
[in] | antenna_response | WS Input |
[in] | sensor_norm | WS Input |
Definition at line 581 of file m_sensor.cc.
References antenna1d_matrix(), chk_if_bool(), chk_if_in_range(), chk_if_increasing(), GField::get_numeric_grid(), GField::get_string_grid(), GFIELD4_AA_GRID, GFIELD4_F_GRID, GFIELD4_FIELD_NAMES, GFIELD4_ZA_GRID, joker, last(), max, min, mult(), Sparse::ncols(), ConstMatrixView::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), Sparse::nrows(), out3, Sparse::resize(), and sensor_aux_vectors().
Referenced by sensor_responseAntenna_g().
Definition at line 4970 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseAntenna().
void sensor_responseBackend | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_f_grid, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Vector & | sensor_response_za_grid, | |||
const Vector & | sensor_response_aa_grid, | |||
const Vector & | f_backend, | |||
const ArrayOfGField1 & | backend_channel_response, | |||
const Index & | sensor_norm | |||
) |
WORKSPACE METHOD: sensor_responseBackend.
Adds response of the backend (spectrometer).
The function returns the sensor response matrix after the backend characteristics have been included.
See *f_backend*, *backend_channel_response* and *sensor_norm* for details on how to specify the backend response.
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_f_grid | WS Output |
[in] | sensor_response_pol_grid | WS Input |
[in] | sensor_response_za_grid | WS Input |
[in] | sensor_response_aa_grid | WS Input |
[in] | f_backend | WS Input |
[in] | backend_channel_response | WS Input |
[in] | sensor_norm | WS Input |
Definition at line 857 of file m_sensor.cc.
References GFIELD1_F_GRID, is_increasing(), last(), max, min, mult(), Sparse::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), Sparse::nrows(), out3, Sparse::resize(), sensor_aux_vectors(), and spectrometer_matrix().
Referenced by sensor_responseBackend_g(), and sensor_responseMultiMixerBackend().
Definition at line 4988 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseBackend().
void sensor_responseBeamSwitching | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_za_grid, | |||
Vector & | sensor_response_aa_grid, | |||
const Vector & | sensor_response_f_grid, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Numeric & | w1, | |||
const Numeric & | w2 | |||
) |
WORKSPACE METHOD: sensor_responseBeamSwitching.
Calculates the difference spectrum: Beam switching
The method allows to mimic beam switching. The measurement procedure is basedon taking the difference of two spectra and the calculation set-up must treat exactly two observation directions.
The returned spectrum is y = w1*y + w2*y2, where y1 and w1 are the spectrum and weight for the first direction, respectively (y2 and (w2 defined corresponingly for second direction).
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_za_grid | WS Output |
[out] | sensor_response_aa_grid | WS Output |
[in] | sensor_response_f_grid | WS Input |
[in] | sensor_response_pol_grid | WS Input |
[in] | w1 | Generic Input (Default: "-1") |
[in] | w2 | Generic Input (Default: "1") |
Definition at line 1032 of file m_sensor.cc.
References Sparse::insert_row(), mult(), Sparse::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), Sparse::nrows(), out3, Vector::resize(), Sparse::resize(), and sensor_aux_vectors().
Referenced by sensor_responseBeamSwitching_g().
Definition at line 5004 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseBeamSwitching().
void sensor_responseIF2RF | ( | Vector & | sensor_response_f, | |
Vector & | sensor_response_f_grid, | |||
const Numeric & | lo, | |||
const String & | sideband_mode | |||
) |
WORKSPACE METHOD: sensor_responseIF2RF.
Converts sensor response variables from IF to RF.
The function converts intermediate frequencies (IF) in sensor_response_f* and *sensor_response_f_grid* to radio frequencies (RF). This conversion is needed if the frequency translation of a mixer is included and the position of backend channels are specified in RF.
A direct frequency conversion is performed. Values are not sorted in any way.
[out] | sensor_response_f | WS Output |
[out] | sensor_response_f_grid | WS Output |
[in] | lo | WS Input |
[in] | sideband_mode | WS Input |
Definition at line 1105 of file m_sensor.cc.
References max.
Referenced by sensor_responseIF2RF_g(), and sensor_responseMultiMixerBackend().
Definition at line 5019 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseIF2RF().
void sensor_responseInit | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_f_grid, | |||
ArrayOfIndex & | sensor_response_pol_grid, | |||
Vector & | sensor_response_za_grid, | |||
Vector & | sensor_response_aa_grid, | |||
const Vector & | f_grid, | |||
const Vector & | mblock_za_grid, | |||
const Vector & | mblock_aa_grid, | |||
const Index & | antenna_dim, | |||
const Index & | atmosphere_dim, | |||
const Index & | stokes_dim, | |||
const Index & | sensor_norm | |||
) |
WORKSPACE METHOD: sensor_responseInit.
Initialises the variables summarising the sensor response.
This method sets the variables to match monochromatic pencil beam calculations, to be further modified by inclusion of sensor characteristics. If pure monochromatic pencil beam calculations shall be performed use *sensorOff*.
The variables are set as follows: <br> sensor_response : Identity matrix, with size matching *f_grid*, <br> *stokes_dim* *mblock_za_grid* and <br> *mblock_aa_grid*. <br> sensor_response_f : Repeated values of *f_grid*. <br> sensor_response_pol : Data matching *stokes_dim*. <br> sensor_response_za : Repeated values of *mblock_za_grid*. <br> sensor_response_aa : Repeated values of *mblock_aa_grid*. <br> sensor_response_f_grid : Equal to *f_grid*. <br> sensor_response_pol_grid: Set to 1:*stokes_dim*. <br> sensor_response_za_grid : Equal to *mblock_za_grid*. <br> sensor_response_aa_grid : Equal to *mblock_aa_grid*.
The standard order of WSM calls for creating *sensor_response* is: <br> sensor_responseInit <br> sensor_responseAntenna1D <br> sensor_responseRotation <br> sensor_responsePolarisation <br> sensor_responseMixer <br> sensor_responseBackend It is not necessary to include a method for all sensor responses. There exist several method versions for some responses.
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_f_grid | WS Output |
[out] | sensor_response_pol_grid | WS Output |
[out] | sensor_response_za_grid | WS Output |
[out] | sensor_response_aa_grid | WS Output |
[in] | f_grid | WS Input |
[in] | mblock_za_grid | WS Input |
[in] | mblock_aa_grid | WS Input |
[in] | antenna_dim | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | stokes_dim | WS Input |
[in] | sensor_norm | WS Input |
Definition at line 1147 of file m_sensor.cc.
References chk_if_bool(), chk_if_in_range(), chk_if_increasing(), is_decreasing(), is_increasing(), Sparse::make_I(), ConstVectorView::nelem(), out2, out3, and sensor_aux_vectors().
Referenced by sensor_responseInit_g(), and sensorOff().
Definition at line 5027 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseInit().
void sensor_responseMixer | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_f_grid, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Vector & | sensor_response_za_grid, | |||
const Vector & | sensor_response_aa_grid, | |||
const Numeric & | lo, | |||
const GField1 & | sideband_response, | |||
const Index & | sensor_norm | |||
) |
WORKSPACE METHOD: sensor_responseMixer.
Adds response of the mixer of a heterodyne system.
The function returns the sensor response matrix after the mixer characteristics have been included. Frequency variables are converted from radio frequency (RF) to intermediate frequency (IF).
See *lo* and *sideband_response* for details on how to specify the mixer response
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_f_grid | WS Output |
[in] | sensor_response_pol_grid | WS Input |
[in] | sensor_response_za_grid | WS Input |
[in] | sensor_response_aa_grid | WS Input |
[in] | lo | WS Input |
[in] | sideband_response | WS Input |
[in] | sensor_norm | WS Input |
Definition at line 1242 of file m_sensor.cc.
References GField::get_numeric_grid(), GFIELD1_F_GRID, is_increasing(), last(), mixer_matrix(), mult(), Sparse::ncols(), Array< base >::nelem(), ConstVectorView::nelem(), Sparse::nrows(), out3, Sparse::resize(), and sensor_aux_vectors().
Referenced by sensor_responseMixer_g(), and sensor_responseMultiMixerBackend().
Definition at line 5047 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseMixer().
void sensor_responseMultiMixerBackend | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_f_grid, | |||
const ArrayOfIndex & | sensor_response_pol_grid, | |||
const Vector & | sensor_response_za_grid, | |||
const Vector & | sensor_response_aa_grid, | |||
const Vector & | lo_multi, | |||
const ArrayOfGField1 & | sideband_response_multi, | |||
const ArrayOfString & | sideband_mode_multi, | |||
const ArrayOfVector & | f_backend_multi, | |||
const ArrayOfArrayOfGField1 & | backend_channel_response_multi, | |||
const Index & | sensor_norm | |||
) |
WORKSPACE METHOD: sensor_responseMultiMixerBackend.
Handles mixer and backend parts for an instrument having multiple mixer chains.
The WSMs *sensor_responseMixer*, *sensor_responseIF2RF* and sensor_responseBackend* are called for each mixer chain, and a complete *sensor_response* is assembled. The instrument responses are described by *lo_multi*, *sideband_response_multi*, sideband_mode_multi*, *f_backend_multi* and backend_channel_response_multi*. All these WSVs must have same (vector or array) length. As *sensor_responseIF2RF* is called, f_backend_multi* must hold RF (not IF) and output frequencies will be in absolute frequency (RF).
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_f_grid | WS Output |
[in] | sensor_response_pol_grid | WS Input |
[in] | sensor_response_za_grid | WS Input |
[in] | sensor_response_aa_grid | WS Input |
[in] | lo_multi | WS Input |
[in] | sideband_response_multi | WS Input |
[in] | sideband_mode_multi | WS Input |
[in] | f_backend_multi | WS Input |
[in] | backend_channel_response_multi | WS Input |
[in] | sensor_norm | WS Input |
Referenced by sensor_responseMultiMixerBackend_g().
Definition at line 5063 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensor_responseMultiMixerBackend().
void sensorOff | ( | Sparse & | sensor_response, | |
Vector & | sensor_response_f, | |||
ArrayOfIndex & | sensor_response_pol, | |||
Vector & | sensor_response_za, | |||
Vector & | sensor_response_aa, | |||
Vector & | sensor_response_f_grid, | |||
ArrayOfIndex & | sensor_response_pol_grid, | |||
Vector & | sensor_response_za_grid, | |||
Vector & | sensor_response_aa_grid, | |||
Index & | antenna_dim, | |||
Vector & | mblock_za_grid, | |||
Vector & | mblock_aa_grid, | |||
const Index & | atmosphere_dim, | |||
const Index & | stokes_dim, | |||
const Vector & | f_grid | |||
) |
WORKSPACE METHOD: sensorOff.
Sets sensor WSVs to obtain monochromatic pencil beam values.
The variables are set as follows: <br> antenna_dim : 1. <br> mblock_za_grid : Length 1, value 0. <br> mblock_aa_grid : Empty. <br> sensor_response : As returned by *sensor_responseInit*. <br> sensor_response_f : As returned by *sensor_responseInit*. <br> sensor_response_pol : As returned by *sensor_responseInit*. <br> sensor_response_za : As returned by *sensor_responseInit*. <br> sensor_response_aa : As returned by *sensor_responseInit*.
[out] | sensor_response | WS Output |
[out] | sensor_response_f | WS Output |
[out] | sensor_response_pol | WS Output |
[out] | sensor_response_za | WS Output |
[out] | sensor_response_aa | WS Output |
[out] | sensor_response_f_grid | WS Output |
[out] | sensor_response_pol_grid | WS Output |
[out] | sensor_response_za_grid | WS Output |
[out] | sensor_response_aa_grid | WS Output |
[out] | antenna_dim | WS Output |
[out] | mblock_za_grid | WS Output |
[out] | mblock_aa_grid | WS Output |
[in] | atmosphere_dim | WS Input |
[in] | stokes_dim | WS Input |
[in] | f_grid | WS Input |
Definition at line 545 of file m_sensor.cc.
References AntennaOff(), and sensor_responseInit().
Referenced by sensorOff_g().
Definition at line 4934 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and sensorOff().
void SparseCreate | ( | Sparse & | gout1 | ) |
WORKSPACE METHOD: SparseCreate.
Creates an empty Sparse matrix.
If the variable already exists, it'll be reset.
Generic output: <br> Sparse: New empty Sparse matrix.
[out] | gout1 | Generic output |
Definition at line 172 of file m_create.cc.
Referenced by SparseCreate_g().
void SpeciesSet | ( | ArrayOfArrayOfSpeciesTag & | gout1, | |
const ArrayOfString & | species | |||
) |
WORKSPACE METHOD: SpeciesSet.
Set up a list of absorption species tag groups.
Workspace variables like *abs_species* contain several tag groups. Each tag group contains one or more tags. This method converts descriptions of tag groups given in the keyword to the ARTS internal representation (an *ArrayOfArrayOfSpeciesTag*). A tag group selects spectral features which belong to the same species.
A tag is defined in terms of the name of the species, isotope, and a range of frequencies. Species are named after the standard chemical names, e.g., "O3". Isotopes are given by the last digit of the atomic weight, i.g., "O3-668" for the asymmetric ozone molecule including an oxygen 18 atom. Groups of transitions are specified by giving a lower and upper limit of a frequency range, e.g., "O3-666-500e9-501e9".
The symbol "*" acts as a wild card. Furthermore, frequency range or frequency range and isotope may be omitted.
Finally, instead of the isotope the special letter "nl" may be given, e.g., "H2O-nl". This means that no absorption at all is associated with this tag. (It is not quite clear if this feature is useful for anything right now.)
This method used to be a specific method for *abs_species*. Now it is generic, so that it can also be used to set *abs_nls* and *abs_pts*.
Generic Output: <br> ArrayOfArrayOfSpeciesTag : Output tag groups.
Keywords: <br> species : Specify one String for each tag group that you want to <br> create. Inside the String, separate the tags by commas <br> (plus optional blanks).
Example:
<br> species = [ "O3-666-500e9-501e9, O3-686", <br> "O3", <br> "H2O-PWR98" ]
<br> The first tag group selects all O3-666 lines between 500 and <br> 501 GHz plus all O3-686 lines.
<br> The second tag group selects all remaining O3 transitions.
<br> The third tag group selects H2O, with one of the complete <br> absorption models (Rosenkranz 98). No spectrocopic line catalogue <br> data will be used for that third tag group.
[out] | gout1 | Generic output |
[in] | species | Generic Input |
Definition at line 1748 of file m_abs_lookup.cc.
References array_species_tag_from_string(), Array< base >::nelem(), and out3.
Referenced by get_tagindex_for_Strings(), and SpeciesSet_g().
Definition at line 420 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and SpeciesSet().
void spt_calc_agendaExecute | ( | Workspace & | ws, | |
Tensor3 & | ext_mat_spt, | |||
Matrix & | abs_vec_spt, | |||
const Index | scat_p_index, | |||
const Index | scat_lat_index, | |||
const Index | scat_lon_index, | |||
const Numeric | rte_temperature, | |||
const Index | scat_za_index, | |||
const Index | scat_aa_index, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8537 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), and Workspace::push().
Referenced by cloud_fieldsCalc(), and dtauc_ssalbCalc().
void StringCreate | ( | String & | gout1 | ) |
WORKSPACE METHOD: StringCreate.
Creates an empty String.
If the variable already exists, it'll be reset.
Generic output: <br> String: New empty String.
[out] | gout1 | Generic output |
Definition at line 180 of file m_create.cc.
Referenced by StringCreate_g().
WORKSPACE METHOD: StringSet.
Sets a String to the given text string.
[out] | gout1 | Generic output |
[in] | text | Generic Input |
Definition at line 351 of file m_basic_types.cc.
Referenced by StringSet_g().
Definition at line 5092 of file auto_md.cc.
References MRecord::Out(), MRecord::SetValue(), and StringSet().
void surface_prop_agendaExecute | ( | Workspace & | ws, | |
Matrix & | surface_emission, | |||
Matrix & | surface_los, | |||
Tensor4 & | surface_rmatrix, | |||
const Vector & | rte_pos, | |||
const Vector & | rte_los, | |||
const GridPos & | rte_gp_p, | |||
const GridPos & | rte_gp_lat, | |||
const GridPos & | rte_gp_lon, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8616 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by cloud_RT_surface(), get_radiative_background(), MCGeneral(), and MCIPA().
void surfaceBlackbody | ( | Matrix & | surface_los, | |
Tensor4 & | surface_rmatrix, | |||
Matrix & | surface_emission, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Numeric & | surface_skin_t | |||
) |
WORKSPACE METHOD: surfaceBlackbody.
Creates variables to mimic a blackbody surface.
This method sets up *surface_los*, *surface_rmatrix* and surface_emission* for *surfaceCalc*. In this case, *surface_los* and *surface_rmatrix* are set to be empty, and *surface_emission* to hold blackbody radiation for a temperature of *surface_skin_t*.
[out] | surface_los | WS Output |
[out] | surface_rmatrix | WS Output |
[out] | surface_emission | WS Output |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | surface_skin_t | WS Input |
Definition at line 400 of file m_surface.cc.
References chk_if_in_range(), chk_if_over_0(), ConstVectorView::nelem(), out2, planck(), Tensor4::resize(), and Matrix::resize().
Referenced by surfaceBlackbody_g().
Definition at line 5098 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and surfaceBlackbody().
void surfaceFlatRefractiveIndex | ( | Matrix & | surface_los, | |
Tensor4 & | surface_rmatrix, | |||
Matrix & | surface_emission, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | atmosphere_dim, | |||
const Vector & | rte_los, | |||
const Numeric & | surface_skin_t, | |||
const Matrix & | complex_n | |||
) |
WORKSPACE METHOD: surfaceFlatRefractiveIndex.
Creates variables to mimic specular reflection by a (flat) surface where the refracive index is specified.
The dielectric properties of the surface are described by complex_n*. The Fresnel eqiuations are used to calculate amplitude reflection coefficients. The method can thus result in that the reflection properties differ between frequencies and polarizations.
Local thermodynamic equilibrium is assumed, which corresponds to that the reflection and emission coefficients add up to 1.
[out] | surface_los | WS Output |
[out] | surface_rmatrix | WS Output |
[out] | surface_emission | WS Output |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | rte_los | WS Input |
[in] | surface_skin_t | WS Input |
[in] | complex_n | WS Input |
Definition at line 428 of file m_surface.cc.
References abs, chk_if_in_range(), chk_if_over_0(), chk_matrix_ncols(), fresnel(), joker, ConstVectorView::nelem(), ConstMatrixView::nrows(), out2, out3, Tensor4::resize(), Matrix::resize(), surface_specular_los(), and surface_specular_R_and_b().
Referenced by surfaceFlatRefractiveIndex_g().
Definition at line 5108 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and surfaceFlatRefractiveIndex().
void surfaceFlatSingleEmissivity | ( | Matrix & | surface_los, | |
Tensor4 & | surface_rmatrix, | |||
Matrix & | surface_emission, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | atmosphere_dim, | |||
const Vector & | rte_los, | |||
const Numeric & | surface_skin_t, | |||
const Numeric & | surface_emissivity | |||
) |
WORKSPACE METHOD: surfaceFlatSingleEmissivity.
Creates variables to mimic specular reflection by a (flat) surface where the emissivity is specified.
As *surfaceFlatVaryingEmissivity*, but assumes that the emissivity does not vary with frequency.
Generic output and input: <br> surface_emissivity : The emissivity, a value between 0 and 1.
[out] | surface_los | WS Output |
[out] | surface_rmatrix | WS Output |
[out] | surface_emission | WS Output |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | rte_los | WS Input |
[in] | surface_skin_t | WS Input |
[in] | surface_emissivity | Generic Input |
Definition at line 547 of file m_surface.cc.
References chk_if_in_range(), ConstVectorView::nelem(), and surfaceFlatVaryingEmissivity().
Referenced by surfaceFlatSingleEmissivity_g().
Definition at line 5121 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and surfaceFlatSingleEmissivity().
void surfaceFlatVaryingEmissivity | ( | Matrix & | surface_los, | |
Tensor4 & | surface_rmatrix, | |||
Matrix & | surface_emission, | |||
const Vector & | f_grid, | |||
const Index & | stokes_dim, | |||
const Index & | atmosphere_dim, | |||
const Vector & | rte_los, | |||
const Numeric & | surface_skin_t, | |||
const Vector & | surface_emissivity | |||
) |
WORKSPACE METHOD: surfaceFlatVaryingEmissivity.
Creates variables to mimic specular reflection by a (flat) surface where the emissivity is specified.
The usage of emissivity does not provide any polarisation information and it is only formally correct to use this method for *stokes_dim* = 1 (but there is no hard-coded restriction).
Local thermodynamic equilibrium is assumed, which corresponds to that the reflection and emission coefficients add up to 1.
Generic output and input: <br> surface_emissivity : The emissivity, for each frequency in <br> *f_grid*. Values between 0 and 1.
[out] | surface_los | WS Output |
[out] | surface_rmatrix | WS Output |
[out] | surface_emission | WS Output |
[in] | f_grid | WS Input |
[in] | stokes_dim | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | rte_los | WS Input |
[in] | surface_skin_t | WS Input |
[in] | surface_emissivity | Generic Input |
Definition at line 489 of file m_surface.cc.
References chk_if_in_range(), chk_if_over_0(), joker, max, min, ConstVectorView::nelem(), out2, out3, planck(), Tensor4::resize(), Matrix::resize(), and surface_specular_los().
Referenced by surfaceFlatSingleEmissivity(), and surfaceFlatVaryingEmissivity_g().
Definition at line 5134 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and surfaceFlatVaryingEmissivity().
void Tensor3Create | ( | Tensor3 & | gout1 | ) |
WORKSPACE METHOD: Tensor3Create.
Creates an empty Tensor3.
If the variable already exists, it'll be reset.
Generic output: <br> Tensor3: New empty Tensor3.
[out] | gout1 | Generic output |
Definition at line 188 of file m_create.cc.
Referenced by Tensor3Create_g().
void Tensor3FillWithVector | ( | Tensor3 & | gout1, | |
const Vector & | gin1, | |||
const Index & | npages, | |||
const Index & | nrows, | |||
const Index & | ncols | |||
) |
WORKSPACE METHOD: Tensor3FillWithVector.
Forms a tensor of order 3 by repeating a vector.
The direction of the vector inside the tensor is selected by setting the size determined by the vector length to 0. For example, if the keyword *ncols* is set to 0, the vector will be put in as rows on every page. The remaining sizes are taken from the keyword arguments.
One, but only one, keyword argument must be 0.
Generic output: <br> Tensor3 : The tensor to be created.
Generic input: <br> Vector : The vector to be copied. Keyword: <br> npages : Number of pages in the tensor. <br> nrows : Number of rows in the tensor. <br> ncols : Number of columns in the tensor.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | npages | Generic Input |
[in] | nrows | Generic Input |
[in] | ncols | Generic Input |
Definition at line 359 of file m_basic_types.cc.
References joker, ConstVectorView::nelem(), out2, out3, and Tensor3::resize().
Referenced by Tensor3FillWithVector_g().
Definition at line 5152 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor3FillWithVector().
WORKSPACE METHOD: Tensor3Scale.
Scales a workspace tensor3 with the specified value.
The result can either be stored in the input tensor3 or in a new tensor3.
Generic output: <br> Tensor3 : The scaled tensor3.
Generic input: <br> Tensor3 : The tensor3 to be scaled.
Keywords: <br> value : The scale factor.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 423 of file m_basic_types.cc.
References ConstTensor3View::ncols(), ConstTensor3View::npages(), ConstTensor3View::nrows(), and Tensor3::resize().
Referenced by Tensor3Scale_g().
Definition at line 5161 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor3Scale().
void Tensor3SetConstant | ( | Tensor3 & | gout1, | |
const Index & | npages, | |||
const Index & | nrows, | |||
const Index & | ncols, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: Tensor3SetConstant.
Creates a workspace tensor3 and sets all elements of the tensor3 to the specified value. The size is determined by the variables *ncols*, *nrows*, and *npages*
Generic output: <br> Tensor3 : The tensor3 to be created.
Keywords: <br> value : The value of the tensor3 elements.
[out] | gout1 | Generic output |
[in] | npages | WS Input |
[in] | nrows | WS Input |
[in] | ncols | WS Input |
[in] | value | Generic Input |
Definition at line 442 of file m_basic_types.cc.
References out2, out3, and Tensor3::resize().
Referenced by Tensor3SetConstant_g().
Definition at line 5168 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor3SetConstant().
void Tensor4Create | ( | Tensor4 & | gout1 | ) |
WORKSPACE METHOD: Tensor4Create.
Creates an empty Tensor4.
If the variable already exists, it'll be reset.
Generic output: <br> Tensor4: New empty Tensor4.
[out] | gout1 | Generic output |
Definition at line 196 of file m_create.cc.
Referenced by Tensor4Create_g().
WORKSPACE METHOD: Tensor4Scale.
Scales a workspace tensor4 with the specified value.
The result can either be stored in the input tensor4 or in a new tensor4.
Generic output: <br> Tensor4 : The scaled tensor4.
Generic input: <br> Tensor4 : The tensor4 to be scaled.
Keywords: <br> value : The scale factor.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 458 of file m_basic_types.cc.
References ConstTensor4View::nbooks(), ConstTensor4View::ncols(), ConstTensor4View::npages(), ConstTensor4View::nrows(), and Tensor4::resize().
Referenced by Tensor4Scale_g().
Definition at line 5182 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor4Scale().
void Tensor4SetConstant | ( | Tensor4 & | gout1, | |
const Index & | nbooks, | |||
const Index & | npages, | |||
const Index & | nrows, | |||
const Index & | ncols, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: Tensor4SetConstant.
Creates a workspace tensor4 and sets all elements of the tensor4 to the specified value. The size is determined by the variables *ncols*, *nrows*, *npages*, and *nbooks*.
Generic output: <br> Tensor4 : The tensor4 to be created.
Keywords: <br> value : The value of the tensor4 elements.
[out] | gout1 | Generic output |
[in] | nbooks | WS Input |
[in] | npages | WS Input |
[in] | nrows | WS Input |
[in] | ncols | WS Input |
[in] | value | Generic Input |
Definition at line 477 of file m_basic_types.cc.
References out2, out3, and Tensor4::resize().
Referenced by Tensor4SetConstant_g().
Definition at line 5189 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor4SetConstant().
void Tensor5Create | ( | Tensor5 & | gout1 | ) |
WORKSPACE METHOD: Tensor5Create.
Creates an empty Tensor5.
If the variable already exists, it'll be reset.
Generic output: <br> Tensor5: New empty Tensor5.
[out] | gout1 | Generic output |
Definition at line 204 of file m_create.cc.
Referenced by Tensor5Create_g().
WORKSPACE METHOD: Tensor5Scale.
Scales a workspace tensor5 with the specified value.
The result can either be stored in the input tensor5 or in a new tensor5.
Generic output: <br> Tensor5 : The scaled tensor5.
Generic input: <br> Tensor5 : The tensor5 to be scaled.
Keywords: <br> value : The scale factor.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 495 of file m_basic_types.cc.
References ConstTensor5View::nbooks(), ConstTensor5View::ncols(), ConstTensor5View::npages(), ConstTensor5View::nrows(), ConstTensor5View::nshelves(), and Tensor5::resize().
Referenced by Tensor5Scale_g().
Definition at line 5204 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor5Scale().
void Tensor5SetConstant | ( | Tensor5 & | gout1, | |
const Index & | nshelves, | |||
const Index & | nbooks, | |||
const Index & | npages, | |||
const Index & | nrows, | |||
const Index & | ncols, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: Tensor5SetConstant.
Creates a workspace tensor5 and sets all elements of the tensor5 to the specified value. The size is determined by the variables *ncols*, *nrows*, *npages*, *nbooks*, and *nshelves*.
Generic output: <br> Tensor5 : The tensor5 to be created.
Keywords: <br> value : The value of the tensor5 elements.
[out] | gout1 | Generic output |
[in] | nshelves | WS Input |
[in] | nbooks | WS Input |
[in] | npages | WS Input |
[in] | nrows | WS Input |
[in] | ncols | WS Input |
[in] | value | Generic Input |
Definition at line 515 of file m_basic_types.cc.
References out2, out3, and Tensor5::resize().
Referenced by Tensor5SetConstant_g().
Definition at line 5211 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor5SetConstant().
void Tensor6Create | ( | Tensor6 & | gout1 | ) |
WORKSPACE METHOD: Tensor6Create.
Creates an empty Tensor6.
If the variable already exists, it'll be reset.
Generic output: <br> Tensor6: New empty Tensor6.
[out] | gout1 | Generic output |
Definition at line 212 of file m_create.cc.
Referenced by Tensor6Create_g().
WORKSPACE METHOD: Tensor6Scale.
Scales a workspace tensor6 with the specified value.
The result can either be stored in the input tensor6 or in a new tensor6.
Generic output: <br> Tensor6 : The scaled tensor6.
Generic input: <br> Tensor6 : The tensor6 to be scaled.
Keywords: <br> value : The scale factor.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 535 of file m_basic_types.cc.
References ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), and Tensor6::resize().
Referenced by Tensor6Scale_g().
Definition at line 5227 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor6Scale().
void Tensor6SetConstant | ( | Tensor6 & | gout1, | |
const Index & | nvitrines, | |||
const Index & | nshelves, | |||
const Index & | nbooks, | |||
const Index & | npages, | |||
const Index & | nrows, | |||
const Index & | ncols, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: Tensor6SetConstant.
Creates a workspace tensor6 and sets all elements of the tensor6 to the specified value. The size is determined by the variables *ncols*, *nrows*, *npages*, *nbooks*, *nshelves*, and *nvitrines*.
Generic output: <br> Tensor6 : The tensor6 to be created.
Keywords: <br> value : The value of the tensor6 elements.
[out] | gout1 | Generic output |
[in] | nvitrines | WS Input |
[in] | nshelves | WS Input |
[in] | nbooks | WS Input |
[in] | npages | WS Input |
[in] | nrows | WS Input |
[in] | ncols | WS Input |
[in] | value | Generic Input |
Definition at line 555 of file m_basic_types.cc.
References out2, out3, and Tensor6::resize().
Referenced by Tensor6SetConstant_g().
Definition at line 5234 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor6SetConstant().
void Tensor6ToPlanckBT | ( | Tensor6 & | gout1, | |
const Index & | f_index, | |||
const Vector & | f_grid, | |||
const Tensor6 & | gin1 | |||
) |
WORKSPACE METHOD: Tensor6ToPlanckBT.
Converts a Tensor6 of radiances to brightness temperatures by inverting the Planck function.
Generic output: <br> Tensor6 : A Tensor6 with brightness temperature values.
Generic input: <br> Tenosr6 : A Tensor6 with radiance values.
[out] | gout1 | Generic output |
[in] | f_index | WS Input |
[in] | f_grid | WS Input |
[in] | gin1 | Generic Input |
Definition at line 195 of file m_physics.cc.
References invplanck(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ns, ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), and Tensor6::resize().
Referenced by Tensor6ToPlanckBT_g().
Definition at line 5246 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor6ToPlanckBT().
void Tensor7Create | ( | Tensor7 & | gout1 | ) |
WORKSPACE METHOD: Tensor7Create.
Creates an empty Tensor7.
If the variable already exists, it'll be reset.
Generic output: <br> Tensor7: New empty Tensor7.
[out] | gout1 | Generic output |
Definition at line 220 of file m_create.cc.
Referenced by Tensor7Create_g().
WORKSPACE METHOD: Tensor7Scale.
Scales a workspace tensor7 with the specified value.
The result can either be stored in the input tensor7 or in a new tensor7.
Generic output: <br> Tensor7 : The scaled tensor7.
Generic input: <br> Tensor7 : The tensor7 to be scaled.
Keywords: <br> value : The scale factor.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 577 of file m_basic_types.cc.
References ConstTensor7View::nbooks(), ConstTensor7View::ncols(), ConstTensor7View::nlibraries(), ConstTensor7View::npages(), ConstTensor7View::nrows(), ConstTensor7View::nshelves(), ConstTensor7View::nvitrines(), and Tensor7::resize().
Referenced by Tensor7Scale_g().
Definition at line 5259 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor7Scale().
void Tensor7SetConstant | ( | Tensor7 & | gout1, | |
const Index & | nlibraries, | |||
const Index & | nvitrines, | |||
const Index & | nshelves, | |||
const Index & | nbooks, | |||
const Index & | npages, | |||
const Index & | nrows, | |||
const Index & | ncols, | |||
const Numeric & | value | |||
) |
WORKSPACE METHOD: Tensor7SetConstant.
Creates a workspace tensor7 and sets all elements of the tensor7 to the specified value. The size is determined by the variables *ncols*, *nrows*, *npages*, *nbooks*, *nshelves*, nvitrines*, and *nlibraries*.
Generic output: <br> Tensor7 : The tensor7 to be created.
Keywords: <br> value : The value of the tensor7 elements.
[out] | gout1 | Generic output |
[in] | nlibraries | WS Input |
[in] | nvitrines | WS Input |
[in] | nshelves | WS Input |
[in] | nbooks | WS Input |
[in] | npages | WS Input |
[in] | nrows | WS Input |
[in] | ncols | WS Input |
[in] | value | Generic Input |
Definition at line 597 of file m_basic_types.cc.
References out2, out3, and Tensor7::resize().
Referenced by Tensor7SetConstant_g().
Definition at line 5266 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and Tensor7SetConstant().
void Test | ( | ) |
WORKSPACE METHOD: Test.
A dummy method that can be used for test purposes.
This method can be used by ARTS developers to quickly test stuff. The implementation is in file m_general.cc. This just saves you the trouble of adding a dummy method everytime you want to try something out quickly.
Definition at line 335 of file m_general.cc.
Referenced by Test_g().
void timerStart | ( | Timer & | timer | ) |
WORKSPACE METHOD: timerStart.
Initializes the CPU timer. Use *timerStop* to output the consumed cpu time since *timerStart*.
Usage example:
timerStart() ReadXML(f_grid){"frequencies.xml"} timerStop() Prints the CPU time spent for reading the XML file
[out] | timer | WS Output |
Definition at line 259 of file m_general.cc.
Referenced by timerStart_g().
void timerStop | ( | const Timer & | timer | ) |
WORKSPACE METHOD: timerStop.
Stops the CPU timer. Use *timerStop* to output the consumed cpu time since *timerStart*. See *timerStart* for example
[in] | timer | WS Input |
Definition at line 310 of file m_general.cc.
Referenced by timerStop_g().
WORKSPACE METHOD: VectorAddScalar.
Adds a scalar to all elements of a vector.
The result can either be stored in the same or another vector.
Generic output: <br> Vector : Return vector.
Generic input: <br> Vector : Original vector.
Keywords: <br> value : The value to be added to the vector.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 621 of file m_basic_types.cc.
References ConstVectorView::nelem(), and Vector::resize().
Referenced by VectorAddScalar_g().
Definition at line 5294 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorAddScalar().
void VectorCreate | ( | Vector & | gout1 | ) |
WORKSPACE METHOD: VectorCreate.
Creates an empty Vector.
If the variable already exists, it'll be reset.
Generic output: <br> Vector: New empty Vector.
[out] | gout1 | Generic output |
Definition at line 228 of file m_create.cc.
Referenced by VectorCreate_g().
void VectorExtractFromMatrix | ( | Vector & | gout1, | |
const Matrix & | gin1, | |||
const Index & | gin2, | |||
const String & | direction | |||
) |
WORKSPACE METHOD: VectorExtractFromMatrix.
Extract a Vector from a Matrix.
Copies row or column with given Index from input Matrix variable to create output Vector.
Keywords: <br> direction : Must be either *row* or *column*.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
[in] | direction | Generic Input |
Definition at line 90 of file m_batch.cc.
References joker, ConstMatrixView::ncols(), ConstMatrixView::nrows(), and Vector::resize().
Referenced by VectorExtractFromMatrix_g().
Definition at line 5306 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorExtractFromMatrix().
WORKSPACE METHOD: VectorInsertGridPoints.
Insert some additional points into a grid.
This method can for example be used to add line center frequencies to a regular frequency grid. If the original grid is [1,2,3], and the additional points are [2.2,2.4], the result will be [1,2,2.2,2.4,3].
It is assumed that the original grid is sorted, otherwise a runtime error is thrown. The vector with the points to insert does not have to be sorted. If some of the input points are already in the grid, these points are not inserted again. New points outside the original grid are appended at the appropriate end. Input vector and output vector can be the same.
Generic output: <br> Vector : The new grid vector.
Generic input: <br> Vector : The original grid vector. <br> Vector : The points to insert.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
Definition at line 644 of file m_basic_types.cc.
References arts_exit(), get_sorted_indexes(), is_decreasing(), is_increasing(), Array< base >::nelem(), ConstVectorView::nelem(), out2, out3, and Vector::resize().
Referenced by choose_abs_nls_pert(), and VectorInsertGridPoints_g().
Definition at line 5314 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorInsertGridPoints().
void VectorLinSpace | ( | Vector & | gout1, | |
const Numeric & | start, | |||
const Numeric & | stop, | |||
const Numeric & | step | |||
) |
WORKSPACE METHOD: VectorLinSpace.
Creates a vector with linear spacing.
The first element equals always the start value, and the spacing equals always the step value, but the last value can deviate from the stop value. The keyword step can be both positive and negative.
The vector is [start, start+step, start+2*step, ...] <br> Generic output: <br> Vector : The vector to be created.
Keywords: <br> start : The start value. <br> stop : The maximum value of the end value. <br> step : The spacing of the vector.
[out] | gout1 | Generic output |
[in] | start | Generic Input |
[in] | stop | Generic Input |
[in] | step | Generic Input |
Definition at line 769 of file m_basic_types.cc.
References linspace(), ConstVectorView::nelem(), out2, and out3.
Referenced by VectorLinSpace_g().
Definition at line 5321 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorLinSpace().
void VectorLogSpace | ( | Vector & | gout1, | |
const Numeric & | start, | |||
const Numeric & | stop, | |||
const Numeric & | step | |||
) |
WORKSPACE METHOD: VectorLogSpace.
Creates a vector with logarithmic spacing.
The first element equals always the start value, and the spacing equals always the step value, but note that the last value can deviate from the stop value. The keyword step can be both positive and negative.
Note, that although start has to be given in direct coordinates, step has to be given in log coordinates.
Explicitly, the vector is: <br> exp([ln(start), ln(start)+step, ln(start)+2*step, ...]) <br> Generic output: <br> Vector : The vector to be created.
Keywords: <br> start : The start value. (Direct coordinates!) <br> stop : The maximum value of the end value. (Direct coordinates!) <br> step : The spacing of the vector. (Log coordinates!)
[out] | gout1 | Generic output |
[in] | start | Generic Input |
[in] | stop | Generic Input |
[in] | step | Generic Input |
Definition at line 786 of file m_basic_types.cc.
References linspace(), ConstVectorView::nelem(), out2, out3, and transform().
Referenced by VectorLogSpace_g().
Definition at line 5329 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorLogSpace().
WORKSPACE METHOD: VectorMatrixMultiply.
Multiply a Vector with a Matrix and store the result in another Vector.
This just computes the normal Matrix-Vector product, y=M*x. It is ok if input and output Vector are the same. This function is handy for multiplying the H Matrix to spectra.
Generic output: <br> Vector : The result of the multiplication (dimension m).
Generic input: <br> Matrix : The Matrix to multiply (dimension mxn). <br> Vector : The original Vector (dimension n).
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | gin2 | Generic Input |
Definition at line 804 of file m_basic_types.cc.
References mult(), ConstMatrixView::ncols(), ConstVectorView::nelem(), ConstMatrixView::nrows(), and Vector::resize().
Referenced by VectorMatrixMultiply_g().
Definition at line 5337 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorMatrixMultiply().
void VectorNLinSpace | ( | Vector & | gout1, | |
const Index & | nelem, | |||
const Numeric & | start, | |||
const Numeric & | stop | |||
) |
WORKSPACE METHOD: VectorNLinSpace.
Creates a vector with length *nelem*, equally spaced between the given end values.
The length must be larger than 1.
Generic output: <br> Vector : The vector to be created.
Keywords: <br> start : The start value. <br> stop : The end value.
[out] | gout1 | Generic output |
[in] | nelem | WS Input |
[in] | start | Generic Input |
[in] | stop | Generic Input |
Definition at line 831 of file m_basic_types.cc.
References nlinspace(), out2, and out3.
Referenced by VectorNLinSpace_g().
Definition at line 5344 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorNLinSpace().
void VectorNLogSpace | ( | Vector & | gout1, | |
const Index & | nelem, | |||
const Numeric & | start, | |||
const Numeric & | stop | |||
) |
WORKSPACE METHOD: VectorNLogSpace.
Creates a vector with length *nelem*, equally logarithmically spaced between the given end values.
The length must be larger than 1.
Generic output: <br> Vector : The vector to be created.
Keywords: <br> start : The start value. <br> stop : The end value. <br> n : Number of elements of the vector.
[out] | gout1 | Generic output |
[in] | nelem | WS Input |
[in] | start | Generic Input |
[in] | stop | Generic Input |
Definition at line 851 of file m_basic_types.cc.
References nlogspace(), out2, and out3.
Referenced by VectorNLogSpace_g(), ybatchMetProfiles(), and ybatchMetProfilesClear().
Definition at line 5352 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorNLogSpace().
WORKSPACE METHOD: VectorScale.
Scales all elements of a vector with the same value.
The result can either be stored in the same or another vector.
Generic output: <br> Vector : Return vector.
Generic input: <br> Vector : Original vector.
Keywords: <br> value : The value to be multiplicated with the vector.
[out] | gout1 | Generic output |
[in] | gin1 | Generic Input |
[in] | value | Generic Input |
Definition at line 871 of file m_basic_types.cc.
References ConstVectorView::nelem(), and Vector::resize().
Referenced by VectorScale_g().
Definition at line 5360 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorScale().
WORKSPACE METHOD: VectorSet.
Create a vector from the given list of numbers.
Generic output: <br> Vector : The vector to be created.
Keywords: <br> values : The vector elements.
Usage: <br> VectorSet(p_grid){[1000, 100, 10]} <br> Will create a p_grid vector with these three elements.
[out] | gout1 | Generic output |
[in] | values | Generic Input |
Definition at line 907 of file m_basic_types.cc.
Referenced by VectorSet_g().
Definition at line 5374 of file auto_md.cc.
References MRecord::Out(), MRecord::SetValue(), and VectorSet().
WORKSPACE METHOD: VectorSetConstant.
Creates a workspace vector and sets all elements of the vector to the specified value. The length of the vector is determined by the variable *nelem*.
Generic output: <br> Vector : The vector to be created.
Keywords: <br> value : The value of the vector elements.
[out] | gout1 | Generic output |
[in] | nelem | WS Input |
[in] | value | Generic Input |
Definition at line 894 of file m_basic_types.cc.
References out2, out3, and Vector::resize().
Referenced by VectorSetConstant_g().
Definition at line 5367 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorSetConstant().
void VectorZtanToZa1D | ( | Vector & | gout1, | |
const Matrix & | sensor_pos, | |||
const Matrix & | r_geoid, | |||
const Index & | atmosphere_dim, | |||
const Vector & | gin1 | |||
) |
WORKSPACE METHOD: VectorZtanToZa1D.
Converts a set of geometrical tangent altitudes to zenith angles.
The tangent altitudes are given to the function as a vector, which are converted to a generic vector of zenith angles. The position of the sensor is given by the WSV *sensor_pos*. The function works only for 1D, where the geoid radius is taken from *r_geoid*. The zenith angles are always set to be positive. The tangent altitudes are given as the altitude above the geoid.
Generic output: <br> Vector : A vector with zenith angles.
Generic input: <br> Vector : A vector with geometric tangent altitudes
[out] | gout1 | Generic output |
[in] | sensor_pos | WS Input |
[in] | r_geoid | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | gin1 | Generic Input |
Definition at line 466 of file m_ppath.cc.
References geompath_za_at_r(), ConstVectorView::nelem(), ConstMatrixView::nrows(), and Vector::resize().
Referenced by VectorZtanToZa1D_g().
Definition at line 5399 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorZtanToZa1D().
void VectorZtanToZaRefr1D | ( | Workspace & | ws, | |
Numeric & | refr_index, | |||
Numeric & | rte_pressure, | |||
Numeric & | rte_temperature, | |||
Vector & | rte_vmr_list, | |||
Vector & | gout1, | |||
const Agenda & | refr_index_agenda, | |||
const Matrix & | sensor_pos, | |||
const Vector & | p_grid, | |||
const Tensor3 & | t_field, | |||
const Tensor3 & | z_field, | |||
const Tensor4 & | vmr_field, | |||
const Matrix & | r_geoid, | |||
const Index & | atmosphere_dim, | |||
const Vector & | gin1 | |||
) |
WORKSPACE METHOD: VectorZtanToZaRefr1D.
Converts a set of true tangent altitudes to zenith angles.
The tangent altitudes are given to the function as a vector, which are converted to a generic vector of zenith angles. The position of the sensor is given by the WSV *sensor_pos*. The function works only for 1D. The zenith angles are always set to be positive. The tangent altitudes are given as the altitude above the geoid.
Generic output: <br> Vector : A vector with zenith angles.
Generic input: <br> Vector : A vector with true tangent altitudes
[in,out] | ws | Workspace |
[out] | refr_index | WS Output |
[out] | rte_pressure | WS Output |
[out] | rte_temperature | WS Output |
[out] | rte_vmr_list | WS Output |
[out] | gout1 | Generic output |
[in] | refr_index_agenda | WS Input |
[in] | sensor_pos | WS Input |
[in] | p_grid | WS Input |
[in] | t_field | WS Input |
[in] | z_field | WS Input |
[in] | vmr_field | WS Input |
[in] | r_geoid | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | gin1 | Generic Input |
Definition at line 499 of file m_ppath.cc.
References get_refr_index_1d(), joker, ConstVectorView::nelem(), ConstMatrixView::nrows(), RAD2DEG, and Vector::resize().
Referenced by VectorZtanToZaRefr1D_g().
Definition at line 5380 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and VectorZtanToZaRefr1D().
void WriteNetCDF | ( | const T & | genericinput1, | |
const String & | filename, | |||
const String & | genericinput1_wsvname, | |||
const String & | filename_wsvname | |||
) | [inline] |
WORKSPACE METHOD: WriteNetCDF.
Writes a workspace variable to a NetCDF file.
This is a supergeneric method. It can write variables of any group.
If the filename is omitted, the variable is written to <basename>.<variable_name>.nc.
[in] | genericinput1 | Generic Input |
[in] | filename | Generic Input (Default: "") |
[in] | genericinput1_wsvname | Generic Input Name |
[in] | filename_wsvname | Generic Input Name |
Definition at line 93 of file m_nc.h.
Referenced by WriteNetCDF(), WriteNetCDF_sg_ArrayOfMatrix_g(), WriteNetCDF_sg_ArrayOfVector_g(), WriteNetCDF_sg_Matrix_g(), WriteNetCDF_sg_Tensor3_g(), WriteNetCDF_sg_Tensor4_g(), and WriteNetCDF_sg_Vector_g().
Definition at line 5448 of file auto_md.cc.
References MRecord::In(), WriteNetCDF(), and Workspace::wsv_data.
Definition at line 5440 of file auto_md.cc.
References MRecord::In(), WriteNetCDF(), and Workspace::wsv_data.
Definition at line 5416 of file auto_md.cc.
References MRecord::In(), WriteNetCDF(), and Workspace::wsv_data.
Definition at line 5424 of file auto_md.cc.
References MRecord::In(), WriteNetCDF(), and Workspace::wsv_data.
Definition at line 5432 of file auto_md.cc.
References MRecord::In(), WriteNetCDF(), and Workspace::wsv_data.
Definition at line 5408 of file auto_md.cc.
References MRecord::In(), WriteNetCDF(), and Workspace::wsv_data.
void WriteXML | ( | const String & | output_file_format, | |
const T & | gin1, | |||
const String & | filename, | |||
const String & | gin1_wsvname, | |||
const String & | filename_wsvname | |||
) | [inline] |
WORKSPACE METHOD: WriteXML.
Writes a workspace variable to an XML file.
This is a supergeneric method. It can write variables of any group.
If the filename is omitted, the variable is written to <basename>.<variable_name>.xml.
[in] | output_file_format | WS Input |
[in] | gin1 | Generic Input |
[in] | filename | Generic Input (Default: "") |
[in] | gin1_wsvname | Generic Input Name |
[in] | filename_wsvname | Generic Input Name |
Definition at line 73 of file m_xml.h.
References FILE_TYPE_ASCII, FILE_TYPE_BINARY, FILE_TYPE_ZIPPED_ASCII, filename_xml(), and xml_write_to_file().
Referenced by Cloudbox_ppathCalc(), WriteXML(), WriteXML_sg_Agenda_g(), WriteXML_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), WriteXML_sg_ArrayOfArrayOfGField1_g(), WriteXML_sg_ArrayOfArrayOfGField3_g(), WriteXML_sg_ArrayOfArrayOfIndex_g(), WriteXML_sg_ArrayOfArrayOfLineRecord_g(), WriteXML_sg_ArrayOfArrayOfMatrix_g(), WriteXML_sg_ArrayOfArrayOfSpeciesTag_g(), WriteXML_sg_ArrayOfArrayOfTensor3_g(), WriteXML_sg_ArrayOfArrayOfTensor6_g(), WriteXML_sg_ArrayOfGField1_g(), WriteXML_sg_ArrayOfGField2_g(), WriteXML_sg_ArrayOfGField3_g(), WriteXML_sg_ArrayOfGField4_g(), WriteXML_sg_ArrayOfIndex_g(), WriteXML_sg_ArrayOfLineRecord_g(), WriteXML_sg_ArrayOfLineshapeSpec_g(), WriteXML_sg_ArrayOfMatrix_g(), WriteXML_sg_ArrayOfPpath_g(), WriteXML_sg_ArrayOfRetrievalQuantity_g(), WriteXML_sg_ArrayOfSingleScatteringData_g(), WriteXML_sg_ArrayOfString_g(), WriteXML_sg_ArrayOfTensor3_g(), WriteXML_sg_ArrayOfTensor4_g(), WriteXML_sg_ArrayOfTensor6_g(), WriteXML_sg_ArrayOfTensor7_g(), WriteXML_sg_ArrayOfVector_g(), WriteXML_sg_GasAbsLookup_g(), WriteXML_sg_GField1_g(), WriteXML_sg_GField2_g(), WriteXML_sg_GField3_g(), WriteXML_sg_GField4_g(), WriteXML_sg_GridPos_g(), WriteXML_sg_Index_g(), WriteXML_sg_Matrix_g(), WriteXML_sg_MCAntenna_g(), WriteXML_sg_Numeric_g(), WriteXML_sg_Ppath_g(), WriteXML_sg_SingleScatteringData_g(), WriteXML_sg_SLIData2_g(), WriteXML_sg_Sparse_g(), WriteXML_sg_String_g(), WriteXML_sg_Tensor3_g(), WriteXML_sg_Tensor4_g(), WriteXML_sg_Tensor5_g(), WriteXML_sg_Tensor6_g(), WriteXML_sg_Tensor7_g(), WriteXML_sg_Timer_g(), WriteXML_sg_Vector_g(), and WriteXMLIndexed().
Definition at line 5726 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5745 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5853 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5862 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5573 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5681 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5609 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5699 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5627 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5663 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5817 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5826 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5835 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5844 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5564 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5672 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5690 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5600 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5717 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5871 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5772 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5582 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5618 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5636 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5645 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5654 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5591 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5754 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5781 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5790 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5799 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5808 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5736 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5456 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5492 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5880 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5465 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5708 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5763 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5889 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5501 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5474 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5510 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5519 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5528 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5537 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5546 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5555 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
Definition at line 5483 of file auto_md.cc.
References MRecord::In(), WriteXML(), and Workspace::wsv_data.
void WriteXMLIndexed | ( | const String & | output_file_format, | |
const Index & | file_index, | |||
const T & | gin1, | |||
const String & | filename, | |||
const String & | gin1_wsvname, | |||
const String & | filename_wsvname | |||
) | [inline] |
WORKSPACE METHOD: WriteXMLIndexed.
As *WriteXML*, but creates indexed file names.
The variable is written to a file with name: <br> <filename>.<file_index>.xml. where <file_index> is the value of *file_index*. This: <br> IndexSet(file_index){0} <br> IndexStep(file_index){} <br> WriteXML(ppath){"ppath"} will create the file ppath.1.xml.
This means that *filename* shall here not include the .xml extension. Omitting filename works as for *WriteXML*.
[in] | output_file_format | WS Input |
[in] | file_index | WS Input |
[in] | gin1 | Generic Input |
[in] | filename | Generic Input (Default: "") |
[in] | gin1_wsvname | Generic Input Name |
[in] | filename_wsvname | Generic Input Name |
Definition at line 124 of file m_xml.h.
References filename_xml_with_index(), and WriteXML().
Referenced by WriteXMLIndexed(), WriteXMLIndexed_sg_Agenda_g(), WriteXMLIndexed_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), WriteXMLIndexed_sg_ArrayOfArrayOfGField1_g(), WriteXMLIndexed_sg_ArrayOfArrayOfGField3_g(), WriteXMLIndexed_sg_ArrayOfArrayOfIndex_g(), WriteXMLIndexed_sg_ArrayOfArrayOfLineRecord_g(), WriteXMLIndexed_sg_ArrayOfArrayOfMatrix_g(), WriteXMLIndexed_sg_ArrayOfArrayOfSpeciesTag_g(), WriteXMLIndexed_sg_ArrayOfArrayOfTensor3_g(), WriteXMLIndexed_sg_ArrayOfArrayOfTensor6_g(), WriteXMLIndexed_sg_ArrayOfGField1_g(), WriteXMLIndexed_sg_ArrayOfGField2_g(), WriteXMLIndexed_sg_ArrayOfGField3_g(), WriteXMLIndexed_sg_ArrayOfGField4_g(), WriteXMLIndexed_sg_ArrayOfIndex_g(), WriteXMLIndexed_sg_ArrayOfLineRecord_g(), WriteXMLIndexed_sg_ArrayOfLineshapeSpec_g(), WriteXMLIndexed_sg_ArrayOfMatrix_g(), WriteXMLIndexed_sg_ArrayOfPpath_g(), WriteXMLIndexed_sg_ArrayOfRetrievalQuantity_g(), WriteXMLIndexed_sg_ArrayOfSingleScatteringData_g(), WriteXMLIndexed_sg_ArrayOfString_g(), WriteXMLIndexed_sg_ArrayOfTensor3_g(), WriteXMLIndexed_sg_ArrayOfTensor4_g(), WriteXMLIndexed_sg_ArrayOfTensor6_g(), WriteXMLIndexed_sg_ArrayOfTensor7_g(), WriteXMLIndexed_sg_ArrayOfVector_g(), WriteXMLIndexed_sg_GasAbsLookup_g(), WriteXMLIndexed_sg_GField1_g(), WriteXMLIndexed_sg_GField2_g(), WriteXMLIndexed_sg_GField3_g(), WriteXMLIndexed_sg_GField4_g(), WriteXMLIndexed_sg_GridPos_g(), WriteXMLIndexed_sg_Index_g(), WriteXMLIndexed_sg_Matrix_g(), WriteXMLIndexed_sg_MCAntenna_g(), WriteXMLIndexed_sg_Numeric_g(), WriteXMLIndexed_sg_Ppath_g(), WriteXMLIndexed_sg_SingleScatteringData_g(), WriteXMLIndexed_sg_SLIData2_g(), WriteXMLIndexed_sg_Sparse_g(), WriteXMLIndexed_sg_String_g(), WriteXMLIndexed_sg_Tensor3_g(), WriteXMLIndexed_sg_Tensor4_g(), WriteXMLIndexed_sg_Tensor5_g(), WriteXMLIndexed_sg_Tensor6_g(), WriteXMLIndexed_sg_Tensor7_g(), WriteXMLIndexed_sg_Timer_g(), and WriteXMLIndexed_sg_Vector_g().
Definition at line 6198 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
void WriteXMLIndexed_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g | ( | Workspace & | ws, | |
const MRecord & | mr | |||
) |
Definition at line 6219 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6339 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6349 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6028 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6148 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6068 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6168 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6088 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6128 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6299 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6309 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6319 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6329 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6018 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6138 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6158 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6058 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6188 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6359 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6249 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6038 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6078 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6098 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6108 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6118 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6048 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6229 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6259 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6269 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6279 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6289 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6209 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5898 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5938 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6369 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5908 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6178 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6239 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6379 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5948 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5918 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5958 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5968 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5978 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5988 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5998 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 6008 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
Definition at line 5928 of file auto_md.cc.
References MRecord::In(), WriteXMLIndexed(), and Workspace::wsv_data.
void ybatch_calc_agendaExecute | ( | Workspace & | ws, | |
Vector & | y, | |||
const Index | ybatch_index, | |||
const Agenda & | input_agenda | |||
) |
Definition at line 8695 of file auto_md.cc.
References agenda_data, AgendaMap, Workspace::duplicate(), Agenda::execute(), Agenda::get_output2dup(), Agenda::get_output2push(), AgRecord::In(), Agenda::name(), AgRecord::Out(), Workspace::pop(), Workspace::pop_free(), Workspace::push(), and Workspace::push_uninitialized().
Referenced by ybatchCalc_implementation().
void ybatchCalc | ( | Workspace & | ws, | |
Matrix & | ybatch, | |||
const Index & | ybatch_n, | |||
const Agenda & | ybatch_calc_agenda, | |||
const Index & | robust | |||
) |
WORKSPACE METHOD: ybatchCalc.
Performs batch calculations.
The method performs the following: <br> 1. Sets *ybatch_index* = 0. <br> 2. Performs a-d until *ybatch_index* = *ybatch_n*. <br> a. Executes *ybatch_calc_agenda*. <br> b. If *ybatch_index* = 0, resizes *ybatch* based <br> on *ybatch_n* and length of *y*. <br> c. Copies *y* to column *ybatch_index* of *ybatch*. <br> d. Adds 1 to *ybatch_index*.
This means that, beside the *ybatch_calc_agenda*, the WSV ybatch_n* must be set before calling this method. Further, ybatch_calc_agenda* is expected to produce a spectrum and should accordingly include a call of *RteCalc* (or a similar method).
An agenda that calculates spectra for different temperature profiles could look like this:
<br> AgendaSet(ybatch_calc_agenda){ <br> Extract(t_field,tensor4_1,ybatch_index){} <br> RteCalc{} <br> }
See the user guide for further practical examples.
Keywords: <br> robust : a flag with value 1 or 0. If set to one, the batch <br> calculation will continue, even if individual jobs <br> fail. In that case, a warning message is written to <br> screen and file (out1 output stream), and ybatch for the <br> failed job is set to -1. The robust behavior does only work <br> properly if you have compiled the program without OpenMP! <br> (Use the configure option "--disable-vectorize".)
[in,out] | ws | Workspace |
[out] | ybatch | WS Output |
[in] | ybatch_n | WS Input |
[in] | ybatch_calc_agenda | WS Input |
[in] | robust | Generic Input (Default: "0") |
Definition at line 242 of file m_batch.cc.
References out2, and ybatchCalc_implementation().
Referenced by ybatchCalc_g().
Definition at line 6389 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ybatchCalc().
void ybatchMetProfiles | ( | Workspace & | ws, | |
Matrix & | ybatch, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Agenda & | met_profile_calc_agenda, | |||
const Vector & | f_grid, | |||
const Matrix & | met_amsu_data, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | r_geoid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Index & | atmosphere_dim, | |||
const ArrayOfSingleScatteringData & | scat_data_raw, | |||
const Index & | nelem_p_grid, | |||
const String & | met_profile_path, | |||
const String & | met_profile_pnd_path | |||
) |
WORKSPACE METHOD: ybatchMetProfiles.
This method is used for simulating ARTS for metoffice model fields This method reads in *met_amsu_data* which contains the lat-lon of the metoffice profile files as a Matrix. It then loops over the number of profiles and corresponding to each longitude create the appropriate profile basename. Then, Corresponding to each basename we have temperature field, altitude field, humidity field and particle number density field. The temperature field and altitude field are stored in the same dimensions as *t_field_raw* and *z_field_raw*. The oxygen and nitrogen VMRs are set to constant values of 0.209 and 0.782, respectively and are used along with humidity field to generate *vmr_field_raw*.
The three fields *t_field_raw*, *z_field_raw*, and *vmr_field_raw* are given as input to *met_profile_calc_agenda* which is called in this method. See documentation of WSM *met_profile_calc_agenda* for more information on this agenda.
The method also converts satellite zenith angle to appropriate sensor_los*. It also sets the *p_grid* and *cloudbox_limits* from the profiles inside the function
[in,out] | ws | Workspace |
[out] | ybatch | WS Output |
[in] | abs_species | WS Input |
[in] | met_profile_calc_agenda | WS Input |
[in] | f_grid | WS Input |
[in] | met_amsu_data | WS Input |
[in] | sensor_pos | WS Input |
[in] | r_geoid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | scat_data_raw | WS Input |
[in] | nelem_p_grid | Generic Input |
[in] | met_profile_path | Generic Input |
[in] | met_profile_pnd_path | Generic Input |
Definition at line 268 of file m_batch.cc.
References abs, cloudboxSetManually(), DEG2RAD, GField::get_numeric_grid(), GFIELD3_P_GRID, joker, met_profile_calc_agendaExecute(), ConstVectorView::nelem(), Array< base >::nelem(), ConstMatrixView::nrows(), RAD2DEG, Vector::resize(), Matrix::resize(), VectorNLogSpace(), and xml_read_from_file().
Referenced by ybatchMetProfiles_g().
Definition at line 6398 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ybatchMetProfiles().
void ybatchMetProfilesClear | ( | Workspace & | ws, | |
Matrix & | ybatch, | |||
const ArrayOfArrayOfSpeciesTag & | abs_species, | |||
const Agenda & | met_profile_calc_agenda, | |||
const Vector & | f_grid, | |||
const Matrix & | met_amsu_data, | |||
const Matrix & | sensor_pos, | |||
const Matrix & | r_geoid, | |||
const Index & | nelem_p_grid, | |||
const String & | met_profile_path | |||
) |
WORKSPACE METHOD: ybatchMetProfilesClear.
This method is used for simulating ARTS for metoffice model fields for clear sky conditions.
This method reads in *met_amsu_data* which contains the lat-lon of the metoffice profile files as a Matrix. It then loops over the number of profiles and corresponding to each longitude create the appropriate profile basename. Then, Corresponding to each basename we have temperature field, altitude field, humidity field and particle number density field. The temperature field and altitude field are stored in the same dimensions as *t_field_raw* and *z_field_raw*. The oxygen and nitrogen VMRs are set to constant values of 0.209 and 0.782, respectively and are used along with humidity field to generate *vmr_field_raw*.
The three fields *t_field_raw*, *z_field_raw*, and *vmr_field_raw* are given as input to *met_profile_calc_agenda* which is called in this method. See documentation of WSM *met_profile_calc_agenda* for more information on this agenda.
The method also converts satellite zenith angle to appropriate sensor_los*. It also sets the *p_grid* and *cloudbox_limits* from the profiles inside the function
[in,out] | ws | Workspace |
[out] | ybatch | WS Output |
[in] | abs_species | WS Input |
[in] | met_profile_calc_agenda | WS Input |
[in] | f_grid | WS Input |
[in] | met_amsu_data | WS Input |
[in] | sensor_pos | WS Input |
[in] | r_geoid | WS Input |
[in] | nelem_p_grid | Generic Input |
[in] | met_profile_path | Generic Input |
Definition at line 493 of file m_batch.cc.
References abs, GField::get_numeric_grid(), GFIELD3_P_GRID, joker, met_profile_calc_agendaExecute(), ConstVectorView::nelem(), Array< base >::nelem(), ConstMatrixView::nrows(), PI, Matrix::resize(), Vector::resize(), VectorNLogSpace(), xml_read_from_file(), and xml_write_to_file().
Referenced by ybatchMetProfilesClear_g().
Definition at line 6417 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ybatchMetProfilesClear().
WORKSPACE METHOD: ybatchUnit.
Conversion of *ybatch* to other spectral units.
As *yUnit* but operates on *ybatch*.
[out] | ybatch | WS Output |
[in] | y_unit | WS Input |
[in] | y_f | WS Input |
Definition at line 656 of file m_batch.cc.
References invplanck(), invrayjean(), ConstMatrixView::ncols(), ConstVectorView::nelem(), and ConstMatrixView::nrows().
Referenced by jacobianUnit(), and ybatchUnit_g().
Definition at line 6431 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ybatchUnit().
WORKSPACE METHOD: yUnit.
Conversion of *y* to other spectral units.
The conversion specified by *y_unit* is applied. This function can be used if the standard way of making the conversion inside the radiative transfer function does not work. The WSV *y_unit* should then be set to "1" when performing the radiative transfer calculations, and be changed before calling this method.
[out] | y | WS Output |
[in] | y_unit | WS Input |
[in] | y_f | WS Input |
Definition at line 730 of file m_rte.cc.
References invplanck(), invrayjean(), and ConstVectorView::nelem().
Referenced by yUnit_g().
void ZaSatOccultation | ( | Workspace & | ws, | |
Vector & | gout1, | |||
const Agenda & | ppath_step_agenda, | |||
const Index & | atmosphere_dim, | |||
const Vector & | p_grid, | |||
const Vector & | lat_grid, | |||
const Vector & | lon_grid, | |||
const Tensor3 & | z_field, | |||
const Matrix & | r_geoid, | |||
const Matrix & | z_surface, | |||
const Numeric & | z_recieve, | |||
const Numeric & | z_send, | |||
const Numeric & | t_sample, | |||
const Numeric & | z_scan_low, | |||
const Numeric & | z_scan_high | |||
) |
WORKSPACE METHOD: ZaSatOccultation.
Calculates zenith angles for satellite occultations.
The zenith angles are calculated with an interval of *t_sample with the recieving satellite at height *z_recieve* above the geoid and the transmitting satellite at height *z_send*. The zenith angles are restricted by the two tangent altitudes z_scan_low* and *z_scan_high*.
[in,out] | ws | Workspace |
[out] | gout1 | Generic output |
[in] | ppath_step_agenda | WS Input |
[in] | atmosphere_dim | WS Input |
[in] | p_grid | WS Input |
[in] | lat_grid | WS Input |
[in] | lon_grid | WS Input |
[in] | z_field | WS Input |
[in] | r_geoid | WS Input |
[in] | z_surface | WS Input |
[in] | z_recieve | Generic Input |
[in] | z_send | Generic Input |
[in] | t_sample | Generic Input |
[in] | z_scan_low | Generic Input |
[in] | z_scan_high | Generic Input |
Definition at line 551 of file m_ppath.cc.
References chk_atm_field(), chk_atm_grids(), chk_atm_surface(), DEG2RAD, EARTH_GRAV_CONST, geompath_lat_at_za(), geompath_za_at_r(), gridpos(), interp(), interpweights(), linspace(), Ppath::los, ConstVectorView::nelem(), Ppath::np, Ppath::pos, ppath_calc(), RAD2DEG, Vector::resize(), and Ppath::tan_pos.
Referenced by ZaSatOccultation_g().
Definition at line 6445 of file auto_md.cc.
References MRecord::In(), MRecord::Out(), and ZaSatOccultation().