Import EPW_error with meteonorm epw data

Hello all. I generated a future predicted Epw file for the year 2020 using Meteonorm for a location. I tried importing the file using LBT Import Epw component but it threw an error. The same file I tried opening with Ladybug Legacy it is working without issue.A bit confusing.

I am attaching the Epw file below.File.rar (613.3 KB)!

It looks like that the weather data is generated for a leap year and had 24 extra hours. That’s what the error message says.

Hello Mostapha. Yes it says leap year. is there any walk around as leagcy version is able to read that

Legacy might be able to import the EPW but I don’t think any of the Legacy climate graphics can handle the extra 24 values (or, if they do, the probably do so incorrectly).

You can import an EPW that’s for a leap year with the new Ladybug plugin as long as it’s internally consistent. For example, here I am loading up an EPW for Boston in 2016:

Perhaps Meteonorm hasn’t formatted their EPWs correctly. Maybe the “year” field of the EPW doesn’t have values that are all for 2020.

Actually, you can see here’s that it’s one of the variables in the header of the EPW that tells EnergyPlus and Ladybug that the calculation is for a leap year:

So, if you just edit the incorrect header of your Meteonorm file, you should be able to import it with Ladybug and simulate it In EnergyPlus without issues.

1 Like

Ok @Chris, now I understood the concept of leap year. Thank You

Hi again @Chris can you please share your 2016 boston file. Still i am not able to make it run on LBT. For now i just deleted the feb 29 data to make it work.

Hey @Asisnath ,
Here is the file for Boston in 2016 for reference:

It has missing radiation values but this at least shows you how the header should be formatted for a leap year.

Thanks @chris for the reference file