We haven’t detonated them near the atmosphere.
Not all were subterranean explosions. If you’ll recall there were many during the 50’s that involved troops in the open and phony towns pasted together to measure the effects of over pressure and to create the effective downwind drift templates they taught me when I attended the US Army School of Nuclear, Biological & Chemical warfare back in the 1980s.