[gradsusr] ammended script

kombo kai kaikombo at yahoo.com
Wed Mar 13 00:39:15 EDT 2013


I have  write  the filed for the vorticity at each level using the NCEP u and v winds.
but when I plot these files at the lon and lat of my interest it leaves a verticle strip at lon 0
any one can help on I how to remove this strip?.
I have attached the image which I have plotted.
this is my script
'reinit'
'c'
lev.1=925
lev.2=850
lev.3=700
lev.4=600
lev.5=500
lev.6=400
lev.7=300
lev.8=250
lev.9=200
lev.10=150
lev.11=100
levcount=1
while(levcount<=11)
lev=lev.levcount
say lev
'sdfopen d:/vorticity/uwnd.mon.mean.nc'
'sdfopen d:/vorticity/vwnd.mon.mean.nc'
'set lon 0 360'
'set lat -90 90'
'set t 1 778'
'set lev 'lev
'set x 1 144'
'set y 1 73'
'vort=hcurl(uwnd,vwnd.2)'
'set sdfwrite d:/vorticity2/'lev'_vorty.nc'
'sdfwrite vort'
'reinit' 
levcount=levcount+1
endwhile
'disable sdfwrite'
'reinit'

sdfopen d:/vorticity2/850_vorty.nc
set lon -70 120
set  lat -45 45
set t 30
set gxout shaded
d vort
 plsease find the attaced image which I get
regards
kaikombo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130312/276156b0/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 850vort.png
Type: image/png
Size: 25567 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130312/276156b0/attachment-0003.png 


More information about the gradsusr mailing list