ReFRACtor
pressure_level_input.cc
Go to the documentation of this file.
1 #include "pressure_level_input.h"
2 #include "ostream_pad.h"
3 
4 using namespace FullPhysics;
5 
6 #ifdef HAVE_LUA
7 #include "register_lua.h"
9 .def(luabind::constructor<const blitz::Array<double, 1>&>())
10 .def(luabind::constructor<const HdfFile&>())
11 .def(luabind::constructor<const HdfFile&, const std::string>())
12 .def("pressure_level", &PressureLevelInput::pressure_level)
14 #endif
15 
16 void PressureLevelInput::print(std::ostream& Os) const
17 {
18  OstreamPad opad(Os, " ");
19  Os << "PressureLevelInput:\n";
20  opad << press_level;
21  opad.strict_sync();
22 }
This is a filtering stream that adds a pad to the front of every line written out.
Definition: ostream_pad.h:32
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
void print(std::ostream &Os) const
Print to a stream.
In a retrieval, there are typically two different pressure levels of interest.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
#define REGISTER_LUA_END()
Definition: register_lua.h:134
const blitz::Array< double, 1 > & pressure_level() const
Pressure levels that input data was defined on.

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:08