rebase barometer

rebased a bit on atmosphere.rb