Skip to content

Commit

Permalink
Revert "fix jacobian scale factor calculation"
Browse files Browse the repository at this point in the history
This reverts commit f32efc7.
  • Loading branch information
megan-he committed Oct 29, 2024
1 parent f28f835 commit 0162b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inversion_scripts/get_jacobian_scalefactors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ref_pert_sf / pert_sf
sf_K = pert_sf / ref_pert_sf

# Apply the target_emis_ratio to the scale factors
sf_K = sf_K * target_emis_ratio
Expand Down

0 comments on commit 0162b48

Please sign in to comment.