Linear vs nonlinear methods for detecting magnetospheric and ionospheric current systems patterns