Thanks Robert, I'm glad you finally updated it! It's working fine and fast.<br><br>Anyone knows a formula to calculate dew point from GFS data? I'm using the one from (<a href="http://www.saakeskus.fi/index.php?function=oth">http://www.saakeskus.fi/index.php?function=oth</a>) but on some coordinates, and depending on the GFS run, I'm getting the error "Non-numeric args to numeric operation" in the following lines:<br>
<br>rec=GHBCAPE(sndtemp,snddewp,MAscentI*100,2,200,MAscentT)<br>val2=GHBgetqvi(p2,t2)<br>es = 611.2*math_exp(21.8745584*(t-273.15)/(t-7.66))<br><br>Cheers.<br>