From f4ba1ee2d6d4cc826c0f60fa64ce224c282dff1d Mon Sep 17 00:00:00 2001 From: Megan He <59985465+megan-he@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:02:14 -0400 Subject: [PATCH] fix jacobian scale factor calculation (#285) --- src/inversion_scripts/get_jacobian_scalefactors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inversion_scripts/get_jacobian_scalefactors.py b/src/inversion_scripts/get_jacobian_scalefactors.py index 562032ab..c639255b 100644 --- a/src/inversion_scripts/get_jacobian_scalefactors.py +++ b/src/inversion_scripts/get_jacobian_scalefactors.py @@ -49,7 +49,7 @@ def get_jacobian_scalefactors(period_number, inv_directory, ref_directory): # Note 2: This also assumes that the temporal variabily of the swapped emissions is the same. # If the temporal variability is different, there will be error associated with scaling # the Jacobian. - sf_K = pert_sf / ref_pert_sf + sf_K = ref_pert_sf / pert_sf # Apply the target_emis_ratio to the scale factors sf_K = sf_K * target_emis_ratio