Source code for shoot

"""Shom Ocean Objects Tracker"""

import warnings

import xoa

from . import eddies as eddies
from . import meta as smeta

try:
    from ._version import version as __version__
except ImportError:
    __version__ = "0.0.0"


[docs] class ShootError(Exception): pass
[docs] class ShootWarning(UserWarning): pass
[docs] def shoot_warn(message, stacklevel=2): """Issue a :class:`ShootWarning` warning""" warnings.warn(message, ShootWarning, stacklevel=stacklevel)
xoa.register_accessors(xoa=True, meta=True, decode_sigma=True) smeta.register_meta_specs() smeta.set_meta_specs("shoot")