@staticmethod
    def load(f, npar, verbose=False):
        # read parameter data
        if npar > 0:
            parm_dict = {}
            par_types = []
            for nprm in range(npar):
                line = f.readline()
                t = line.strip().split()
                parnam = t[0].lower()
                if verbose:
                    print('   loading parameter "{}"...'.format(parnam))
                partyp = t[1].lower()
                if partyp not in par_types:
                    par_types.append(partyp)
                parval = np.float(t[2])
                nclu = np.int(t[3])
                clusters = []
                for nc in range(nclu):
                    line = f.readline()
                    t = line.strip().split()
                    lay = np.int(t[0])
                    mltarr = t[1]
                    zonarr = t[2]
                    iarr = []
                    for iv in t[3:]:
                        try:
                            iz = int(np.int(iv))
                            if iz != 0:
                                iarr.append(iz)
                        except:
                            break

                    clusters.append([lay, mltarr, zonarr, iarr])
                # add parnam to parm_dict
                parm_dict[parnam] = {'partyp':partyp, 'parval':parval, 'nclu':nclu, 'clusters':clusters}

        return par_types, parm_dict
Raise an exception if attribute name is a reserved word.
dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfpar.py/ModflowPar.load--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/check_reserved_word