def __getattr__(self, item):
    '\n        __getattr__ - syntactic sugar\n\n        Parameters\n        ----------\n        item : str\n            3 character package name (case insensitive) or "sr" to access\n            the SpatialReference instance of the ModflowDis object\n\n\n        Returns\n        -------\n        sr : SpatialReference instance\n        pp : Package object\n            Package object of type :class:`flopy.pakbase.Package`\n\n        Note\n        ----\n        if self.dis is not None, then the spatial reference instance is updated\n        using self.dis.delr, self.dis.delc, and self.dis.lenuni before being\n        returned\n        '
    if ((item == 'output_packages') or (not hasattr(self, 'output_packages'))):
        raise AttributeError(item)
    if (item == 'tr'):
        if (self.dis is not None):
            return self.dis.tr
        else:
            return None
    if (item == 'nper'):
        if (self.dis is not None):
            return self.dis.nper
        else:
            return 0
    if (item == 'start_datetime'):
        if (self.dis is not None):
            return self.dis.start_datetime
        else:
            return None
    if ((item == '_packagelist') or (item == 'packagelist')):
        raise AttributeError(item)
    pckg = self.get_package(item)
    if ((pckg is not None) or (item in self.mfnam_packages)):
        return pckg
    if (item == 'modelgrid'):
        return
    raise AttributeError(item)
__getattr__ - syntactic sugar

Parameters
----------
item : str
    3 character package name (case insensitive) or "sr" to access
    the SpatialReference instance of the ModflowDis object


Returns
-------
sr : SpatialReference instance
pp : Package object
    Package object of type :class:`flopy.pakbase.Package`

Note
----
if self.dis is not None, then the spatial reference instance is updated
using self.dis.delr, self.dis.delc, and self.dis.lenuni before being
returned
def __getattr__(self, item):
    '\n        __getattr__ - syntactic sugar\n\n        Parameters\n        ----------\n        item : str\n            3 character package name (case insensitive) or "sr" to access\n            the SpatialReference instance of the ModflowDis object\n\n\n        Returns\n        -------\n        sr : SpatialReference instance\n        pp : Package object\n            Package object of type :class:`flopy.pakbase.Package`\n\n        Note\n        ----\n        if self.dis is not None, then the spatial reference instance is updated\n        using self.dis.delr, self.dis.delc, and self.dis.lenuni before being\n        returned\n        '
    if ((item == 'output_packages') or (not hasattr(self, 'output_packages'))):
        raise AttributeError(item)
    if (item == 'tr'):
        if (self.dis is not None):
            return self.dis.tr
        else:
            return None
    if (item == 'nper'):
        if (self.dis is not None):
            return self.dis.nper
        else:
            return 0
    if (item == 'start_datetime'):
        if (self.dis is not None):
            return self.dis.start_datetime
        else:
            return None
    if ((item == '_packagelist') or (item == 'packagelist')):
        raise AttributeError(item)
    pckg = self.get_package(item)
    if ((pckg is not None) or (item in self.mfnam_packages)):
        return pckg
    if (item == 'modelgrid'):
        return
    raise AttributeError(item)