Module Expr Str Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise Call NameLoad NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Str Print Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A N/A 
mfswr module.  Contains the ModflowSwr1 class. Note that the user can access
the ModflowSwr1 class as `flopy.modflow.ModflowSwr1`.

Additional information for this MODFLOW process can be found at the `Online
MODFLOW Guide
<http://water.usgs.gov/ogw/modflow-nwt/MODFLOW-NWT-Guide/swr.htm>`_.

 N/A sys pakbase Package ModflowSwr1 N/A Package N/A N/A 
    MODFLOW Surface-Water Routing Class.

    Parameters
    ----------
    model : model object
        The model object (of type :class:`flopy.modflow.mf.Modflow`) to which
        this package will be added.

    extension : string
        Filename extension (default is 'swr')

    unitnumber : int
        File unit number (default is 36).


    Attributes
    ----------

    Methods
    -------


    See Also
    --------

    Notes
    -----
    SWR1 Class is only used to write SWR1 filename to name file. Full functionality still
    needs to be implemented.

    Examples
    --------

    >>> import flopy
    >>> m = flopy.modflow.Modflow()
    >>> swr = flopy.modflow.ModflowSwr1(m)

     __init__ N/A N/A self model extension unitnumber N/A swr 36 N/A N/A 
        Package constructor.

         N/A N/A N/A Package __init__ self model extension SWR unitnumber N/A N/A N/A N/A model version mf2k N/A N/A model version mfusg N/A N/A err N/A N/A Error: cannot use {} package with model version {} format N/A self name N/A model version N/A N/A Exception err N/A N/A self heading # SWR1 process for MODFLOW, generated by Flopy. N/A N/A self url swr1.htm N/A N/A N/A N/A self parent add_package self N/A write_file N/A N/A self N/A N/A N/A 
        Write the package file.

        Returns
        -------
        None

         N/A SWR1 write method not implemented yet N/A load N/A N/A f model ext_unit_dict N/A None N/A N/A 
        Load an existing package.

        Parameters
        ----------
        f : filename or file handle
            File to load.
        model : model object
            The model object (of type: class:`flopy.modflow.mf.Modflow`)
            to which this package will be added.
        ext_unit_dict : dictionary, optional
            If the arrays in the file are specified using EXTERNAL,
            or older style array control records, then `f` should be a file
            handle.  In this case ext_unit_dict is required, which can be
            constructed using the function
            :class:`flopy.utils.mfreadnam.parsenamefile`.

        Returns
        -------
        hfb : ModflowHfb object
            ModflowHfb object (of type :class:`flopy.modflow.mfbas.ModflowHfb`)

        Notes
        -----
        Load method still needs to be implemented.

        Examples
        --------

        >>> import flopy
        >>> m = flopy.modflow.Modflow()
        >>> swr = flopy.modflow.ModflowSwr1.load('test.swr', m)

         N/A N/A model verbose N/A N/A N/A N/A N/A sys stdout write loading swr1 process file...
 N/A N/A N/A hasattr f read N/A N/A filename f N/A f N/A open filename r N/A    Warning: load method not completed. default swr1 object created. N/A N/A N/A f close N/A swr1 N/A ModflowSwr1 model N/A swr1 N/A staticmethod N/A