I try to download a .tiff file from NASA. When doing it in the browser it works out fine. When trying it with the following python code
import urllib
f = urllib.FancyURLopener()
url = "https://neo.sci.gsfc.nasa.gov/servlet/RenderData?si=1696692&cs=gs&format=TIFF&width=3600&height=1800"
f.retrieve(url, "test.TIFF")
I get the error
IOError: [Errno socket error] [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)
I found one similar question here solving the error by creating a new SSLContext. However I can not figure out how to save a downloaded file as required in my case.