Geothermal and groundwater resources