Open fnemina opened 3 years ago
Hi fnemina, I would like to ask whether the "Incorrect input value" problem would happen to the setting of observation parameters and aerosol parameters, like s.view.phi, s.ang.thetas and s.aer.lnb.cmiwa, and why this happens.
When writing values to the albedo variables (s.sea.botalb y s.sea.surfalb) the values are written in scientific notation by the script if they are small enough. If this happens but the number of number in the mantissa is to big OSOAA code doesn't read the value of the exponent and only the mantissa.
A general solution for this should be implemented by changing the precision of the written number in OSOAA.
Here a minimal example is shown
give us 5.68087 which is greater than 1 the maximum expected value. If we do
we have 0.342374, the real value we were looking for.