eomatch.enrich.geometric.geometric

Contents

eomatch.enrich.geometric.geometric#

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

Return the area and centroid of the collocation region.

Area is computed on the WGS-84 ellipsoid via pyproj.Geod when available, falling back to planar degree² area if not installed.

Parameters:

matchupMatchup to enrich.

Returns:

{"collocation_area_km2": float, "collocation_centroid_lon": float, "collocation_centroid_lat": float}