[gradsusr] segmentation fault

Roger Rodrigues Torres roger.torres at cptec.inpe.br
Fri May 11 17:06:54 EDT 2012


I think that in some moment you are dividing by zero
Is it correct? (237.3 + dewc)?

2012/5/11 Jeff Lake <admin at michiganwxsystem.com>

> anybody tell me why this is throwing a segmentation fault
>
> 'define tempc = TMP2m - 273.16'
> 'define dewc = DPT2m - 273.16'
> 'define rh = pow(10, (1779.75 * (dewc - tempc) / ((237.3 + dewc) *
> (237.3 + tempc)) + 2))'
>
> as soon as I added this GrADS starting complaining
>
> --
> -Jeff Lake
> MichiganWxSystem.com
> WeatherMichigan.net
> TheWeatherCenter.net
> GRLevelXStuff.com
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>



-- 
Roger Rodrigues Torres
PhD. Student in Meteorology
National Institute for Space Research (INPE)
Phone: 55 12 3186-9541
Personal Webpage: http://rtorres.webnode.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120511/02cc7a1f/attachment-0003.html 


More information about the gradsusr mailing list