nctoolkit.open_url

nctoolkit.open_url(x=None, ftp_details=None, wait=None, file_stop=None)

Read netcdf data from a url as a DataSet object

Parameters
  • x (str) – A string with a url. Prior to processing data will be downloaded to a temp folder.

  • ftp_details (dict) – A dictionary giving the user name and password combination for ftp downloads: {“user”:user, “password”:pass}

  • wait (int) – Time to wait, in seconds, for data to download. A minimum of 3 attempts will be made to download the data.

  • file_stop (int) – Time limit, in minutes, for individual attempts at downloading data. This is useful to get around download freezes.