pyrad.io.read_monitoring_ts#
- pyrad.io.read_monitoring_ts(quantiles, fname, sort_by_date=False)[source]#
Reads a monitoring time series contained in a CSV file using pandas.
- Parameters:
quantiles (1D ndarray) – The computed quantiles.
fname (str) – Path of time series file.
sort_by_date (bool) – If True, the read data is sorted by date prior to exit.
- Returns:
date, np_t, quantile_data, geometric_mean_dB, linear_mean_dB (tuple) –
date: Array of timestamps.
np_t: Array of NP values.
quantile_data: Dictionary with quantile values, where keys are quantile names.
geometric_mean_dB: Mean reflectivity in dB.
linear_mean_dB: Mean reflectivity computed in linear units and converted back to dB.