pyrad.io.write_intercomp_scores_ts#
- pyrad.io.write_intercomp_scores_ts(start_time, stats, field_name, fname, rad1_name='RADAR001', rad2_name='RADAR002', rewrite=False)[source]#
writes time series of radar intercomparison scores
- Parameters:
start_time (datetime object or array of date time objects) – the time of the intercomparison
stats (dict) – dictionary containing the statistics
field_name (str) – The name of the field
fname (str) – file name where to store the data
rad1_name, rad2_name (str) – Name of the radars intercompared
rewrite (bool) – if True a new file is created
- Returns:
fname (str) – the name of the file where data has written