From bc9a2feba4344e74201281e563332688a4d09cc3 Mon Sep 17 00:00:00 2001 From: Dominik Brodowski Date: Tue, 9 Jul 2019 18:26:01 +0200 Subject: gtd7: fix output at 32.5 km The original FORTRAN version, in line 221, IF(ALT.GE.ZN3(1)) GOTO 6 and the previous C releases contain a bug for calculations at 32.5 km as the upper boundary for what the model calls lower stratosphere and troposphere; for this exact altitude, invalid outputs ("-NAN") may be generated. Fix this issue by not skipping calculations right at this boundary. Reported-by: Yoshiaki Ando Signed-off-by: Dominik Brodowski --- DOCUMENTATION | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DOCUMENTATION') diff --git a/DOCUMENTATION b/DOCUMENTATION index a931e5b..dfdf5dd 100644 --- a/DOCUMENTATION +++ b/DOCUMENTATION @@ -145,6 +145,9 @@ the in- and output, and the differences between the various functions. 20170830 - fix some compiler warninges (noted by Steven Queen) +20190709 fix output at 32.5 km + (Yoshiaki Ando) + 7. TESTING OUTPUT ================= -- cgit v1.2.3