pyrad.io.write_monitoring_ts#

pyrad.io.write_monitoring_ts(start_time, np_t, values, quantiles, datatype, fname, rewrite=False)[source]#

writes time series of data

Parameters:
  • start_time (datetime object or array of date time objects) – the time of the monitoring

  • np_t (int or array of ints) – the total number of points

  • values (float array with 3 elements of array of arrays) – the values at certain quantiles

  • quantiles (float array with 3 elements) – the quantiles computed

  • datatype (str) – The data type

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

  • rewrite (bool) – if True a new file is created

Returns:

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