created a new function stdatmos

updated with another example, and more