Is it well established that Star Trek follows naval tradition. For example its ranks come from USN. Ships share names with real Earth vessels, etc.
I was surprised that the contingency speech on the death of the Apollo 11 astronauts contained
AFTER THE PRESIDENT'S STATEMENT, AT THE POINT WHEN NASA ENDS COMMUNICATIONS WITH THE MEN: A clergyman should adopt the same procedure as a burial at sea, commending their souls to "the deepest of the deep," concluding with the Lord's Prayer.
So this led me to the question: This speech was from after Star Trek aired. So were there other established traditions for using naval terminology and procedures at NASA before Star Trek (1966)? Was there precedent in earlier space travel literature for the naval tradition? Where did Gene Roddenberry get this from?