resqpy.weights_and_measures.convert_times

resqpy.weights_and_measures.convert_times(a, from_units, to_units, invert=False)

Converts values in numpy array (or a scalar) from one time unit to another, in situ if array.

Note

To see supported units, use: valid_uoms(quantity=’time’)