rename coordinate netcdf python xarray code example Example: rename coordinate netcdf python xarray da.rename({'x': 'longitude','y': 'latitude'})