Functions for post processing WRF output data