implements the changes that have been proposed to gridded in https://github.com/NOAA-ORR-ERD/gridded/pull/62/