Fix the bug for HYSPLIT concentration data reading

Post Reply
yaqiang
Posts: 41
Joined: October 5th, 2015, 10:20 pm
Registered HYSPLIT User: Yes

Fix the bug for HYSPLIT concentration data reading

Post by yaqiang » December 13th, 2018, 4:21 am

A bug exists in MeteoInfo for HYSPLIT output concentration data reading. The i, j index of non-zero elements can be read from data record 8, and the i, j index starting from 1 following Fortran language. MeteoInfo was developed using Java with 0 starting array, so the element positions were read incorrect. The bug was just fixed by minus 1 of i, j index from MeteoInfo version 1.7a2.
hysplit_conc_bug.png
hysplit_conc_bug_fixed.png

Post Reply