marEx.create_coordinate_error

marEx.create_coordinate_error(message, coordinate_ranges=None, detected_system=None, **kwargs)[source]

Create CoordinateError with coordinate context.

Parameters:
  • message (str) – Error message

  • coordinate_ranges (dict, optional) – Dictionary with coordinate ranges (e.g., {‘lat’: (-90, 90), ‘lon’: (0, 360)})

  • detected_system (str, optional) – Auto-detected coordinate system

  • **kwargs – Additional arguments passed to CoordinateError

Returns:

Configured exception with coordinate context

Return type:

CoordinateError