html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6867#issuecomment-1202535745,https://api.github.com/repos/pydata/xarray/issues/6867,1202535745,IC_kwDOAMm_X85HrT1B,4160723,2022-08-02T13:17:09Z,2022-08-02T20:23:32Z,MEMBER,"Hi @ZhaJiMan, this topic has been brought up several times recently (see, e.g., #4825, #6607, #6704). I can't tell much about your latitude / longitude case without a more detailed example, but looking at your simple case the result is the one I would expect, i.e., `rename_dims` renames only the dimension (not the coordinate). Note that with version 2022.6.0, the `space` coordinate keeps its index so that you can still use it with `.sel()`: ```python renamed = ds.rename_dims(space='label')) renamed # # Dimensions: (label: 3) # Coordinates: # * space (label) # Dimensions: () # Coordinates: # space