Closed Nicholaswogan closed 1 year ago
If I had to guess, I think there are two problems:
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.
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
Resolved with 87adce6ef54b08f754800be10fe7def83622e728
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
two_stream_ir
could have a bug