[gradsusr] Plot wind vector and magnitude

Endalkachew Bekele - NOAA Affiliate endalkachew.bekele at noaa.gov
Tue Feb 5 11:17:01 EST 2013


hi Bedasa,

How are you doing?

I hope all is well in Arba Minch.

I saw your script, and I have attempted to edit it a little bit:

reinit'
'set display color white'
'c'
'set grid off'
'set grads off'
'sdfopen v850.nc'
'sdfopen u850.nc'
'set mpdset hires'
'set lat -40 40'
'set lon -180 180'
i=1
while(i<=3)
'set t 'i
'set gxout shaded'
'd mag(v850.1,u850.2)'
'set gxout vector'
'd v850.1;u850.2'
pull pause
'c'
i=i+1
end while

This will pause you display until you hit the enter key. Then it will take
you the next time step. agin it will pause, and when you hit the enter key
it will take you to the last (third) time step.

Let me know if you are nor able to run it.

Blessings,
Endalkachew





On Tue, Feb 5, 2013 at 8:59 AM, Bedassa Regassa <beregassa at gmail.com> wrote:

>
>
> Hello, I try to write the following script to plot wind vector and
> magnitude. But, I can't see the wind magnitude. I like a comment on my
> script here is attached
>  'reinit'
> 'set display color white'
> 'c'
> 'set grid off'
> 'set grads off'
> 'sdfopen v850.nc'
> 'sdfopen u850.nc'
> 'set mpdset hires'
> 'set lat -40 40'
> 'set lon -180 180'
> 'set t 1 3'
> 'set gxout shaded'
> 'd mag(v850.1,u850.2)'
> 'set gxout vector'
> 'd v850.1;u850.2'
>
> Thank you.
>
> Sincerely,
>
> Bedassa
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Center for Weather and Climate Prediction / African Desk
5830 University Research Court, Rm 3149
College Park, Maryland 20740
Tel: (301) 683-3459
e-mail: endalkachew.bekele at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130205/fd9fff5f/attachment-0003.html 


More information about the gradsusr mailing list