#NEWLINE# def __getattr__( self , item ) : #NEWLINE# #INDENT# '\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\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        ' #NEWLINE# if ( item == 'sr' ) : #NEWLINE# #INDENT# if ( self . dis is not None ) : #NEWLINE# #INDENT# self . _sr . reset ( delr = self . dis . delr . array , delc = self . dis . delc . array , lenuni = self . dis . lenuni ) #NEWLINE# #UNINDENT# return self . _sr #NEWLINE# #UNINDENT# return self . get_package ( item )