def load_astropy_angle_dataset(h_node,base_type,py_obj_type):
    """
    loads astropy angle

    Parameters
    ----------
    h_node (h5py.Dataset):
        the hdf5 node to load data from

    base_type (bytes):
        bytes string denoting base_type

    py_obj_type :
        final type of restored dtype

    Returns
    -------
        resulting py_obj_type
    """
    unit = h_node.attrs["unit"]
    q = py_obj_type(h_node[()], unit)
    return q