ARTS  2.2.66
m_xml.cc File Reference

Non-template implementations of workspace methods for XML IO. More...

#include "m_xml.h"

Go to the source code of this file.

Functions

void ReadXML (Workspace &ws, Agenda &v, const String &v_name, const String &f, const String &f_name, const Verbosity &verbosity)
 
void ReadXMLIndexed (Workspace &ws, Agenda &v, const String &v_name, const Index &file_index, const String &f, const String &f_name, const Verbosity &verbosity)
 
void WriteXML (Workspace &ws, const String &file_format, const Agenda &v, const String &f, const Index &no_clobber, const String &v_name, const String &f_name, const String &no_clobber_name, const Verbosity &verbosity)
 
void WriteXMLIndexed (Workspace &ws, const String &file_format, const Index &file_index, const Agenda &v, const String &f, const String &v_name, const String &f_name, const Verbosity &verbosity)
 
void output_file_formatSetAscii (String &file_format, const Verbosity &)
 WORKSPACE METHOD: output_file_formatSetAscii. More...
 
void output_file_formatSetZippedAscii (String &file_format, const Verbosity &)
 WORKSPACE METHOD: output_file_formatSetZippedAscii. More...
 
void output_file_formatSetBinary (String &file_format, const Verbosity &)
 WORKSPACE METHOD: output_file_formatSetBinary. More...
 

Detailed Description

Non-template implementations of workspace methods for XML IO.

Author
Oliver Lemke olemk.nosp@m.e@co.nosp@m.re-du.nosp@m.mp.i.nosp@m.nfo
Date
2013-03-04

Definition in file m_xml.cc.

Function Documentation

◆ output_file_formatSetAscii()

void output_file_formatSetAscii ( String output_file_format,
const Verbosity verbosity 
)

WORKSPACE METHOD: output_file_formatSetAscii.

Sets the output file format to ASCII.

Author
Oliver Lemke
Parameters
[out]output_file_formatWS Output

Definition at line 105 of file m_xml.cc.

Referenced by output_file_formatSetAscii_g().

◆ output_file_formatSetBinary()

void output_file_formatSetBinary ( String output_file_format,
const Verbosity verbosity 
)

WORKSPACE METHOD: output_file_formatSetBinary.

Sets the output file format to binary.

Author
Oliver Lemke
Parameters
[out]output_file_formatWS Output

Definition at line 125 of file m_xml.cc.

Referenced by output_file_formatSetBinary_g().

◆ output_file_formatSetZippedAscii()

void output_file_formatSetZippedAscii ( String output_file_format,
const Verbosity verbosity 
)

WORKSPACE METHOD: output_file_formatSetZippedAscii.

Sets the output file format to zipped ASCII.

Author
Oliver Lemke
Parameters
[out]output_file_formatWS Output

Definition at line 115 of file m_xml.cc.

Referenced by output_file_formatSetZippedAscii_g().

◆ ReadXML()

void ReadXML ( Workspace ws,
Agenda v,
const String v_name,
const String f,
const String f_name,
const Verbosity verbosity 
)

Definition at line 31 of file m_xml.cc.

References ReadXML().

Referenced by main(), ReadXML(), ReadXML_sg_Agenda_g(), ReadXML_sg_ArrayOfArrayOfGriddedField1_g(), ReadXML_sg_ArrayOfArrayOfGriddedField2_g(), ReadXML_sg_ArrayOfArrayOfGriddedField3_g(), ReadXML_sg_ArrayOfArrayOfIndex_g(), ReadXML_sg_ArrayOfArrayOfLineMixingRecord_g(), ReadXML_sg_ArrayOfArrayOfLineRecord_g(), ReadXML_sg_ArrayOfArrayOfMatrix_g(), ReadXML_sg_ArrayOfArrayOfSpeciesTag_g(), ReadXML_sg_ArrayOfArrayOfTensor3_g(), ReadXML_sg_ArrayOfArrayOfTensor6_g(), ReadXML_sg_ArrayOfArrayOfVector_g(), ReadXML_sg_ArrayOfCIARecord_g(), ReadXML_sg_ArrayOfGriddedField1_g(), ReadXML_sg_ArrayOfGriddedField2_g(), ReadXML_sg_ArrayOfGriddedField3_g(), ReadXML_sg_ArrayOfGriddedField4_g(), ReadXML_sg_ArrayOfIndex_g(), ReadXML_sg_ArrayOfLineMixingRecord_g(), ReadXML_sg_ArrayOfLineRecord_g(), ReadXML_sg_ArrayOfLineshapeSpec_g(), ReadXML_sg_ArrayOfMatrix_g(), ReadXML_sg_ArrayOfRetrievalQuantity_g(), ReadXML_sg_ArrayOfScatteringMetaData_g(), ReadXML_sg_ArrayOfSingleScatteringData_g(), ReadXML_sg_ArrayOfSparse_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_GriddedField1_g(), ReadXML_sg_GriddedField2_g(), ReadXML_sg_GriddedField3_g(), ReadXML_sg_GriddedField4_g(), ReadXML_sg_GriddedField5_g(), ReadXML_sg_GriddedField6_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_ScatteringMetaData_g(), ReadXML_sg_SingleScatteringData_g(), ReadXML_sg_Sparse_g(), ReadXML_sg_SpeciesAuxData_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(), ReadXML_sg_Vector_g(), and ReadXML_sg_Verbosity_g().

◆ ReadXMLIndexed()

void ReadXMLIndexed ( Workspace ws,
Agenda v,
const String v_name,
const Index file_index,
const String f,
const String f_name,
const Verbosity verbosity 
)

Definition at line 48 of file m_xml.cc.

Referenced by ReadXMLIndexed_sg_Agenda_g(), ReadXMLIndexed_sg_ArrayOfArrayOfGriddedField1_g(), ReadXMLIndexed_sg_ArrayOfArrayOfGriddedField2_g(), ReadXMLIndexed_sg_ArrayOfArrayOfGriddedField3_g(), ReadXMLIndexed_sg_ArrayOfArrayOfIndex_g(), ReadXMLIndexed_sg_ArrayOfArrayOfLineMixingRecord_g(), ReadXMLIndexed_sg_ArrayOfArrayOfLineRecord_g(), ReadXMLIndexed_sg_ArrayOfArrayOfMatrix_g(), ReadXMLIndexed_sg_ArrayOfArrayOfSpeciesTag_g(), ReadXMLIndexed_sg_ArrayOfArrayOfTensor3_g(), ReadXMLIndexed_sg_ArrayOfArrayOfTensor6_g(), ReadXMLIndexed_sg_ArrayOfArrayOfVector_g(), ReadXMLIndexed_sg_ArrayOfCIARecord_g(), ReadXMLIndexed_sg_ArrayOfGriddedField1_g(), ReadXMLIndexed_sg_ArrayOfGriddedField2_g(), ReadXMLIndexed_sg_ArrayOfGriddedField3_g(), ReadXMLIndexed_sg_ArrayOfGriddedField4_g(), ReadXMLIndexed_sg_ArrayOfIndex_g(), ReadXMLIndexed_sg_ArrayOfLineMixingRecord_g(), ReadXMLIndexed_sg_ArrayOfLineRecord_g(), ReadXMLIndexed_sg_ArrayOfLineshapeSpec_g(), ReadXMLIndexed_sg_ArrayOfMatrix_g(), ReadXMLIndexed_sg_ArrayOfRetrievalQuantity_g(), ReadXMLIndexed_sg_ArrayOfScatteringMetaData_g(), ReadXMLIndexed_sg_ArrayOfSingleScatteringData_g(), ReadXMLIndexed_sg_ArrayOfSparse_g(), ReadXMLIndexed_sg_ArrayOfString_g(), ReadXMLIndexed_sg_ArrayOfTensor3_g(), ReadXMLIndexed_sg_ArrayOfTensor4_g(), ReadXMLIndexed_sg_ArrayOfTensor6_g(), ReadXMLIndexed_sg_ArrayOfTensor7_g(), ReadXMLIndexed_sg_ArrayOfVector_g(), ReadXMLIndexed_sg_GasAbsLookup_g(), ReadXMLIndexed_sg_GriddedField1_g(), ReadXMLIndexed_sg_GriddedField2_g(), ReadXMLIndexed_sg_GriddedField3_g(), ReadXMLIndexed_sg_GriddedField4_g(), ReadXMLIndexed_sg_GriddedField5_g(), ReadXMLIndexed_sg_GriddedField6_g(), ReadXMLIndexed_sg_GridPos_g(), ReadXMLIndexed_sg_Index_g(), ReadXMLIndexed_sg_Matrix_g(), ReadXMLIndexed_sg_MCAntenna_g(), ReadXMLIndexed_sg_Numeric_g(), ReadXMLIndexed_sg_Ppath_g(), ReadXMLIndexed_sg_ScatteringMetaData_g(), ReadXMLIndexed_sg_SingleScatteringData_g(), ReadXMLIndexed_sg_Sparse_g(), ReadXMLIndexed_sg_SpeciesAuxData_g(), ReadXMLIndexed_sg_String_g(), ReadXMLIndexed_sg_Tensor3_g(), ReadXMLIndexed_sg_Tensor4_g(), ReadXMLIndexed_sg_Tensor5_g(), ReadXMLIndexed_sg_Tensor6_g(), ReadXMLIndexed_sg_Tensor7_g(), ReadXMLIndexed_sg_Timer_g(), ReadXMLIndexed_sg_Vector_g(), and ReadXMLIndexed_sg_Verbosity_g().

◆ WriteXML()

void WriteXML ( Workspace ws,
const String file_format,
const Agenda v,
const String f,
const Index no_clobber,
const String v_name,
const String f_name,
const String no_clobber_name,
const Verbosity verbosity 
)

Definition at line 67 of file m_xml.cc.

References WriteXML().

Referenced by abs_lines_per_speciesWriteToSplitArtscat(), main(), ppathWriteXMLPartial(), WriteXML(), WriteXML_sg_Agenda_g(), WriteXML_sg_ArrayOfArrayOfGriddedField1_g(), WriteXML_sg_ArrayOfArrayOfGriddedField2_g(), WriteXML_sg_ArrayOfArrayOfGriddedField3_g(), WriteXML_sg_ArrayOfArrayOfIndex_g(), WriteXML_sg_ArrayOfArrayOfLineMixingRecord_g(), WriteXML_sg_ArrayOfArrayOfLineRecord_g(), WriteXML_sg_ArrayOfArrayOfMatrix_g(), WriteXML_sg_ArrayOfArrayOfSpeciesTag_g(), WriteXML_sg_ArrayOfArrayOfTensor3_g(), WriteXML_sg_ArrayOfArrayOfTensor6_g(), WriteXML_sg_ArrayOfArrayOfVector_g(), WriteXML_sg_ArrayOfCIARecord_g(), WriteXML_sg_ArrayOfGriddedField1_g(), WriteXML_sg_ArrayOfGriddedField2_g(), WriteXML_sg_ArrayOfGriddedField3_g(), WriteXML_sg_ArrayOfGriddedField4_g(), WriteXML_sg_ArrayOfIndex_g(), WriteXML_sg_ArrayOfLineMixingRecord_g(), WriteXML_sg_ArrayOfLineRecord_g(), WriteXML_sg_ArrayOfLineshapeSpec_g(), WriteXML_sg_ArrayOfMatrix_g(), WriteXML_sg_ArrayOfRetrievalQuantity_g(), WriteXML_sg_ArrayOfScatteringMetaData_g(), WriteXML_sg_ArrayOfSingleScatteringData_g(), WriteXML_sg_ArrayOfSparse_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_GriddedField1_g(), WriteXML_sg_GriddedField2_g(), WriteXML_sg_GriddedField3_g(), WriteXML_sg_GriddedField4_g(), WriteXML_sg_GriddedField5_g(), WriteXML_sg_GriddedField6_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_ScatteringMetaData_g(), WriteXML_sg_SingleScatteringData_g(), WriteXML_sg_Sparse_g(), WriteXML_sg_SpeciesAuxData_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 WriteXML_sg_Verbosity_g().

◆ WriteXMLIndexed()

void WriteXMLIndexed ( Workspace ws,
const String file_format,
const Index file_index,
const Agenda v,
const String f,
const String v_name,
const String f_name,
const Verbosity verbosity 
)

Definition at line 87 of file m_xml.cc.

References WriteXMLIndexed().

Referenced by WriteXMLIndexed(), WriteXMLIndexed_sg_Agenda_g(), WriteXMLIndexed_sg_ArrayOfArrayOfGriddedField1_g(), WriteXMLIndexed_sg_ArrayOfArrayOfGriddedField2_g(), WriteXMLIndexed_sg_ArrayOfArrayOfGriddedField3_g(), WriteXMLIndexed_sg_ArrayOfArrayOfIndex_g(), WriteXMLIndexed_sg_ArrayOfArrayOfLineMixingRecord_g(), WriteXMLIndexed_sg_ArrayOfArrayOfLineRecord_g(), WriteXMLIndexed_sg_ArrayOfArrayOfMatrix_g(), WriteXMLIndexed_sg_ArrayOfArrayOfSpeciesTag_g(), WriteXMLIndexed_sg_ArrayOfArrayOfTensor3_g(), WriteXMLIndexed_sg_ArrayOfArrayOfTensor6_g(), WriteXMLIndexed_sg_ArrayOfArrayOfVector_g(), WriteXMLIndexed_sg_ArrayOfCIARecord_g(), WriteXMLIndexed_sg_ArrayOfGriddedField1_g(), WriteXMLIndexed_sg_ArrayOfGriddedField2_g(), WriteXMLIndexed_sg_ArrayOfGriddedField3_g(), WriteXMLIndexed_sg_ArrayOfGriddedField4_g(), WriteXMLIndexed_sg_ArrayOfIndex_g(), WriteXMLIndexed_sg_ArrayOfLineMixingRecord_g(), WriteXMLIndexed_sg_ArrayOfLineRecord_g(), WriteXMLIndexed_sg_ArrayOfLineshapeSpec_g(), WriteXMLIndexed_sg_ArrayOfMatrix_g(), WriteXMLIndexed_sg_ArrayOfRetrievalQuantity_g(), WriteXMLIndexed_sg_ArrayOfScatteringMetaData_g(), WriteXMLIndexed_sg_ArrayOfSingleScatteringData_g(), WriteXMLIndexed_sg_ArrayOfSparse_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_GriddedField1_g(), WriteXMLIndexed_sg_GriddedField2_g(), WriteXMLIndexed_sg_GriddedField3_g(), WriteXMLIndexed_sg_GriddedField4_g(), WriteXMLIndexed_sg_GriddedField5_g(), WriteXMLIndexed_sg_GriddedField6_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_ScatteringMetaData_g(), WriteXMLIndexed_sg_SingleScatteringData_g(), WriteXMLIndexed_sg_Sparse_g(), WriteXMLIndexed_sg_SpeciesAuxData_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(), WriteXMLIndexed_sg_Vector_g(), and WriteXMLIndexed_sg_Verbosity_g().