contrailcirrus / pycontrails

Python library for modeling contrails and other aviation climate impacts
https://py.contrails.org/
Apache License 2.0
59 stars 17 forks source link

Feature/accf metrics #159

Closed trdean1 closed 8 months ago

trdean1 commented 8 months ago

Changes

Adds now optional output that expresses forcing in both global averaged RF and ATR20

Internals

Adds two new parameters to CoCipParams: compute_atr20 (false by default) and global_rf_to_atr20_factor (0.0151 by default Global averaged RF is converted by taking EF (J) and dividing by the surface area of the earth (m^2) and the number of seconds in year, to give equivalented delta in global RF over a year needed to capture the same amount of energy. A constant multiple converts this to ATR20. test_eval_persistent sets compute_atr20 and static test values are updated to include new outputs

Tests

Reviewer

@zebengberg @thabbott