argopy.utilities.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)