skytracker.utils.geographic.normalize_longitude_bbox#

skytracker.utils.geographic.normalize_longitude_bbox(lon_min: float, lon_max: float) list[tuple[float, float]]#

Get bounding boxes in the range [-180, 180] that are equivalent to the specified range

Used for wrapping maps where the longitude can exceed -180 or 180.

Parameters:
  • lon_min (float) – minimum longitude [deg]

  • lon_max (float) – maximum longitude [deg]

Returns:

equivalent bounding boxes in range [-180, 180]

Return type:

list[tuple[float, float]]