round2day

nawdex_analysis.io.tools.round2day(t)

Rounds a np.datetime64 object to one day.

Parameters:t (numpy datetime64 object) – input time
Returns:tout – rounded output time
Return type:numpy datetime64 object