cleaned up get_temp_rh()