Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Understanding EPW leap year header

I'm developing a tool that exports weather data as epw. I'm wondering about the leap year header.

I'm exporting "true data", so for leap years, I always have Feb 29th data.

When exporting full years, the logic is simple, the leap year header should be "Yes" on leap years.

What if I'm exporting January data, or May-September data?

It boils down to what the flags is used for. IIUC, it means that if "Yes", E+ will expect Feb 29th data on leap years, otherwise not. In this case, and since I'm exporting true data, it shouldn't hurt to always set it to yes, right?

This seems to be confirmed by the reading of this PR so it should be true for E+ >= 9.1.0.

I'd be happy to get confirmation.

Assuming my understanding of E+ behaviour is correct, I'm still interested in what the "EPW standard" defines for this field, as other softwares consuming EPW might be more strict about it. I don't find the docs so explicit about it.

Thanks.

Understanding EPW leap year header

I'm developing a tool that exports weather data as epw. I'm wondering about the leap year header.

I'm exporting "true data", so for leap years, I always have Feb 29th data.

When exporting full years, the logic is simple, the leap year header should be "Yes" on leap years.

What if I'm exporting January data, or May-September data?

It boils down to what the flags is used for. IIUC, it means that if "Yes", E+ will expect Feb 29th data on leap years, otherwise not. In this case, and since I'm exporting true data, it shouldn't hurt to always set it to yes, right?

This seems to be confirmed by the reading of this PR so it should be true for E+ >= 9.1.0.

I'd be happy to get confirmation.

Assuming my understanding of E+ behaviour is correct, I'm still interested in what the "EPW standard" defines for this field, as other softwares consuming EPW might be more strict about it. I don't find the docs so explicit about it.

Thanks.