Dimension maximizing measures and local dimension spectrum for self-affine systems