[gradsusr] segmentation fault

Jeff Lake admin at michiganwxsystem.com
Fri May 11 17:34:29 EDT 2012


thats what I thought ..
But I converted to php .. it ran the conversion as expected

-Jeff Lake
MichiganWxSystem.com
WeatherMichigan.net
TheWeatherCenter.net
GRLevelXStuff.com


On 5/11/2012 5:06 PM, Roger Rodrigues Torres wrote:
> 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 
> <mailto: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 <mailto: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
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120511/b0764994/attachment-0003.html 


More information about the gradsusr mailing list