  Using Arakelov geometry, we compute the partition function of the noncompact free boson at genus two. We begin by compiling a list of modular invariants which appear in the Arakelov theory of Riemann surfaces. Using these quantities, we express the genus two partition function as a product of modular forms, as in the well-known genus one case. We check that our result has the expected obstruction to holomorphic factorization and behavior under degeneration. 
The Genus Two Free Boson in Arakelov Geometry