Diabatic effects in mid-latitude weather systems