I think I can use `np.inf` as the missing value without gribapi having a problem (this seems not to be the case with `np.nan`). Perhaps that is the way to go here.