get_bounds

process_ais_data.get_bounds(zone)

Helper function to get longitude boundaries corresponding to zone.

Calculates the minimum and maximum longitudes corresponding to an integer zone representing a Universal Transverse Mercator coordinate system zone. Each zone is 6 degrees wide, dividing the Earth into 60 zones, starting with zone 1 at 180 deg W. This function also wraps the zone with a modulo operator, so zone -1 would map to zone 58.

Parameters

zone (int) – The Universal Transverse Mercator coordinate system zone.

Returns

The minimum and maximum longitudes of the zone passed in.

Return type

tuple