def get_time(self, idx):
<EOL>ds = self._get_dataset(idx)<EOL>thetime = ds.get_time()<EOL>if np.isnan(thetime):<EOL><INDENT>zf = zipfile.ZipFile(self.path)<EOL>info = zf.getinfo(self.files[idx])<EOL>timetuple = tuple(list(info.date_time) + [<NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>])<EOL>thetime = time.mktime(timetuple)<EOL><DEDENT>return thetime<EOL>
Time for each TIFF file

        If there are no metadata keyword arguments defined for the
        TIFF file format, then the zip file `date_time` value is
        used.