Why does Analaysis Period have a 1 hour offset?

I am trying to align some calculations, and getting tripped up by the way Ladybug handles analysis-periods relative to the EPW data?

Scenario:

If I have some normal EPW data:

and if I apply an analysis period of 1 day (Jan 1), I would expect to get the values in the EPW for day 1 (for instance, for dew-point, in the example here shown here, staring at the value of ‘-2.8’):

but instead it is ‘offset’ by 1 hour. Meaning: the first value it returns is actually hour 8760, and it ‘dops’ the line for hour “1996, 1, 1, 24,…”:


So is ladybug’s analysis period always ‘offsetting’ the data by 1 hour like this? I find that confusing as it does not align to the dates listed in the EPW file?

Or am I supposed to be handling the analysis period differently somehow?

I would have expected to just get all of the lines with the 1/1 date?

best,
@edpmay


Example:

example.gh (23.7 KB)