1 #ifndef LEVEL_1B_SAMPLE_COEFFICIENT_H 2 #define LEVEL_1B_SAMPLE_COEFFICIENT_H 7 #include <blitz/array.h> 51 virtual void print(std::ostream& Os)
const {Os <<
"Level1bSampleCoefficient";}
55 virtual double calculate_sample_value_from_coeffs(
int Spec_index,
int sample_idx)
const;
virtual void print(std::ostream &Os) const
Print description of object.
virtual SpectralDomain sample_grid(int Spec_index) const
Returns the sample grid (ie wavenumber, wavelength, etc) for the corresponding radiance values...
This is used to wrap the nominal Level 1B file reader.
virtual ArrayWithUnit< double, 1 > spectral_coefficient(int Spec_index) const =0
Returns coefficients for an equation describing the special domain used to translate radiance value i...
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
This is used to read a Level 1B file.
virtual ~Level1bSampleCoefficient()
Level1bSampleCoefficient(const bool One_based=true)
Contains classes to abstract away details in various Spurr Radiative Transfer software.