Thermodynamic routines

Here are posted the codes used in Sherwood and Huber (2010) and other papers, for calculating wet-bulb temperature and other thermodynamic quantities.  They are written in IDL (sorry if this is not useful!).
Contains routines for calculating potential and equivalent potential temperature, and saturation humidity quantities.
a routine for calculating wet bulb temperature.  This requires equivalent potential temperatures as input.