ReFRACtor
|
This is an example L1B reader that reads a HDF formatted file that corresponds one-to-one with the expected interface. More...
#include <example_level_1b.h>
Public Member Functions | |
ExampleLevel1b (const boost::shared_ptr< HdfFile > &input_file, const std::string &observation_id) | |
ExampleLevel1b (const std::string &input_filename, const std::string &observation_id) | |
virtual | ~ExampleLevel1b () |
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 Spec_index) 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... | |
virtual SpectralDomain | sample_grid (int Spec_index) const |
Returns the sample grid (ie wavenumber, wavelength, etc) for the corresponding radiance values. 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 ArrayWithUnit< double, 1 > | spectral_coefficient (int i) const |
Returns coefficients for an equation describing the special domain used to translate radiance value indexes to their corresponding spectral grid. 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 an example L1B reader that reads a HDF formatted file that corresponds one-to-one with the expected interface.
Definition at line 16 of file example_level_1b.h.
ExampleLevel1b::ExampleLevel1b | ( | const boost::shared_ptr< HdfFile > & | input_file, |
const std::string & | observation_id | ||
) |
Definition at line 17 of file example_level_1b.cc.
ExampleLevel1b::ExampleLevel1b | ( | const std::string & | input_filename, |
const std::string & | observation_id | ||
) |
Definition at line 25 of file example_level_1b.cc.
|
inlinevirtual |
Definition at line 20 of file example_level_1b.h.
|
inlinevirtual |
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 36 of file example_level_1b.h.
|
inlinevirtual |
Latitude.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 24 of file example_level_1b.h.
|
inlinevirtual |
Longitude.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 27 of file example_level_1b.h.
|
virtual |
Number of spectrometers.
Implements FullPhysics::Level1b.
Definition at line 33 of file example_level_1b.cc.
|
inlinevirtual |
Print description of object.
Reimplemented from FullPhysics::Level1bSampleCoefficient.
Definition at line 57 of file example_level_1b.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.
|
virtual |
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 39 of file example_level_1b.cc.
|
virtualinherited |
Realtive azimuth.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
|
inlinevirtual |
Relative velocity.
Implements FullPhysics::Level1b.
Definition at line 48 of file example_level_1b.h.
|
virtualinherited |
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 57 of file level_1b_sample_coefficient.cc.
|
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 33 of file example_level_1b.h.
|
inlinevirtual |
Solar zenith.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 30 of file example_level_1b.h.
|
inlinevirtual |
Sounding azimuth.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 42 of file example_level_1b.h.
|
inlinevirtual |
Sounding zenith.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 39 of file example_level_1b.h.
|
inlinevirtual |
Returns coefficients for an equation describing the special domain used to translate radiance value indexes to their corresponding spectral grid.
(ie wavenumber, wavelength, etc) The meaning of these coefficients will be specific to the instrument that measured the data.
Implements FullPhysics::Level1bSampleCoefficient.
Definition at line 51 of file example_level_1b.h.
|
inlinevirtual |
Return stokes coefficients.
i | Spectrometer index (between 0 and number_spectrometer() - 1) |
Implements FullPhysics::Level1b.
Definition at line 45 of file example_level_1b.h.
|
inlinevirtual |
Time of sounding.
Implements FullPhysics::Level1b.
Definition at line 54 of file example_level_1b.h.