(self, timestamp)
| 40 | self.utm_to_ll = None |
| 41 | |
| 42 | def get_entry(self, timestamp): |
| 43 | if not self.data: |
| 44 | self.parse() |
| 45 | |
| 46 | # check min and max |
| 47 | if timestamp < self.data[0]["start"] or timestamp > self.data[len(self.data) - 1]["end"]: |
| 48 | return None |
| 49 | |
| 50 | for entry in self.data: |
| 51 | if entry["start"] <= timestamp and entry["end"] >= timestamp: |
| 52 | return entry |
| 53 | |
| 54 | return None |
| 55 | |
| 56 | def get_gps(self, timestamp): |
| 57 | if not self.data: |