With an air temperature of @###.# degrees @<<<<<<<<<< a dewpoint $dp{airtemp} $dp{corf1} temperature of @###.# degrees @<<<<<<<<<< and a station pressure of $dp{dewtemp} $dp{corf2} @###.## @<<<<<<<<<<<<<<<<<: $dp{press}$dp{mborin} . $~ = DP5; write; format DP5 = You get a relative humidity of @##.# percent and a wet-bulb temperature of $rh . if ($dp{corf1} eq Fahrenheit) { &ctof($tguess); $tguessf = $F; $~ = DP2; write; } else { $~ = DP3; write; } format DP2 = @###.# degrees Fahrenheit. $tguessf . format DP3 = @###.# degrees Celsius. $tguess . if ($dp{dewtemp} > $dp{airtemp}) { print "
The dewpoint temperature is greater than the air temperature, this only rarely occurs in the atmosphere. You may want to go back and double check your entries.
"; }