argopy.utils.check_wmo#

check_wmo(lst, errors='raise')[source]#

Validate a WMO option and returned it as a list of integers

Parameters:
  • wmo (int) โ€“ WMO must be an integer or an iterable with elements that can be casted as integers

  • errors ({'raise', 'warn', 'ignore'}) โ€“ Possibly raises a ValueError exception or UserWarning, otherwise fails silently.

Return type:

list(int)