argopy.utils.isconnected#

isconnected(host: str = 'https://www.ifremer.fr', maxtry: int = 10)[source]#

Check if an URL is alive

Parameters:
  • host (str) – URL to use, β€˜https://www.ifremer.fr’ by default

  • maxtry (int, default: 10) – Maximum number of host connections to try before

Return type:

bool