def _divide_xarray_return_system(xarr: dict, sysid: str):
    """
    Take in a ping xarray Dataset and return just the secid sector

    Parameters
    ----------
    xarr
        dict of xarray Datasets
    sysid
        system identifier that you are searching for

    Returns
    -------
    xr.Dataset
        selected datatype specified by mode
    """

    if sysid not in list(xarr.keys()):
        return None

    xarr_by_sysid = xarr[sysid]

    return xarr_by_sysid