From e0fcbf9e1ee467e5c324d9b22926fa9717708d32 Mon Sep 17 00:00:00 2001 From: Jiwoo Lee Date: Tue, 10 Sep 2024 15:05:39 -0700 Subject: [PATCH] correlation output to 3 digits under decimal point Increased from 2 digits to 3 digits --- pcmdi_metrics/mean_climate/lib/compute_metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcmdi_metrics/mean_climate/lib/compute_metrics.py b/pcmdi_metrics/mean_climate/lib/compute_metrics.py index b38415947..725a7aaf1 100644 --- a/pcmdi_metrics/mean_climate/lib/compute_metrics.py +++ b/pcmdi_metrics/mean_climate/lib/compute_metrics.py @@ -197,7 +197,7 @@ def compute_metrics(Var, dm, do, debug=False, time_dim_sync=False): metrics_dictionary["bias_xy"][sea] = format(bias_sea, sig_digits) metrics_dictionary["rms_xy"][sea] = format(rms_sea, sig_digits) metrics_dictionary["rmsc_xy"][sea] = format(rmsc_sea, sig_digits) - metrics_dictionary["cor_xy"][sea] = format(cor_sea, ".2f") + metrics_dictionary["cor_xy"][sea] = format(cor_sea, sig_digits) metrics_dictionary["mae_xy"][sea] = format(mae_sea, sig_digits) metrics_dictionary["std-obs_xy"][sea] = format(stdObs_xy_sea, sig_digits) metrics_dictionary["std_xy"][sea] = format(std_xy_sea, sig_digits)