Open suhasdl opened 5 years ago
This is simply the behaviour of the RRTMG SW code. See the comments in https://github.com/CliMT/climt/blob/69d1e5d7071f248da5c68053ce08af2a11267cd1/climt/_lib/rrtmg_sw/rrtmg_sw_rad.f90#L269-L279
This should be documented better. I will keep this issue open to remind me of the same.
Thanks Joy.
Description
I was trying to vary the solar constant by changing the stellar_irradiance value. However when its set to 0 the solar constant defaults to the original value of about 1360. But it works fine even for a small value of say 10^-3.
I am attaching a sample code which demonstrates this.