ReFRACtor
level_1b_cache.cc
Go to the documentation of this file.
1 #include "level_1b_cache.h"
2 using namespace FullPhysics;
3 
4 //-----------------------------------------------------------------------
6 //-----------------------------------------------------------------------
7 
9 {
10  for(int i = 0; i < L1_in.number_spectrometer(); ++i) {
11  lat.push_back(L1_in.latitude(i));
12  lon.push_back(L1_in.longitude(i));
13  szen.push_back(L1_in.sounding_zenith(i));
14  sazm.push_back(L1_in.sounding_azimuth(i));
15  solzen.push_back(L1_in.solar_zenith(i));
16  solazm.push_back(L1_in.solar_azimuth(i));
17  alt.push_back(L1_in.altitude(i));
18  rvel.push_back(L1_in.relative_velocity(i));
19  stk_coeff.push_back(L1_in.stokes_coefficient(i).copy());
20  samp_grid.push_back(L1_in.sample_grid(i));
21  tm.push_back(L1_in.time(i));
22  rad.push_back(L1_in.radiance(i).clone());
23  }
24 }
virtual Time time(int Spec_index) const =0
Time of sounding.
virtual DoubleWithUnit solar_azimuth(int i) const =0
Solar azimuth.
virtual DoubleWithUnit altitude(int i) const =0
Altitude.
virtual SpectralDomain sample_grid(int Spec_index) const =0
Returns the sample grid (ie wavenumber, wavelength, etc) for the corresponding radiance values...
virtual blitz::Array< double, 1 > stokes_coefficient(int i) const =0
Return stokes coefficients.
virtual SpectralRange radiance(int Spec_index) const =0
Radiance, for given spectral band.
Level1bCache(const Level1b &L1_in)
Constructor.
This is used to read a Level 1B file.
Definition: level_1b.h:15
virtual DoubleWithUnit latitude(int i) const =0
Latitude.
virtual DoubleWithUnit longitude(int i) const =0
Longitude.
virtual DoubleWithUnit sounding_zenith(int i) const =0
Sounding zenith.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual DoubleWithUnit sounding_azimuth(int i) const =0
Sounding azimuth.
const SpectralRange clone() const
Clones object into a new copy.
virtual DoubleWithUnit solar_zenith(int i) const =0
Solar zenith.
virtual DoubleWithUnit relative_velocity(int Spec_index) const =0
Relative velocity.
virtual int number_spectrometer() const =0
Number of spectrometers.

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