healpix_resample.utm_crs_from_lonlat#

healpix_resample.utm_crs_from_lonlat(lon_deg, lat_deg)[source]#

WGS84 / UTM CRS of the zone containing the centroid of the points.

The centroid is taken on the sphere (mean unit vector), so points straddling the antimeridian are handled. The standard 6-degree zones are used; the Norway / Svalbard exceptions are not applied.

Returns:

pyproj.CRS – EPSG:326zz (northern hemisphere) or EPSG:327zz (southern).