  We consider a class of infinite weighted metric trees obtained as
perturbations of self-similar regular trees. Possible definitions of the
boundary traces of functions in the Sobolev space on such a structure are
discussed by using identifications of the tree boundary with a surface. Our
approach unifies some constructions proposed by Maury, Salort, Vannier (2009)
for dyadic discrete weighted trees (expansion in orthogonal bases of harmonic
functions on the graph and using Haar-type bases on the domain representing the
boundary), and by Nicaise, Semin (2018) and Joly, Kachanovska, Semin (2019) for
fractal metric trees (approximation by finite sections and identification of
the boundary with a interval): we show that both machineries give the same
trace map, and for a range of parameters we establish the precise Sobolev
regularity of the traces. In addition, we introduce new geometric ingredients
by proposing an identification with arbitrary Riemannian manifolds. It is shown
that any compact manifold admits a suitable multiscale decomposition and,
therefore, can be identified with a metric tree boundary in the context of
trace theorems.
