improved inline documentation in read/write netCDF files and datasets