sasktran2.Geometry1D

sasktran2.Geometry1D#

class sasktran2.Geometry1D(cos_sza: float, solar_azimuth: float, earth_radius_m: float, altitude_grid_m: ndarray, interpolation_method: InterpolationMethod = InterpolationMethod.LinearInterpolation, geometry_type: GeometryType = GeometryType.Spherical)[source]#

Bases: object

A geometry object that depends only on altitude.

Parameters:
  • cos_sza (float) – Cosine of the solar zenith angle at the “reference point”. This should be thought of as the point in the atmosphere where the radiative transfer calculation is most accurate.

  • solar_azimuth (float) – Solar azimuth angle at the “reference point”. Most of the time you want to set this to 0.0 and only use the azimuth angle in the line of sight declaration.

  • earth_radius_m (float) – Radius of the Earth in meters. This is used for spherical ray-tracing.

  • altitude_grid_m (np.ndarray) – Altitude grid in [m] above the surface of the Earth.

  • interpolation_method (InterpolationMethod, optional) – The interpolation method to use inbetween the grid points, by default InterpolationMethod.LinearInterpolation

  • geometry_type (GeometryType, optional) – The type of geometry to use in the calculation, i.e. Spherical, PlaneParallel, by default GeometryType.Spherical

__init__(cos_sza: float, solar_azimuth: float, earth_radius_m: float, altitude_grid_m: ndarray, interpolation_method: InterpolationMethod = InterpolationMethod.LinearInterpolation, geometry_type: GeometryType = GeometryType.Spherical)[source]#

A geometry object that depends only on altitude.

Parameters:
  • cos_sza (float) – Cosine of the solar zenith angle at the “reference point”. This should be thought of as the point in the atmosphere where the radiative transfer calculation is most accurate.

  • solar_azimuth (float) – Solar azimuth angle at the “reference point”. Most of the time you want to set this to 0.0 and only use the azimuth angle in the line of sight declaration.

  • earth_radius_m (float) – Radius of the Earth in meters. This is used for spherical ray-tracing.

  • altitude_grid_m (np.ndarray) – Altitude grid in [m] above the surface of the Earth.

  • interpolation_method (InterpolationMethod, optional) – The interpolation method to use inbetween the grid points, by default InterpolationMethod.LinearInterpolation

  • geometry_type (GeometryType, optional) – The type of geometry to use in the calculation, i.e. Spherical, PlaneParallel, by default GeometryType.Spherical

Methods

__init__(cos_sza, solar_azimuth, ...[, ...])

A geometry object that depends only on altitude.

altitudes()

Attributes

refractive_index