48 OutputHdf(
const std::string& Fname,
int Num_level,
int Statevector_size,
49 int Num_aerosol,
int Number_band);
51 int Statevector_size,
int Num_aerosol,
int Number_band);
53 virtual void print(std::ostream& Os)
const {Os <<
"OutputHdf";}
57 template<
class T>
void write_data_t(
const std::string& Dataset_name,
59 template<
class T>
void write_data_t(
const std::string& Dataset_name,
60 const blitz::Array<T, 1>& Val);
61 template<
class T>
void write_data_t(
const std::string& Dataset_name,
62 const blitz::Array<T, 2>& Val);
63 template<
class T>
void write_data_t(
const std::string& Dataset_name,
64 const blitz::Array<T, 3>& Val);
67 int num_level, statevector_size, num_aerosol, num_band;
69 void write_dimension_metadata();
70 void write_shape_metadata();
This write the output of the Level 2 Full physics.
virtual void end_because_of_error()
Notify when an error occurred.
virtual void print(std::ostream &Os) const
void write_data_t(const std::string &Dataset_name, T Val)
Most of the time the write_data needed by Output is best done through a template. ...
virtual void start_write()
Notify derived class that we are starting to write data.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
OutputHdf(const std::string &Fname, int Num_level, int Statevector_size, int Num_aerosol, int Number_band)
Constructor. This takes the file name to write.