COSMIC RAYS IN THE UPPER ATMOSPHERE