ReFRACtor
|
This is a Level1b implementation that just saves the data read from another Level1b object. More...
#include <level_1b_cache.h>
Public Member Functions | |
Level1bCache (const Level1b &L1_in) | |
Constructor. More... | |
virtual | ~Level1bCache () |
virtual DoubleWithUnit | altitude (int i) const |
Altitude. More... | |
virtual DoubleWithUnit | latitude (int i) const |
Latitude. More... | |
virtual DoubleWithUnit | longitude (int i) const |
Longitude. More... | |
virtual int | number_spectrometer () const |
Number of spectrometers. More... | |
virtual void | print (std::ostream &Os) const |
Print description of object. More... | |
std::string | print_to_string () const |
Print to string. More... | |
virtual SpectralRange | radiance (int i) const |
Radiance, for given spectral band. More... | |
virtual DoubleWithUnit | relative_azimuth (int i) const |
Realtive azimuth. More... | |
virtual DoubleWithUnit | relative_velocity (int i) const |
Relative velocity. More... | |
SpectralDomain | sample_grid (int i) const |
Returns the sample grid (ie wavenumber, wavelength, etc) for the corresponding radiance values. More... | |
void | set_altitude (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_latitude (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_longitude (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_radiance (int i, const SpectralRange &V) |
Change value. More... | |
void | set_radiance (int i, const SpectralRange &V, const std::vector< int > &Plist) |
Change value, but only for a subset of pixels. More... | |
void | set_relative_velocity (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_sample_grid (int i, const SpectralDomain &V) |
Change value. More... | |
void | set_solar_azimuth (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_solar_zenith (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_sounding_azimuth (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_sounding_zenith (int i, const DoubleWithUnit &V) |
Change value. More... | |
void | set_stokes_coefficient (int i, const blitz::Array< double, 1 > &V) |
Change value. More... | |
void | set_time (int i, const Time &V) |
Change value. More... | |
virtual DoubleWithUnit | signal (int Spec_index, const std::vector< int > &Sample_indexes=std::vector< int >()) const |
Calculate an approximation to the size of the continuum signal where there is no significant atmosphere absorption. More... | |
virtual DoubleWithUnit | solar_azimuth (int i) const |
Solar azimuth. More... | |
virtual DoubleWithUnit | solar_zenith (int i) const |
Solar zenith. More... | |
virtual DoubleWithUnit | sounding_azimuth (int i) const |
Sounding azimuth. More... | |
virtual DoubleWithUnit | sounding_zenith (int i) const |
Sounding zenith. More... | |
virtual blitz::Array< double, 1 > | stokes_coefficient (int i) const |
Return stokes coefficients. More... | |
virtual Time | time (int i) const |
Time of sounding. More... | |
This is a Level1b implementation that just saves the data read from another Level1b object.
We then allow these values to be changed if desired. This can be useful when setting up special run in Python, among other uses.
Definition at line 12 of file level_1b_cache.h.
Level1bCache::Level1bCache | ( | const Level1b & | L1_in | ) |
Constructor.
Definition at line 8 of file level_1b_cache.cc.
|
inlinevirtual |
Definition at line 15 of file level_1b_cache.h.
|
inlinevirtual |
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 108 of file level_1b_cache.h.
|
inlinevirtual |
Latitude.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 18 of file level_1b_cache.h.
|
inlinevirtual |
Longitude.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 33 of file level_1b_cache.h.
|
inlinevirtual |
Number of spectrometers.
Implements FullPhysics::Level1b.
Definition at line 17 of file level_1b_cache.h.
|
inlinevirtual |
Print description of object.
Reimplemented from FullPhysics::Level1b.
Definition at line 16 of file level_1b_cache.h.
|
inlineinherited |
Print to string.
This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.
Definition at line 31 of file printable.h.
|
inlinevirtual |
Radiance, for given spectral band.
This returns the radiance with associated units. It may or may not have a uncertainity with the radiance.
Implements FullPhysics::Level1b.
Definition at line 185 of file level_1b_cache.h.
|
virtualinherited |
Realtive azimuth.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
|
inlinevirtual |
Relative velocity.
Implements FullPhysics::Level1b.
Definition at line 123 of file level_1b_cache.h.
|
inlinevirtual |
Returns the sample grid (ie wavenumber, wavelength, etc) for the corresponding radiance values.
The meaning of these coefficients will be specific to the instrument that measured the data.
Implements FullPhysics::Level1b.
Definition at line 154 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 118 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 28 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 43 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 195 of file level_1b_cache.h.
|
inline |
Change value, but only for a subset of pixels.
This might come from the ForwardModelSpectralGrid for example.
Definition at line 206 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 133 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 164 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 103 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 88 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 73 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 58 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 148 of file level_1b_cache.h.
|
inline |
Change value.
Definition at line 180 of file level_1b_cache.h.
|
virtualinherited |
Calculate an approximation to the size of the continuum signal where there is no significant atmosphere absorption.
We approximate this by finding the 10 highest radiance values and averaging them.
Optionally takes a list of sample indexes. Will only uses these sample indexes for the calculation when supplied.
|
inlinevirtual |
Solar azimuth.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 93 of file level_1b_cache.h.
|
inlinevirtual |
Solar zenith.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 78 of file level_1b_cache.h.
|
inlinevirtual |
Sounding azimuth.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 63 of file level_1b_cache.h.
|
inlinevirtual |
Sounding zenith.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 48 of file level_1b_cache.h.
|
inlinevirtual |
Return stokes coefficients.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 138 of file level_1b_cache.h.
|
inlinevirtual |