For stopover mapping you may want to calculate a profile relative to ground level. In regions with high orography that means taking into account the varying orography of each pixel when aggregating into altitude bins. This also means the vertical profile calculation requires a orographic map as additional input.