pydeltasnow.utils.continuous_timedeltas_in_nonzero_chunks

pydeltasnow.utils.continuous_timedeltas_in_nonzero_chunks(dr, start_idxs, stop_idxs)[source]

Check that every non-zero HS chunk has continuous dates and same resolution.

Parameters
Returns

  • continuous (bool) – Whether the chunks are evenly spaced with equal resolution.

  • resolution (float) – The time resolution in hours.