#NEWLINE# @ staticmethod #NEWLINE# def load( f , model , nper = None , ext_unit_dict = None ) : #NEWLINE# #INDENT# "\n        Load an existing package.\n\n        Parameters\n        ----------\n        f : filename or file handle\n            File to load.\n        model : model object\n            The model object (of type :class:`flopy.modflow.mf.Modflow`) to\n            which this package will be added.\n        nper : int\n            The number of stress periods.  If nper is None, then nper will be\n            obtained from the model object. (default is None).\n        ext_unit_dict : dictionary, optional\n            If the arrays in the file are specified using EXTERNAL,\n            or older style array control records, then `f` should be a file\n            handle.  In this case ext_unit_dict is required, which can be\n            constructed using the function\n            :class:`flopy.utils.mfreadnam.parsenamefile`.\n\n        Returns\n        -------\n        chd : ModflowChd object\n            ModflowChd object.\n\n        Examples\n        --------\n\n        >>> import flopy\n        >>> m = flopy.modflow.Modflow()\n        >>> wel = flopy.modflow.ModflowChd.load('test.chd', m)\n\n        " #NEWLINE# if ext_unit_dict . verbose : #NEWLINE# #INDENT# sys . stdout . write ( 'loading chd package file...\n' ) #NEWLINE# #UNINDENT# return Package . load ( model , ModflowChd , f , nper )