I'm pretty sure that my migraines are caused by barometric pressure changes (among other things). I also get migraines when I ascend to high altitude. I can often avoid a migraine if I take a couple of Aleve tablets before I get on a plane or go into the mountains, before I experience any symptoms.