[gradsusr] wind vectors
Davide Sacchetti
davide.sacchetti at arpal.gov.it
Mon Aug 17 08:29:20 EDT 2015
giacomo tricarico <mino-98 at hotmail.it> , 8/17/2015 12:53 PM:
Thank you all very much! There are few other thing I would like to understand:
1)So I could skip either the U Component or the V component, it would be the same, wouldn't it?
E.g. 'd skip(UGRD10m,5,5);VGRD10m' is the same as 'd skip(VGRD10m,5,5);UGRD10m'?
it is the same
2)What is exactly the skip function?
in the given ex. it sets to undef 4 values in X (and 4 values in Y) every 5
3)To use 'gxout shaded' I should use the same code or should I use a squareroot to extract the scalar value?
'shaded' does not work with skip (any value is surrounded by undef) ...
if you want to plot 'scalar' wind use mag(UGRD10m,VGRD10m)
bye bye
Davide
Thanks!
> From: TAlHosary at ncms.ae
> To: gradsusr at gradsusr.org
> Date: Mon, 17 Aug 2015 08:57:08 +0000
> Subject: Re: [gradsusr] wind vectors
>
> Hi,
> If the components of wind are u & v
> You can use the following commands and 6 is the distance between grid and you can change as you like
>
> 'set gxout vector'
> 'd skip(u,6,6);v'
>
> or
> 'set gxout barb'
> 'd skip(u,6,6);v'
>
> Regards,
> alhosari
>
> -----Original Message-----
> From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Chorley Weather
> Sent: 17/ربيع الأول/2015 12:21 م
> To: GrADS Users Forum
> Subject: Re: [gradsusr] wind vectors
>
> On 15-08-2015 03:39, giacomo tricarico wrote:
> > Hi, how could I plot 10m wind vectors on grads 2.0.x?
> > I only have U and V components, respectively UGRD10m and VGRD10m.
> >
> > I've tried this:
> > 'd UGRD10m;skip(VGRD10m,5)'
> > but I don't know if it's correct.
> >
> > Thanks in advance,
> > Giacomo
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> Hi Giacomo,
>
> Try this bit of script and just adjust the value (2,2) to make it fit on your map projection. Hope this helps.
> 'set gxout vector'
> 'set ccolor 1'
> 'd skip(ugrd10m,2,2);vgrd10m'
> 'set cint 5'
> 'set clab masked'
>
> Regards,
> Stuart.
> --
> Chief Forecaster & Owner
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150817/1c0fdc55/attachment-0001.html
More information about the gradsusr
mailing list