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.
|
3 years ago | |
---|---|---|
.github | 3 years ago | |
conda.recipe | 5 years ago | |
docs | 4 years ago | |
src | 5 years ago | |
tests | 9 years ago | |
.appveyor.yml | 4 years ago | |
.gitignore | 5 years ago | |
.pre-commit-config.yaml | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 9 years ago | |
README.md | 3 years ago | |
pyproject.toml | 4 years ago | |
setup.py | 4 years ago |
README.md
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,
)