Dynamic meteorology - calculating air temperature based off falling air
Well.. W/kg = J/(kgs) = Nm/(kgs) = (kgm/s^2)m/(kgs) = m^2/s^3 So, J and wg have same unit, and also your final answer has correct unit, Kelvin per second. Your final answer says the parcel`s temperature will drop, even without cooling term J(you will find this strange because it should be heated by adiabatic heating). It is because you set w=0.5 instead of w=-0.5. I hope this helps you :)