arts icon indicating copy to clipboard operation
arts copied to clipboard

Bug for iyEmissionHybrid

Open Shaofei-Wang224 opened this issue 2 years ago • 1 comments

Hi, all

I found that in certain scenarios, an error occurred in the function iyEmissionHybrid.

Assume that there are two atmosphere layers. The temperature of the first layer is 290.5K and the corresponding snow PND is 0. The temperature of the second layer is 289.5K and the corresponding snow PND is 1.

Because Hybrid requires that ppath_lmax is not too high. there exists some ppath point between the two layers. After interpolation, the temperature of some Ppath points will be > 290K, but the corresponding PND is not equal to 0. This will cause an error in the function opt_prop_ScatSpecBulk.

The Attachment is a simple schematic diagram. bug for iyhbird

Best regards, Shaofei Wang

Shaofei-Wang224 avatar Nov 13 '23 08:11 Shaofei-Wang224

The bug can be reproduced with the attachment.

bug_for_iyEmissionHybrid.zip

Shaofei-Wang224 avatar Nov 21 '23 02:11 Shaofei-Wang224