General XArray Functions

Working with DataArray metadata

clone_using(da, np_arr[, use_coords, …])

Given a NumPy array, return an XArray DataArray which contains the same dimension names and (optionally) coordinates and other properties as the supplied DataArray.

Modify coodinates

convert_datetime_to_number(da_or_ds, time_units)

Convert the coordinates of a datetime axis to a human-readable float representation.