I think that in some moment you are dividing by zero<br>Is it correct? (237.3 + dewc)?<br><br><div class="gmail_quote">2012/5/11 Jeff Lake <span dir="ltr">&lt;<a href="mailto:admin@michiganwxsystem.com" target="_blank">admin@michiganwxsystem.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">anybody tell me why this is throwing a segmentation fault<br>
<br>
&#39;define tempc = TMP2m - 273.16&#39;<br>
&#39;define dewc = DPT2m - 273.16&#39;<br>
&#39;define rh = pow(10, (1779.75 * (dewc - tempc) / ((237.3 + dewc) *<br>
(237.3 + tempc)) + 2))&#39;<br>
<br>
as soon as I added this GrADS starting complaining<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
-Jeff Lake<br>
MichiganWxSystem.com<br>
WeatherMichigan.net<br>
TheWeatherCenter.net<br>
GRLevelXStuff.com<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Roger Rodrigues Torres<br>PhD. Student in Meteorology<br>National Institute for Space Research (INPE)<br>Phone: 55 12 3186-9541<br>Personal Webpage: <a href="http://rtorres.webnode.com.br" target="_blank">http://rtorres.webnode.com.br</a><br>