Refactor Grib save handling of grid templates, for clarity.