A balloon sounding at noon gives the temperature of the air at each kilometre, on a hot humid day. At the ground the air is at with a dew point of . You will lift a parcel through it and find where the parcel is warmer than its surroundings.
The idea. The cloud base is at for each kelvin of the gap . Below it the parcel cools at ; above it, at .
Your tasks.
cloud_base, return the cloud base in km.parcel, return the parcel's temperature at a height in km.warm_levels, return the list of heights in the sounding where the parcel is warmer than the air around it.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…