I am trying to use the python pvlib
library to get weather forecast data and it worked at the beginning, but now I keep getting this SSL Certificate Error. Could you help me with resolving this issue?
Code below:
from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP
fm = GFS()
data = fm.get_data(latitude, longitude, start, end)
Error message:
SSLError: HTTPSConnectionPool(host='thredds.ucar.edu', port=443): Max retries exceeded with url: /thredds/catalog.xml (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))