diag2python gsidiag