kilianknoll / DWDForecast

Python module to query the DWD Mosmix data for irridation - and other relevant data to forecast solar generation
GNU General Public License v3.0
34 stars 4 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'MOSMIX_L_2023072509_P755.kml' #13

Open stadlaa opened 1 year ago

stadlaa commented 1 year ago

I was tearing data from different stations and experienced following Issues: image

"MOSMIX_L_2023072509_P755.kml" is in the KML Directory! When I manually copy it out of the KML folder and restart within a couple of minutes the programm completes without error and does it's job fine.

Anyone experienced this issue and are there recommendations to solving it? Best regards, stadlaa

stadlaa commented 1 year ago

solved the Error by myself making changes to line 429: (delete:) self.tree = ET.parse(Myzipfilename) (add:) self.tree = ET.parse( self.targetdir+"/"+Myzipfilename)

I'm new to GitHub and therefore don't know anything about pull-requestes etc. so I do request the change on this way. I am not familiar with python so can please anyone respond if my change to the project is even necassery or did I got sth. wrong beforehand.

Also I want to ask if the changes are correct and will run reliable. I got one read from the server and it seams ok for me so I assume that I solved the issue. Thanks Stadlaa