Unify duplicate dims #5544
              
                
                  
                  
                    Answered
                  
                  by
                    mattiasthalen
                  
              
          
                  
                    
                      mattiasthalen
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I have a dataset where there are about 20 variables, each with their own dimension: var_name_dim_0. In reality, they are all belonging to the same dimension. How can I unify all variables to a single dimension? I’ve tried rename_dims, byt that only puts the original dims benesth exercise. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            mattiasthalen
          
      
      
        Jun 28, 2021 
      
    
    Replies: 1 comment
-
| Solved it  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        mattiasthalen
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Solved it☺️ 
Rename all to the same, drop the old ones (that are just coords now). Remember to assign coords to the “new” dim.