At line 410 in engproc.F90
https://sourceforge.net/p/ermod/code/ci/ver03/tree/engproc.F90#l410
shouldn't maxdst have been cntdst, instead?
I have not caught all the ideas behind the codes, yet. I just intuitively suspect that there may be a mistake at line 4 in the following snippet, where maxdst should be cntdst:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
Since at line 8 and 12, we write out flceng_g(:, cntdst, irank), thus I think at line 4 we should check the data at flceng_stored_g(cntdst, irank), shouldn't we?
You are right. it should be cntdst. Fixed in e21cecdeb277.