[gradsusr] DEW POINT GRAPH

Stephen McMillan smcmillan at planalytics.com
Tue Feb 16 10:21:22 EST 2016


Hello Stuart,

Perhaps you've noticed that the flat-line value of "dew" is equal to the
value at the initial timestep.  Try displaying "dew" without first defining
it, i.e., 'd const((dewpt(tmp2m....)' and see what happens.  For me, it
works fine if I display the line directly, not from a defined variable.

It appears that if you define it from the dewpt udf, then it takes only the
initial value, but I have no idea why.  Perhaps another user has an
explanation or resolution.

Good luck--
Stephen Mc

On Tue, Feb 16, 2016 at 6:04 AM, Chorley Weather <
weatherstu at chorleyweather.com> wrote:

> Hi all,
>
> I'm trying to plot t2m, t850 and dew points in a line graph. The temp and
> 850's work fine but for some reason the dew point just flat lines, is there
> any reason for this? Ive attched an image to show and also here is the
> section of script for the dew point.
>
>
>
> 'set display color white'
> 'clear'
> 'set mpdset hires'
> 'set grads off'
>
> 'set t 1 65'
> 'set csmooth on'
> 'set cmark 0'
> 'set lat 53';'set lon -2.23'
> 'set vrange -30 30'
> 'define dew = const((dewpt(tmp2m,rh2m)-273.16),0,-u)'
> 'set gxout line'
> 'set ccolor 2'
> 'set cthick 20'
> 'd dew'
>
> I'm rather perplexed as to why the line is flat and clearly there is no
> value there but the Dew point script works fine when I produce charts.
>
> Regards,
>
> Stuart.
> --
>
> Stuart Markham
>
>
> _______________________________________________
> 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/20160216/87b80583/attachment.html 


More information about the gradsusr mailing list