When simulating a wide range of snow conditions in an active setup, some snow profiles do not converge to a solution, thus generating NaNs.
This can be reproduced with the codes/data available here: TVCExp18-19.
The rtsolver_option = {'diagonalization_method'='shur_forcedtriu'} option fixed the issue without changing the results of the study TVCExp18-19/diag
This option was also used in recent MCMC SWE retrieval using airborne Ku SAR data: TVCExp18-19_SWE.
I suggest making shur_forcedtriu the default option.