def remove_package(self, pname):
    "\n        Remove a package from this model\n\n        Parameters\n        ----------\n        pname : string\n            Name of the package, such as 'RIV', 'BAS6', etc.\n\n        "
    for (i, pp) in enumerate(self.packagelist):
        if (pname.upper() in pp.name):
            if self.verbose:
                print('removing Package: ', pp.name)
            p = self.packagelist.pop(i)
            for iu in p.unit_number:
                if (iu in self.package_units):
                    self.package_units.remove(iu)
            return
    raise StopIteration((('Package name ' + pname) + ' not found in Package list'))
Remove a package from this model

Parameters
----------
pname : string
    Name of the package, such as 'RIV', 'BAS6', etc.
def remove_package(self, pname):
    "\n        Remove a package from this model\n\n        Parameters\n        ----------\n        pname : string\n            Name of the package, such as 'RIV', 'BAS6', etc.\n\n        "
    for (i, pp) in enumerate(self.packagelist):
        if (pname.upper() in pp.name):
            if self.verbose:
                print('removing Package: ', pp.name)
            p = self.packagelist.pop(i)
            for iu in p.unit_number:
                if (iu in self.package_units):
                    self.package_units.remove(iu)
            return
    raise StopIteration((('Package name ' + pname) + ' not found in Package list'))