Closed Anjum48 closed 3 years ago
Hello @Anjum48 , thank you for reporting !!
I didn't have these errors before (this example is not part of the automated tests! ), and it seems it was introduced in 0.9.21 when the new lineshape algorithm became the default RADIS method.
We'll investigate further (I'll open an Issue in the main RADIS).
In the meantime I switched back to non-optimization for this example.
On my laptop, it also makes computations 2x faster : the new lineshape algorithm can add extra overhead, but is about ~constant with the number of lines. Therefore it's extremely fast at high temperatures and large molecules. For CO2 at low temperatures as in an atmosphere the overhead doesn't seem required (for your CH4 example try with and without the optimization=
parameter). Please pull, test again and :
Thanks for the quick reply @erwanp! Yes setting optimization=None
and removing the chunksize
arg seemed to get things moving for CO2. I'll play around with CH4 and let you know if there are any issues
Hi All,
I'm seeing exp overflow errors in
radiative_forcing_co2.py
presumably due to extreme values ofabsorbance
ineq_spectrum
and some other functions at certain slabs in the middle of the atmosphere.Any ideas on how to workaround this? Happy to submit a PR if it's an easy fix