pyinterp.geodetic.normalize_longitudes#
- pyinterp.geodetic.normalize_longitudes(lon: NDArray1DFloat64, min_lon: float = -180.0) NDArray1DFloat64[source]#
Normalize longitudes to the range
[min_lon, min_lon + 360).Adjust longitude values to fall within the specified range.
- Parameters:
lon – Longitudes in degrees.
min_lon – Minimum longitude. Defaults to
-180.0.
- Returns:
Longitudes normalized to the range
[min_lon, min_lon + 360).