Simplify netCDF writing code
Motivated by the need to modify this code so that we can append to files written by GDAL. Terrified to make these changes without simplifying it first.
Edited by Dan Baston
Motivated by the need to modify this code so that we can append to files written by GDAL. Terrified to make these changes without simplifying it first.