You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by hu...@apache.org on 2015/08/25 19:06:54 UTC

[4/7] climate git commit: SSL certificate issue

SSL certificate issue


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/549191d4
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/549191d4
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/549191d4

Branch: refs/heads/master
Commit: 549191d47ac0b5db8a5ef58c4c184b891c287a59
Parents: d120a8f
Author: huikyole <hu...@argo.jpl.nasa.gov>
Authored: Wed Aug 19 09:40:55 2015 -0700
Committer: huikyole <hu...@argo.jpl.nasa.gov>
Committed: Wed Aug 19 09:40:55 2015 -0700

----------------------------------------------------------------------
 examples/knmi_to_cru31_full_bias.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/549191d4/examples/knmi_to_cru31_full_bias.py
----------------------------------------------------------------------
diff --git a/examples/knmi_to_cru31_full_bias.py b/examples/knmi_to_cru31_full_bias.py
index c6dac47..ac629e9 100644
--- a/examples/knmi_to_cru31_full_bias.py
+++ b/examples/knmi_to_cru31_full_bias.py
@@ -28,7 +28,9 @@ import ocw.dataset_processor as dsp
 import ocw.evaluation as evaluation
 import ocw.metrics as metrics
 import ocw.plotter as plotter
-
+import ssl
+if hasattr(ssl, '_create_unverified_context'):
+  ssl._create_default_https_context = ssl._create_unverified_context
 # File URL leader
 FILE_LEADER = "http://zipper.jpl.nasa.gov/dist/"
 # This way we can easily adjust the time span of the retrievals