PlasmaCalcs.tools.xarray_tools.xarray_misc.xarray_object_coords_to_str

PlasmaCalcs.tools.xarray_tools.xarray_misc.xarray_object_coords_to_str(array, *, maxlen=None, ndim_min=1)
return copy of array with coords (of dtype=object) converted to string.
maxlen: None or int>=5
if int, truncate longer strings to this length-3, and add ‘…’ to end.
ndim_min: int
minimum number of dimensions for a coord to be converted.
e.g. ndim_min=1 –> coords with ndim=0 will not be altered