I want to understand the following question:
Let $\delta$ be the Euclidean metric in $\mathbb{R}^2$. Is there any criteria for smooth function $u$ such that $(\mathbb{R}^2, e^{2u}\delta)$ can be compactified to a compact closed Riemannian surface?
For example, if $u(x,y)=\ln(\frac{2}{1+x^2+y^2})$, then $(\mathbb{R}^2, e^{2u}\delta)$ is the unit sphere minus the north pole. Hence $\mathbb{R}^2$ can be compactified under such metric.
I'm wondering is there a general criteria?