Skip to content

Commit

Permalink
Issue #15539 - Fix timestamps from NUTNR SUNA recovered instrument pa…
Browse files Browse the repository at this point in the history
…rser (#107)
  • Loading branch information
steinermg authored Mar 3, 2023
1 parent c8d8c39 commit 74d9be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mi/dataset/parser/suna.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def parse_file(self):
raw_data.insert(1, raw_data[0][6:])
raw_data[0] = raw_data[0][3:6]

internal_timestamp = julian_time_to_ntp(raw_data[2])
internal_timestamp = julian_time_to_ntp(raw_data[2]) + (float(raw_data[3]) * 60 * 60)

particle = self._extract_sample(particle_class, None, raw_data, internal_timestamp=internal_timestamp)
self._record_buffer.append(particle)
Expand Down

0 comments on commit 74d9be2

Please sign in to comment.