An optimized workflow to determine the altitude of an observation