# rios is dataarray (var) name
rio.rename({'x': 'longitude','y': 'latitude'})