code: def _shape(self):
          
          hdu = self.open()
          _shape = hdu.shape
          if not self.inmemory:
              self.close()
              del hdu
          return _shape
docs: Returns the shape of the data array associated with this file.