argopy.utilities.check_localftp#

check_localftp(path, errors: str = 'ignore')[source]#

Check if the path has the expected GDAC ftp structure.

Check if the path is structured like: . └── dac

├── aoml ├── … ├── coriolis ├── … ├── meds └── nmdis

Parameters
  • path (str) – Path name to check

  • errors (str, optional) – “ignore” or “raise” (or “warn”)

Returns

checked – True if at least one DAC folder is found under path/dac/<dac_name> False otherwise

Return type

boolean