pyrad.io.write_ts_lightning#

pyrad.io.write_ts_lightning(flashnr, time_data, time_in_flash, lat, lon, alt, dBm, vals_list, fname, pol_vals_labels)[source]#

writes the LMA sources data and the value of the colocated polarimetric variables

Parameters:
  • flashnr (int) – flash number

  • time_data (datetime object) – flash source time

  • time_in_flash (float) – seconds since start of flash

  • lat, lon, alt (float) – latitude, longitude [deg] and altitude [m MSL] of the flash source

  • dBm (float) – flash power

  • vals_list (list of arrays) – List containing the data for each polarimetric variable

  • fname (str) – the name of the file containing the content

  • pol_values_labels (list of strings) – List containing strings identifying each polarimetric variable

Returns:

fname (str) – the name of the file containing the content