[gradsusr] Wind Barb Minimum

Daniel Nairn dannairn at gmail.com
Tue Oct 28 13:30:54 EDT 2014


Ok, that's great. Thanks Jeff.

On 28 October 2014 16:22, Jeff Duda <jeffduda319 at gmail.com> wrote:

> Daniel,
> There's another way to do it. Use the maskout function.
>
> 'set gxout barb'
> 'set lev 850'
> 'define u = maskout(ugrdprs,1.94*mag(ugrdprs,vgrdprs)-20)'
> 'define v = maskout(vgrdprs,1.94*mag(ugrdprs,vgrdprs)-20)'
> 'd skip(u*1.94,14,14);v*1.94'
>
> Jeff Duda
>
> On Tue, Oct 28, 2014 at 8:16 AM, Daniel Nairn <dannairn at gmail.com> wrote:
>
>> Perfect, thanks Stephen.
>>
>> On 28 October 2014 12:48, Stephen McMillan <smcmillan at planalytics.com>
>> wrote:
>>
>>> Daniel,
>>> You need to include the wind magnitude in your line, for example:
>>>
>>> 'd skip(u10*1.94,14,14);v10*1.94;1.94*mag(u10,v10)
>>>
>>> Stephen McMillan
>>>
>>> On Tue, Oct 28, 2014 at 4:32 AM, Daniel Nairn <dannairn at gmail.com>
>>> wrote:
>>>
>>>> Hello
>>>>
>>>> I'm successfully running a Grads script to display 850mb winds using
>>>> wind barbs:-
>>>>
>>>> for example
>>>>
>>>> 'define u10 = const(ugrdprs(lev=850),0,-u)'
>>>> 'define v10 = const(vgrdprs(lev=850),0,-u)'
>>>> 'set gxout barb'
>>>> 'set cmin 20'
>>>> 'd skip(u10*1.94,14,14);v10*1.94'
>>>>
>>>> What I would like to do is use something like 'set cmin 20' to display
>>>> only winds above 20 kts. However, setting this in the script file doesn't
>>>> appear to work (I still get barbs with values less than 20kts appearing).
>>>> Should I be using something else?
>>>>
>>>> Thanks
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://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
>
> _______________________________________________
> 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/20141028/bf182f54/attachment.html 


More information about the gradsusr mailing list