Changeset 14d7f7d in ammosreader for ammosreader/PDW.py
- Timestamp:
- 05/18/23 13:01:18 (2 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 25c80a7
- Parents:
- 3c331d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ammosreader/PDW.py
r3c331d1 r14d7f7d 31 31 print("Nanoseconds", nanoseconds) 32 32 unix_time = np.datetime64('now', 'ns').astype(int) 33 if unix_time > nanoseconds): 33 print("Unix time", unix_time) 34 if unix_time > nanoseconds: 34 35 raise OverflowError("Timestamp invalid") 35 36 time_of_arrival = np.datetime64(nanoseconds, 'ns')
Note:
See TracChangeset
for help on using the changeset viewer.