def METHOD_NAME(data):
    """
    Parses the given ADAS data file. This function expects the
    data to be in exactly the same format as obtained through
    the Open ADAS database.
    """
    lines = data.splitlines()
    # Get dimensions
    dims = lines[0].split()
    Z  = int(dims[0])
    nn = int(dims[1])
    nT = int(dims[2])
    # Density
    i = 2
    n = []
    while len(n) < nn:
        # +6: convert from cm^-3 to m^-3
        n += [float(x)+6 for x in lines[i].split()]
        i += 1
    # Temperature
    T = []
    while not lines[i].strip(' C').startswith('--'):
        T += [float(x) for x in lines[i].split()]
        i += 1
    # Skip ' ---' line...
    i += 1
    # Load data for each charge state
    data = []
    while lines[i][0] != 'C':
        ldata = []
        # Load data corresponding to single charge state
        while not lines[i].strip(' C').startswith('--') and lines[i] != ' ':
            # -6: convert from cm^3 to m^3
            ldata += [float(x)-6 for x in lines[i].split()]
            i += 1
        data.append(ldata)
        # Skip ' --'...
        i += 1
    data = np.reshape(np.array(data), (Z, nT, nn))
    n = np.array(n)
    T = np.array(T)
    return Z, n, T, data