, api_key, filename, retries=5)[source]

Get a file from ARM live in the form of a stream so that the python netCDF4 module can read it.

  • user_id (string) – ARM user id.
  • api_key (string) – ARM live API access token.
  • filename (string) – Filename to request
  • retries (int) – Number of attempts remaining to successfully request data after ChunkedEncodingError.

stream – The API response in the form of a stream to be consumed by netCDF4.Dataset().


request.exceptions.ChunkedEncodingError – Reraises this error when all retries are exhausted.