def default_precision_timestamp(*args, **kwargs) -> pd.Timestamp:
    """Return a Timestamp object with the default precision.

    Xarray default is "ns".
    """
    dt = pd.Timestamp(*args, **kwargs)
    if dt.unit != "ns":
        dt = timestamp_as_unit(dt, "ns")
    return dt
Return a Timestamp object with the default precision.

    Xarray default is "ns".
    
xarray/compat/pdcompat.py