def get_data(self, kstpkper=None, idx=None, totim=None, mflay=None):
        # One-based kstp and kper for pulling out of recarray
        if kstpkper is not None:
            kstp1 = kstpkper[0] + 1
            kper1 = kstpkper[1] + 1

            totim1 = self.recordarray[np.where(
                    (self.recordarray['kstp'] == kstp1) &
                    (self.recordarray['kper'] == kper1))]["totim"][0]
        elif totim is not None:
            totim1 = totim
        elif idx is not None:
            totim1 = self.recordarray['totim'][idx]
        else:
            totim1 = self.times[-1]

        data = self._get_data_array(totim1)
        if mflay is None:
            return data
        else:
            return data[mflay, :, :]
Find and return a :class:`boto.regioninfo.RegionInfo` object
dataset/ETHPy150Open modflowpy/flopy/flopy/utils/datafile.py/LayerFile.get_data--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/sns/__init__.py/get_region