Skip to content

8% difference between AGTP100 values using ar6 scripts and values reported in Table 7.SM.7 AR6 WGI #51

@TitouanGreffe

Description

@TitouanGreffe

I tried to recompute AGTP100 values for CH4 and N2O using ch4_analytical and n2o_analytical but I face this difference:

AGTP100 for CH4 I obtain is 1.9438492024794e-15 while it is reported as 2.121780e-15 in Table 7 SM7 i.e. a 8.49% difference (https://github.com/chrisroadmap/ar6/blob/main/notebooks/340_chapter7_table7.SM.7.ipynb)

AGTP100 for N2O I obtain is 8.683614565204947e-14 while it is reported as 9.192690e-14 in Table 7 SM7 i.e. a 5.5% difference (https://github.com/chrisroadmap/ar6/blob/main/notebooks/340_chapter7_table7.SM.7.ipynb)

`ts_per_year = 1
H_max = 100 # years

co2 = 409.9
ch4 = 1866.3
n2o = 332.1`

For CH4:
rf_ch4, agwp_ch4, agtp_ch4, iagtp_ch4 = ch4_analytical( np.linspace(0, H_max, H_max * ts_per_year + 1), d=np.array([3.424102092311, 285.003477841911]), #q=np.array([0.443767728883447, 0.319591049742508]), # this is what is in Zeb's file sent 25 Feb q = np.array([0.443767728883447, 0.313998206372015]), # this is what Bill used co2=co2, ch4=ch4, n2o=n2o, ch4_ra = -0.14, alpha_ch4 = 11.8, ch4_o3=1.4e-4, ch4_h2o=0.00004 )

For N2O:

rf_n2o, agwp_n2o, agtp_n2o, iagtp_n2o = n2o_analytical( np.linspace(0, H_max, H_max * ts_per_year + 1), d=np.array([3.424102092311, 285.003477841911]), #q=np.array([0.443767728883447, 0.319591049742508]), # this is what is in Zeb's file sent 25 Feb q = np.array([0.443767728883447, 0.313998206372015]), # this is what Bill used co2=co2, ch4=ch4, n2o=n2o )

Moreover, 335_chapter7_generate_metrics,ipynb to calculate AGTP100 values does not work for at least two reasons:

  1. meinshausen function is missing in fair.forcing.ghg. I do not know if the function meinshausen2020 is supposed to replace it or not.
  2. from fair.defaults.thermal import q, d raise the following error: ModuleNotFoundError: No module named 'fair.defaults.thermal' both using latest fair version or version 2.1.0 which may have been used when ar6 package was released.

I did not find a way to solve this issue as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions