You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
575 B
575 B
Installation
- clone this repository
- change directory to folder
stormpci_bin_reader
- run shell command
pip install .
Test call
Need binary file from new LDN system for tests.
from stormpci_bin_reader import StrikeReader
sr = StrikeReader("2022-04-23-00:00:37.bin")
strikes = sr.read_all_strikes()
for strike in strikes:
lts2 = strike.strike.lts2_data
print(
lts2.year,
lts2.month,
lts2.day,
lts2.hours,
lts2.minutes,
lts2.seconds + lts2.TS_time / lts2.TS_Osc,
)