Refactor Grib save handling of grid templates, for clarity.

Agreed, I will revise..