You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a frequency between 3.0 and 3.4 GHz is entered when running IF-77, the application will fail. This is due to in the atmospheric absorption calculations, ASORP(...) subroutine, it will attempt to execute LOG10(0), which is undefined. The cause of this is the manner in which the subroutine searches through the frequency array, FZ, and interpolates once it found the correct interval.
The attached output.txt file shows an example run at 3.1 GHz.
Fixed using the simplest method, in which the '0' was changed instead to a very small number - "effectively zero" - but that the log10() will still evaluate. This meant no need to change and re-validate the logic in the code.
If a frequency between 3.0 and 3.4 GHz is entered when running IF-77, the application will fail. This is due to in the atmospheric absorption calculations, ASORP(...) subroutine, it will attempt to execute LOG10(0), which is undefined. The cause of this is the manner in which the subroutine searches through the frequency array, FZ, and interpolates once it found the correct interval.
The attached output.txt file shows an example run at 3.1 GHz.
input.txt
output.txt
The text was updated successfully, but these errors were encountered: