meteostat-python
meteostat-python copied to clipboard
Clear Cache: File not found error
Discussed in https://github.com/meteostat/meteostat-python/discussions/96
Originally posted by Raysyu May 23, 2022 Dear meteostat,
I'm using your API to reteive weather data and this happened.
I was running this locally with a small portion of the original data about 10000/17500000 rows and it's working and as I ran the original file in a server this happened.
I would assume the locaiton of 'cache' can't be foudn when executing self.clear_cache
not sure what to do but any help would be great!
this also breaks on aws lambda for the same reason. might suggest you make the cache dir configurable