Nicholaswogan / clima

A climate model of planetary atmospheres
GNU General Public License v3.0
5 stars 0 forks source link

Reproduce Early Mars 2 bar CO2 benchmark #2

Closed Nicholaswogan closed 1 year ago

Nicholaswogan commented 1 year ago

Figure 2 of this paper shows a radiative transfer calculation benchmarks with 3 models: ExoRT, SOCRATES, and SMART. The atmosphere is a 2 bars pure CO2 atmosphere on Mars with 250 K surface. All model get approximately OLR = 90 W/m^2. The CLIMA model also gets about 90 W/m^2 (see here)

I fail to reproduce this benchmark.

Using my normal opacities, I get 120 W/m^2, and petitRADTRANS get about 110 W/m^2.

Possible issues

Nicholaswogan commented 1 year ago

If I had to guess, I think there are two problems:

  1. CO2 k-distributions are not quite right
  2. There is a problem interpolating the k-distributions

I think this because, when I randomly increase the input pressure by 1e6, then I can more closely reproduce petitRADTRANS, when using identical opacities. Doing the same exercise, but using the ATMOS CLIMA k-distributions, I get 87.6 W/m2, and the planet TOA flux vs wavelength looks somewhat comparable to other codes (e.g. ExoRT).

It seems very likely that there is an issue with the CO2 k-distributions because petitRADTRANS gets the wrong answer, yet the code itself is very well-validated.

Nicholaswogan commented 1 year ago

The issue is definitely with the CO2 k-coefficients.

I re-did the calculation using the CLIMA CO2 k-distributions, and got 93 W/m2 (the right answer). The first time I did this calculation I messed up saving the file in the proper format, mixing up a pressure and temperature dimension.

I need to compute new k-coefficients. I should just use HELIOS-k and do it from scratch

Nicholaswogan commented 1 year ago

Resolved with 87adce6ef54b08f754800be10fe7def83622e728