Open basilveerman opened 10 years ago
I believe this functionality is built into the LogonManager from pyesgf.logon, just logon using the boostrap=True argument.
from pyesgf.logon import LogonManager
lm = LogonManager()
lm.logon_with_openid('username', 'password', bootstrap=True)
Exactly, thanks. We just don't currently use that option. I'd also want to pass it as a command line option rather than an unchangeable default.
Before downloads can be fetched, credentials must be generated using:
myproxyclient logon -s pcmdi9.llnl.gov -b -C ~/.esg/certificates -o ~/.esg/credentials.pem -l USERNAME
This isn't really necessary and can be incorporated into the esgf_fetch_downloads.py