meteostat-python icon indicating copy to clipboard operation
meteostat-python copied to clipboard

Clear Cache: File not found error

Open clampr opened this issue 2 years ago • 1 comments

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. image 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!

clampr avatar May 26 '22 12:05 clampr

this also breaks on aws lambda for the same reason. might suggest you make the cache dir configurable

steveinatorx avatar Aug 19 '22 03:08 steveinatorx