def snatch_fort14_params(fname):
    """Read a few key parameters from the fort.14 file - not the actual mesh
    """

    res = {}
    with open(fname, "r") as fp:
        fp.readline()
        res["NE"], res["NP"] = map(int, fp.readline().strip().split()[:2])
        for i in range(res["NE"] + res["NP"]): fp.readline()
        res["NOPE"] = int(fp.readline().split()[0])
        res["NETA"] = int(fp.readline().split()[0])

    return res