Fix a bug in extractPressureFromNWPGrid