utils.time.to_time_array¶ Import path: earth2studio.utils.time.to_time_array View source on GitHub Documentation¶ A general converter for various time iterables into a numpy datetime64 array Parameters: time (list[str] | list[datetime] | TimeArray) – Time object iterable Returns: TimeArray – Numpy array of datetimes Raises: TypeError – If element in iterable is not a value time object