something is not right with the soundings and the potential temperature calculation. need to do some more checks before pushing to master.