function ds = cosmo_dim_transpose(ds, dim_labels, target_dim, target_pos)
cosmo dim slice hdr
cosmo dir hdr