pyrad.io.write_rhi_profile#

pyrad.io.write_rhi_profile(hvec, data, nvalid_vec, labels, fname, datatype=None, timeinfo=None, sector=None)[source]#

writes the values of an RHI profile in a text file

Parameters:
  • hvec (float array) – array containing the alitude in m MSL

  • data (list of float array) – the quantities at each altitude

  • nvalid_vec (int array or None) – number of valid data points used to compute the quantiles

  • labels (list of strings) – label specifying the quantitites in data

  • fname (str) – file name where to store the data

  • datatype (str) – the data type

  • timeinfo (datetime object) – time of the rhi profile

  • sector (dict) – dictionary specying the sector limits

Returns:

fname (str) – the name of the file where data has been written