Make the netcdf read/write subroutines look more like those in matm and mom.