eomatch.enrich.solar_elevation.solar_elevation

eomatch.enrich.solar_elevation.solar_elevation#

eomatch.enrich.solar_elevation.solar_elevation(matchup) Dict[str, Any][source]#

Return the solar elevation angle at the collocation centroid midpoint.

Parameters:

matchupMatchup to enrich.

Returns:

{"solar_elevation_deg": float} — positive is daytime.

Raises:

ImportError – if pysolar is not installed.