Mordell-Weil lattices for higher genus fibration over a curve Two-dimensional \(\ell\)-adic representations of the Galois group of a global field of characteristic \(p\) and automorphic forms on \(\mathrm{GL}(2)\) 