Dynamic inhomogeneity of aeration along the vertical axis of the lung may predict weaning failure regardless of diaphragm dysfunction.