pyrad.io.read_lightning_traj#
- pyrad.io.read_lightning_traj(fname)[source]#
Reads lightning trajectory data contained in a csv file. The file has the following fields:
Date UTC [seconds since midnight] # Flash Flash Power (dBm) Value at flash Mean value in a 3x3x3 polar box Min value in a 3x3x3 polar box Max value in a 3x3x3 polar box # valid values in the polar box
- Parameters:
fname (str) – path of time series file
- Returns:
time_flash, flashnr, dBm, val_at_flash, val_mean, val_min, val_max,
nval (tupple) – A tupple containing the read values. None otherwise