Skip to content

util

Module for utility functions

def clamp_datetime_ms_ns(value: np.datetime64) -> np.datetime64

Clamp a datetime64[ms] to the range of datetime64[ns] used by xarray