Advanced classification of ionospheric troughs in midnight conditions