Skip to content

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:

Returns:

  • TimeArray –

    Numpy array of datetimes

Raises:

  • TypeError –

    If element in iterable is not a value time object