[gradsusr] segmentation fault
Jeff Duda
jeffduda319 at gmail.com
Fri May 11 17:43:22 EDT 2012
That's a very complicated expression for just an exponent. Are you sure
you have the correct formula? I don't see any obvious syntactical error,
but perhaps your calculation is resulting in overflow errors.
Jeff Duda
On Fri, May 11, 2012 at 4:34 PM, Jeff Lake <admin at michiganwxsystem.com>wrote:
> 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>
>
>> 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
>
>
> _______________________________________________
> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120511/f75c968b/attachment-0003.html
More information about the gradsusr
mailing list