Workaround for ECMWF GRIB API bug.

NB. Because it would almost certainly conflict with your new tests I've not added a test for this. We need to sort out who's going to take care of testing this.