CLIMATE-952 - Update ocw.data_processor.write_netcdf to compatible with xarray