There is a toggle switch command Toggle_snorkel that can be added to a button on the radar tab. the easiest way i know to do this is to use jimimadrid's Menumaker. I did and it works fine.
Warning: If the mod does not work take a look and see if the mast is out of the water with the external cam. You might have to adjust the " SnorkelDepth= (number in meters)" in the sub's NSS_(Your Sub's Class).cfg file to get the antenna out of water using a button. The button always takes the sub to the exact number in that file every time, if it takes the sub deeper than the mast can rise, the radar will not work