pyrad.io.read_lightning_all#

pyrad.io.read_lightning_all(fname, labels=['hydro [-]', 'KDPc [deg/Km]', 'dBZc [dBZ]', 'RhoHVc [-]', 'TEMP [deg C]', 'ZDRc [dB]'])[source]#

Reads a file containing lightning data and co-located polarimetric data. fields:

flashnr time data Time within flash (in seconds) Latitude (decimal degrees) Longitude (decimal degrees) Altitude (m MSL) Power (dBm) Polarimetric values at flash position

Parameters:
  • fname (str) – path of time series file

  • labels (list of str) – The polarimetric variables labels

Returns:

  • flashnr, time_data, time_in_flash, lat, lon, alt, dBm,

  • pol_vals_dict (tupple) – A tupple containing the read values. None otherwise