climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huiky...@apache.org
Subject [4/7] climate git commit: SSL certificate issue
Date Tue, 25 Aug 2015 17:06:54 GMT
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 <huikyole@argo.jpl.nasa.gov>
Authored: Wed Aug 19 09:40:55 2015 -0700
Committer: huikyole <huikyole@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


Mime
View raw message