<div dir="ltr"><div>Thanks Jack much appreciated for your help...</div><div><br></div><div>I thought when u plot wind u need to make it 2D thats is why i used dim reduction.</div><div><br></div><div>Now the code works upto to plot functions but generates this error</div><div><br></div><div>fatal:Number of subscripts do not match number of dimensions of variable,(1) Subscripts used, (3) Subscripts expected<br>fatal:[&quot;Execute.c&quot;:8578]:Execute: Error occurred at or near line 126 in file 83_winds.</div><div><br></div><div>I thought this error is because of the dimension size of the U and V wind which needs to be 2D instead of 3D as it is now, anyway I would appreciate your help to identify where the problem is. Attached is code...</div><div><br></div><div>Regards</div><div><br></div><div>Afwande</div></div>