wgrib.c.txt (607.6 KB)
Works for me (and I had tested it before I replied earlier). See attachment for proof.