Sasktran Generic¶
-
class
radtran.sasktran.
SasktranGeneric
(atmosphere, enginetype, options=None)¶ Generic wrapper class for SASKTRAN engines. Currently supports HR,MC and SO. More complicated features such as polarization or weighting functions are not supported through this class
Methods
add_line_of_sight
calculate_radiance
set_wavelengths
-
add_line_of_sight
(observer, look, mjd)¶ Adds a single line of sight to the engine
Parameters: observer : numpy array, or nxvector
Observer position in (x,y,z) format
look : numpy array, or nxvector
Unit look direction in (x,y,z) format
mjd : scalar
Modified julian date
-
calculate_radiance
()¶ Calculates the radiance
Returns: tuple
(rad,zeros) radiance is a numpy array in the shape (line_of_sight, wavelength)
-
set_wavelengths
(wavel_nm)¶ Sets the wavelengths for the radiative transfer calculation
Parameters: wavel_nm : numpy array
Wavelengths in nm
-