A Sturm–Liouville Problem Arising in the Atmospheric Boundary-Layer Dynamics