def da_to_string(da):
    """Generate a human readable version of a 1D :class:`xarray:xarray.DataArray`.

    Parameters
    ----------
    da : :class:`xarray:xarray.DataArray`
        The :class:`xarray:xarray.DataArray` to display. Must only have one dimension.

    Returns
    -------
    str_val : str
        String with human readable version of `da`.
    """
    assert len(da.dims) == 1
    str_val = da.to_series().to_string()
    return str_val