<div dir="ltr"><div>Hi, <br></div><div>I'm trying to plot the Walker cell and I m using  the gsn_csm_pres_hgt_streamline function. <br></div><div>I read the previous posts about "errors" in plotting the streamlines and I scaled the w but I still get a weird result - please see attached. <br></div><div>My problem is the W doesn't seem right and the direction of the streamlines is not what it should be. <br></div><div>Below is my code - could you please point of what you think I'm doing wrong on this one ? ( the plot is from a two plots version of the script but the script below is the same).  <br></div><div>Thanks. <br></div><div><br></div><div>begin<br>system("clear")<br>exp_name = (/"BTAL","BTALnEU","BTALnNA"/)<br>ens_nr = (/"1","2","3","4","5","6","7","8"/)<br><br>fw    = addfile("jjas_W__5-40N_30lev_BTAL.nc","r")<br>fu    = addfile("jjas_U__5-40N_30lev_BTAL.nc","r")<br>w = fw->w</div><div> u = fu->w<br><br>printVarSummary(w)<br>wavg1= dim_avg_n_Wrap(dim_avg_n(w,0),0)<br>uavg1= dim_avg_n_Wrap(dim_avg_n(u,0),0)<br>scale = abs(uavg1)/abs(wavg1_b)<br>wavg1 = scale*wavg1_b  ;<br></div><div><br> </div><div> wks=gsn_open_wks("x11","w_u_vertical_profile_"+lat1+"N")<br> plot = new(1,graphic)<br> res=True<br> res@gsnDraw  = False                          ; don't draw<br> res@gsnFrame = False<br> res@cnLinesOn=False<br> res@cnFillOn          = True                ; turn on color fill<br> res@cnFillPalette     = "BlWhRe" ; choose color map<br>; res@cnLineLabelsOn    = False               ; turn off line labels<br>; res@lbLabelStride     = 2                   ; label every other box<br> res@lbLabelBarOn         = False<br></div><div>plot(0)=gsn_csm_pres_hgt_streamline(wks,uavg1(0:5,{lat1},:),uavg1(0:5,{lat1},:),wavg1(0:5,{lat1},:),res)<br> gsn_panel(wks,plot,(/1,1/),False)<br></div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><span style="color:rgb(11,83,148)"><span style="background-color:rgb(255,255,255)"><span style="font-family:georgia,serif"><span><b><span style="color:rgb(7,55,99)">Ioana Colfescu </span><br></b></span></span></span></span></div><div><span style="color:rgb(7,55,99)"><i><span style="background-color:rgb(255,255,255)"><span style="font-family:georgia,serif"><span>Research Scientist <br></span></span></span></i></span></div><div><span style="color:rgb(153,153,153)"><i><span style="background-color:rgb(255,255,255)"><span style="font-family:georgia,serif"><span><span style="color:rgb(11,83,148)"><span style="color:rgb(7,55,99)">National Centre for Atmospheric Science</span> </span><br></span></span></span></i></span></div><div><span style="color:rgb(153,153,153)"><i><span style="background-color:rgb(255,255,255)"><span style="font-family:georgia,serif"><span><span>Address: <span style="font-size:12.8px">National Centre for Atmospheric Science, </span><span style="font-size:12.8px">Fairbairn House, 71-75 Clarendon Road, Leeds, LS2 9PH<a href="https://maps.google.com/?q=71-75+Clarendon+Road,+Leeds,+LS2+9PH&entry=gmail&source=g" target="_blank"><br></a></span></span></span></span></span></i></span></div><div><span style="color:rgb(11,83,148)"><span style="background-color:rgb(243,243,243)"><span><span style="font-family:georgia,serif"><span><span style="color:rgb(153,153,153)"><i><span style="background-color:rgb(255,255,255)">University of Leeds </span></i></span><br></span></span></span></span></span></div><div dir="ltr"><span style="color:rgb(159,197,232)"><span><span style="font-family:georgia,serif"><span><br></span></span></span></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>