def find_parameters_in_dataset(dataset) -> list:
    """
    Figure out which parameter is in dataset and where
    
    :param dataset: hdf5 dataset with a dimension labels
    :type dataset: hdf5 dataset
    :return: parameters
    :rtype: list
    """
    dims = dataset.attrs.get("DIMENSION_LABELS")[1].decode()
    params = dims[2:-2].split("|").replace(" ", "")
    return params