Solution exception:invalid literal for float(): -nan(ind)

I get the following error when trying to set up an incident radiation analysis with Ladybug 1.1, but only for certain EPW files. Some work fine, others give this exact error message:

Runtime error (ValueErrorException): invalid literal for float(): -nan(ind)

Traceback:
line 164, in < genexpr >, “< string >”
line 137, in broadband_radiation, “< string >”
line 166, in parse_mtx_data, “< string >”
line 213, in script

Unfortunately I have not the slightest idea what it means, so all help is greatly appreciated. I haven’t found any recent discussion about any similar issue, but please direct me if there already exists a thread about this. Thank you!

can you share a link to an EPW that’s good and an EPW that gives you the error?
I’ve a suspicion that the error throwing EPW’s may not have all the needed data for the rad analysis and that be the causation moreso than LBT side of things

Yes that’s my suspision too. I just haven’t run into this issue before.

This one does not work: https://www.energyplus.net/weather-download/asia_wmo_region_2/KOR//KOR_Inchon.471120_IWEC/all

This one works: https://www.energyplus.net/weather-download/europe_wmo_region_6/DNK//DNK_Copenhagen.061800_IWEC/all

So I just opened that *.stat files and applied a ruby syntax highlighting (when looking through weather files and stuff usually just throw a ruby syntax highlighting on it and see if there’s a ‘break’

Go into the EPW file (I know this is the stat) but take the ’ out of the location name:
When you do it works:

belay that I just tried the one that doesn’t work for you without touching it and its working for me. Not sure what the problem is now