Go to the documentation of this file.
105 "NonlinearSpecies", verbosity);
112 "NonlinearSpeciesVmrPertubations", verbosity);
115 close_tag.
set_name (
"/GasAbsLookup");
171 xml_parse_error (
"Grids must be of type <Vector> or <ArrayOfString> but <ArrayOf"
177 xml_parse_error (
"Grids must be of type <Vector> or <ArrayOfString> but <"
244 throw runtime_error (
"Dimension mismatch between the grids and the data");
264 open_tag.
set_name (
"GriddedField1");
265 if (!name.length () && (gfield.
get_name().length ()))
267 else if (name.length ())
276 close_tag.
set_name (
"/GriddedField1");
312 throw runtime_error (
"Dimension mismatch between the grids and the data");
332 open_tag.
set_name (
"GriddedField2");
333 if (!name.length () && (gfield.
get_name().length ()))
335 else if (name.length ())
344 close_tag.
set_name (
"/GriddedField2");
380 throw runtime_error (
"Dimension mismatch between the grids and the data");
400 open_tag.
set_name (
"GriddedField3");
401 if (!name.length () && (gfield.
get_name().length ()))
403 else if (name.length ())
412 close_tag.
set_name (
"/GriddedField3");
465 open_tag.
set_name (
"GriddedField4");
466 if (!name.length () && (gfield.
get_name().length ()))
468 else if (name.length ())
477 close_tag.
set_name (
"/GriddedField4");
531 "OriginalGridIndexBelowInterpolationPoint", verbosity);
533 "FractionalDistanceToNextPoint_1", verbosity);
535 "FractionalDistanceToNextPoint_2", verbosity);
577 irecord =
IsotopeRecord (name, abundance, mass, mytrantag, hitrantag,
598 open_tag.
set_name (
"IsotopeRecord");
611 close_tag.
set_name (
"/IsotopeRecord");
679 "NumberOfPositionInPropagationPath", verbosity);
681 "PropagationPathConstant", verbosity);
683 "PropagationPathPointPositions", verbosity);
686 "PropagationPathPositionLength", verbosity);
689 "LatitudeGridIndexPosition", verbosity);
691 "LongitudeGridIndexPosition", verbosity);
696 "GeometricalTangentPointPosition", verbosity);
760 open_tag.
set_name (
"RetrievalQuantity");
772 close_tag.
set_name (
"/RetrievalQuantity");
807 os <<
"Missing data in xml-stream. Expected za_grid: [0, 180]. "
808 <<
"Found za_grid: [" << ssdata.
za_grid[0]
812 throw runtime_error(os.str());
819 throw runtime_error(
"Number of frequencies in f_grid and pha_mat_data "
847 open_tag.
set_name (
"SingleScatteringData");
862 close_tag.
set_name (
"/SingleScatteringData");
920 open_tag.
set_name (
"ScatteringMetaData");
934 close_tag.
set_name (
"/ScatteringMetaData");
1039 open_tag.
set_name (
"SpeciesRecord");
1049 close_tag.
set_name (
"/SpeciesRecord");
1077 bool string_starts_with_quotes =
true;
1090 string_starts_with_quotes =
false;
1092 }
while (is_xml.good () && dummy !=
'"' && string_starts_with_quotes);
1095 if (!string_starts_with_quotes)
1100 is_xml.get (strbuf,
'"');
1138 os_xml <<
'\"' << stag.
Name () <<
'\"';
1140 close_tag.
set_name (
"/SpeciesTag");
1158 throw runtime_error(
"Method not implemented!");
1167 throw runtime_error(
"Method not implemented!");
1177 throw runtime_error(
"Method not implemented!");
1186 throw runtime_error(
"Method not implemented!");
1196 throw runtime_error(
"Method not implemented!");
1205 throw runtime_error(
"Method not implemented!");
Implementation of gridded fields.
const ArrayOfString & get_string_grid(Index i) const
Get a string grid.
void set_grid_name(Index i, const String &s)
Set grid name.
const Index & Analytical() const
Boolean to make analytical calculations (if possible).
void check_name(const String &expected_name)
Check tag name.
ArrayOfIndex nonlinear_species
The species tags with non-linear treatment.
const ArrayOfVector & Grids() const
Grids.
const ArrayOfIndex & JplTags() const
JPL tag numbers for all isotopes.
void xml_write_to_stream(ostream &os_xml, const GasAbsLookup &gal, bofstream *pbofs, const String &name, const Verbosity &verbosity)
Writes GasAbsLookup to XML output stream.
String Name() const
Return the full name of the tag.
ParticleType
An attribute to classify the particle type in a SingleScatteringData.
Index get_dim() const
Get the dimension of this gridded field.
void xml_parse_from_stream(istream &is_xml, ArrayOfString &astring, bifstream *pbifs, ArtsXMLTag &tag, const Verbosity &verbosity)
Parse ArrayOfString from XML input stream.
void get_attribute_value(const String &aname, String &value)
Returns value of attribute as String.
An Antenna object used by MCGeneral.
const Numeric & Abundance() const
Normal abundance ( = isotopic ratio).
ConstVectorView get_numeric_grid(Index i) const
Get a numeric grid.
void write_to_stream(ostream &os)
Write XML tag.
const String & Name() const
Isotope name.
The structure to describe a propagation path and releated quantities.
Structure which describes the single scattering properties of a.
An absorption lookup table.
Index nlibraries() const
Returns the number of libraries.
const Index & MytranTag() const
MYTRAN2 tag numbers for all isotopes.
GridType get_grid_type(Index i) const
Get grid type.
This can be used to make arrays out of anything.
This file contains private function declarations and template instantiation to handle XML data files.
A tag group can consist of the sum of several of these.
const Index & HitranTag() const
HITRAN-96 tag numbers for all isotopes.
void read_from_stream(istream &is)
Reads next XML tag.
The implementation for String, the ARTS string class.
const String & MainTag() const
Main tag.
Contains the lookup data for one isotope.
void xml_parse_error(const String &str_error)
Throws XML parser runtime error.
Index nelem() const
Returns the number of elements.
Vector t_ref
The reference temperature profile [K].
This file contains private function declarations and template instantiation to handle XML data files.
Vector f_grid
The frequency grid [Hz].
Vector p_grid
The pressure grid for the table [Pa].
const Array< IsotopeRecord > & Isotope() const
const String & Mode() const
Calculation mode.
Declarations required for the calculation of jacobians.
NUMERIC Numeric
The type to use for all floating point numbers.
void add_attribute(const String &aname, const String &value)
Adds a String attribute to tag.
Binary output file stream class.
void set_name(const String &s)
Set name of this gridded field.
Vector nls_pert
The vector of perturbations for the VMRs of the nonlinear species.
const String & get_name() const
Get the name of this gridded field.
Tensor4 xsec
Absorption cross sections.
Contains the lookup data for one species.
void xml_read_from_stream(istream &is_xml, GasAbsLookup &gal, bifstream *pbifs, const Verbosity &verbosity)
Reads GasAbsLookup from XML input stream.
virtual bool checksize() const
Consistency check.
ArrayOfArrayOfSpeciesTag species
The species tags for which the table is valid.
Structure to store a grid position.
void set_grid(Index i, const Vector &g)
Set a numeric grid.
const Numeric & Mass() const
Mass of the isotope.
const String & Name() const
A 2D sequential linear interpolation (SLI) lookup table.
Header file for sparse matrices.
INDEX Index
The type to use for all integer numbers and indices.
const String & get_grid_name(Index i) const
Get grid name.
Contains the data for one retrieval quantity.
Matrix vmrs_ref
The reference VMR profiles.
Vector t_pert
The vector of temperature perturbations [K].
void set_name(const String &new_name)
const String & Subtag() const
Subtag.
The global header file for ARTS.
Binary output file stream class.
const Numeric & Perturbation() const
Size of perturbation used for perturbation calculations.