fix for outputing coordinate values in netcdf files.