pyrad.io.write_centroids#
- pyrad.io.write_centroids(fname, centroids_dict, var_names)[source]#
writes the centroids of a semi-supervised hydrometeor classification
- Parameters:
fname (str) – file name
centroids_dict (dict) – dictionary containing the centroids
var_names (tuple) – List of variables
- Returns:
fname (str) – the name of the file containing the content