Skip to content

Commit b602f3b

Browse files
committed
remove SFF datetime from Python loader
1 parent 9601f4d commit b602f3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev/sff/sffLib.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ def __init__(self, filePath):
7272
print(f"Time Resolution: {self.secPerPx} sec/px")
7373
print(f"Frequency Resolution: {self.hzPerPx} Hz/px")
7474

75-
# recording start time
76-
dt = datetime.datetime(
77-
int(filebytes[74])+2000, int(filebytes[75]), int(filebytes[76]),
78-
int(filebytes[77]), int(filebytes[78]), int(filebytes[79]))
79-
print(f"Recording start (UTC): {dt}")
75+
# recording start time - no longer used
76+
#dt = datetime.datetime(
77+
#int(filebytes[74])+2000, int(filebytes[75]), int(filebytes[76]),
78+
#int(filebytes[77]), int(filebytes[78]), int(filebytes[79]))
79+
#print(f"Recording start (UTC): {dt}")
8080

8181
# data storage
8282
self.firstDataByte = struct.unpack("<l", filebytes[80:84])[0]

0 commit comments

Comments
 (0)