esgf.logon

This module is used to get esgf logon credentials. There are two choices:

  • a proxy certificate from a myproxy server with an ESGF openid.
  • OpenID login as used in browsers.

Some of the code is taken from esgf-pyclient: https://github.com/ESGF/esgf-pyclient

See also:

Module Contents

esgf.logon.myproxy_logon_with_openid(openid, password=None, interactive=False, outdir=None)

Tries to get MyProxy parameters from OpenID and calls logon().

Parameters:openid – OpenID used to login at ESGF node.
esgf.logon.parse_openid(openid, ssl_verify=False)

parse openid document to get myproxy service

esgf.logon.cert_infos(filename)