pyinterp.geodetic.normalize_longitudes

pyinterp.geodetic.normalize_longitudes(lon: numpy.ndarray, min_lon: float = -180.0) numpy.ndarray[source]

Normalizes longitudes to the range [min_lon, min_lon + 360).

Parameters:
  • lon – Longitudes in degrees.

  • min_lon – Minimum longitude. Defaults to -180.0.

Returns:

Longitudes normalized to the range [min_lon, min_lon + 360).