Tropical cyclogenesis within the critical layer of tropical easterly waves