Known Issues#

Besides the officially listed issues on the wetterdienst repository, there are other issues regarding running wetterdienst listed below that may be environment specific and are not likely fixable on our side.

Cache runs stale#

Also we are quite happy with our FSSPEC backed caching system from time to time you may run into some unexplainable error with empty result sets like here and in this case it is worth try dropping the cache entirely.

Running this

import wetterdienst
wetterdienst.info()

will guide you the path to your caching folder.

SSL Certificate Verification Issues#

If you encounter SSL certificate verification errors, especially in corporate environments with custom certificates or when your system certificates are outdated, you may see errors like:

  • SSLError: [SSL: CERTIFICATE_VERIFY_FAILED]

  • Connection failures when downloading data

You can resolve this by enabling the certifi certificate bundle:

from wetterdienst import Settings

settings = Settings(use_certifi=True)
# Use this settings object with your requests

Or via environment variable:

export WD_USE_CERTIFI=true

This uses Mozilla’s curated collection of root certificates instead of your system certificates. For more information, see the settings documentation.