eomatch.enrich.land_fraction.land_fraction

Contents

eomatch.enrich.land_fraction.land_fraction#

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

Return the fraction of the collocation region that lies over land.

Parameters:

matchupMatchup to enrich.

Returns:

{"land_fraction": float} — 0.0 is entirely ocean, 1.0 entirely land.

Raises:

ImportError – if geopandas is not installed.