pyrad.io.write_last_state#
- pyrad.io.write_last_state(datetime_last, fname)[source]#
writes SwissMetNet data in format datetime,avg_value, std_value
- Parameters:
datetime_last (datetime object) – date and time of the last state
fname (str) – file name where to store the data
- Returns:
fname (str) – the name of the file where data has written