pygac icon indicating copy to clipboard operation
pygac copied to clipboard

Make angles computation optional for KLM

Open mraspaud opened this issue 4 years ago • 2 comments

The KLM data contains angular relationship that could be used instead of computing the angles with pyorbital.

mraspaud avatar May 28 '20 08:05 mraspaud

A little more information: the angular_relationships item in each KLM scanline provides sun and sat zenith, plus an azimuth difference. POD scanlines have a solar_zenith_angles. The missing angles could be computed from the earth_location (available for both KLM and POD) and spacecraft_altitude_above_reference_ellipsoid (available for KLM, not for POD (but doesn't change much in principle)).

My suggestion is to use the available angles and allow computation of others from the provided parameters when the TLEs are missing (either no files or gaps) and issue a warning.

mraspaud avatar Oct 25 '22 09:10 mraspaud

Related: https://github.com/pytroll/pygac/pull/65

mraspaud avatar Oct 25 '22 09:10 mraspaud