[
https://issues.apache.org/jira/browse/CLIMATE-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260781#comment-15260781
]
Ibrahim Jarif commented on CLIMATE-783:
---------------------------------------
[~dlnash] and [~lewismc] I got this
{code}
>python esgf_integration_example.py
Enter your ESGF OpenID:
https://hydra.fsl.noaa.gov/esgf-idp/openid/jarifibrahim
Enter your ESGF Password:
Traceback (most recent call last):
File "esgf_integration_example.py", line 32, in <module>
password)
File "build/bdist.linux-x86_64/egg/ocw/data_source/esgf.py", line 89, in
load_dataset
File "build/bdist.linux-x86_64/egg/ocw/data_source/esgf.py", line 136, in
_download_files
File "build/bdist.linux-x86_64/egg/ocw/esgf/logon.py", line 42, in logon
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/pyesgf/logon.py",
line 136, in logon_with_openid
username, myproxy = self._get_logon_details(openid)
File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/pyesgf/logon.py",
line 196, in _get_logon_details
openid_doc = urllib2.urlopen(openid).read()
File "/home/ibrahim/miniconda2/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/home/ibrahim/miniconda2/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/home/ibrahim/miniconda2/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/home/ibrahim/miniconda2/lib/python2.7/urllib2.py", line 409, in
_call_chain
result = func(*args)
File "/home/ibrahim/miniconda2/lib/python2.7/urllib2.py", line 1240, in
https_open
context=self._context)
File "/home/ibrahim/miniconda2/lib/python2.7/urllib2.py", line 1197, in
do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate
verify failed (_ssl.c:590)>
{code}
Any idea about fixing this?
> Update ESGF examples
> --------------------
>
> Key: CLIMATE-783
> URL: https://issues.apache.org/jira/browse/CLIMATE-783
> Project: Apache Open Climate Workbench
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Deanna Nash
> Assignee: Deanna Nash
> Priority: Minor
> Fix For: 1.1
>
>
> - change name of esgf_integration_examply.py to esgf_integration_example.py
> - remove visibility of ESGF password
> - change username prompt to ask for OpenID
> - add configuration file for local ESGF example in RCMES
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)