Yep up in a tree...first time for us
This observation is for the Hammerkop.
The observation for the Yellow-billed Duck is: https://www.inaturalist.org/observations/213128074
Found in a garden close to Drake Bay, Costa Rica, at the edge of the forest.