rename_dimension_attributes function

Rename dimension attributes