oggm.cli.temp_bias.run_temp_bias

On this page

oggm.cli.temp_bias.run_temp_bias#

oggm.cli.temp_bias.run_temp_bias(input_files=None, output_file=None, make_plots=True, min_glaciers=12, max_radius=10, err_fill_quantile=0.9, rgi_region=None, rgi_subregion=None, logging_level='WORKFLOW')[source]#

Creates the temperature bias prior file out of a temp_melt run.

This is a thin wrapper around utils.compute_temp_bias_dataframe(), which does all the work (and where all the parameters are documented).

Parameters:
input_filesstr or list of str

path(s) to the glacier_statistics files of the temp_melt run. Directories and glob patterns are accepted as well.

output_filestr

path of the csv file to write.

make_plotsbool

write the diagnostic plots next to the output file. The diagnostic summary (<output_file stem>_summary.txt) is always written.