sasktran2.viewinggeo.ecef_to_sasktran2_ray

sasktran2.viewinggeo.ecef_to_sasktran2_ray#

sasktran2.viewinggeo.ecef_to_sasktran2_ray(observer: np.array, look_vector: np.array, time: pd.Timestamp, geoid: sk.Geodetic | None = None, solar_handler: sk.SolarGeometryHandlerBase | None = None, ground_elevation: float = 0.0) sk.ViewingGeometry[source]#

Converts an observer, look vector in ECEF coordinates and time to a sasktran2 viewing ray object

Parameters:
  • observer (np.array) – Observer position in ECEF (ITRF) coordinates

  • look_vector (np.array) – Local lok vector in ECEF (ITRF) coordinates

  • time (pd.Timestamp) – Time of the observation. Used to lookup the sun position if applicable.

  • geoid (sk.Geodetic) – Geodetic object to use for the internal calculations. Defaults to WGS84

  • solar_handler (sk.solar.SolarGeometryHandlerBase) – Object used to lookup the solar angles for each ray. Defaults to None in which case a SolarHandlerForced object is used with 0 solar zenith and 0 solar azimuth

Return type:

sk.ViewingGeometryBase