<div dir="ltr">Hi:<div><br></div><div>Just to check, from which data set are you trying to overlay? Is it WRF or something else?</div><div><br></div><div>The attached program works fine.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 3, 2017 at 7:05 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br>I wish to overlay vector (u_plane, v_plane) over magnitude(spd i.e wind speed). so tried it another way as per your suggestion like<br><br> u_plane!0 = "lat";<br> u_plane!1 = "lon"<br> u_new&lat= lat<br> u_new&lon= lon<br><br> v_plane!0 = "lat";<br> v_plane!1 = "lon"<br> v_new&lat= lat<br> v_new&lon= lon<br><br> spd_plane!0 = "lat";<br> spd_plane!1 = "lon"<br> spd_new&lat= lat<br> spd_new&lon= lon<br><br></div>still facing same issue<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 3, 2017 at 10:13 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello Barry,<br></div>Thanks for quick response. I am trying the way you suggested. still can you please share a program. <br></div><div class="m_5072524809623577601HOEnZb"><div class="m_5072524809623577601h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 3, 2017 at 10:09 AM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Swati:<div><br></div><div>Please do the following: i) make sure you have copied the variables to all secondary variables you wish to overlay, and ii) add those other lines of code as well. I believe the other lines are what will get rid of the error.</div><div><br></div><div>If this doesn't work, I can send you a program that does work and perhaps you can adapt it to your needs.</div><span class="m_5072524809623577601m_-3428296749864971411HOEnZb"><font color="#888888"><div><br></div><div>Barry</div></font></span></div><div class="m_5072524809623577601m_-3428296749864971411HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 3, 2017 at 6:35 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello Barry,<br></div>Thank you for suggestion. I tried it using function <span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109gmail-m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109gmail-m_-6404343466442245866gmail-Apple-converted-space"> </span>copy_VarCoords still it shows warning below<span><br><br>(0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.<br>(0) A valid latitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'<br>(0) check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn't contain one at all.<br>(0) A valid longitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0) 'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'<br><br></span></span></div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109gmail-m_-6404343466442245866gmail-s1">I have attached modified script. Please go through it.<br></span><div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109gmail-m_-6404343466442245866gmail-s1"><br></span></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 2, 2017 at 6:19 PM, Barry Lynn <span dir="ltr"><<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Swati:<div><br></div><div>The error you are getting occurs when the variable you are trying to map has no coordinate information.</div><div><br></div><div>There are a few ways to provide this information. The first is just to copy it from one variable (that has the coordinates) to another,</div><div><br></div><div>For example:</div><div><br></div><div>
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>copy_VarCoords(u,u_ave) <span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>; copy coord vars to speed</span></p>
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>copy_VarCoords(v,v_ave) <span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>; copy coord vars to speed</span></p>
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>copy_VarCoords(z,z_ave) <span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>; copy coord vars to height</span></p>
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>copy_VarCoords(t,t_ave) <span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>; copy coord vars to t</span></p>
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>copy_VarCoords(rh,rh_ave) <span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>; copy coord vars to rh</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><br></span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1">another way is like this:</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><br></span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>u_new!0 = "lat"</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>u_new!1 = "lon"</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>u_new&lat= lat</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1">
</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-Apple-converted-space"> </span>u_new&lon= lon</span><br></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1">I suggest to try either approach and see if this fixes your problem.</span></p><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109HOEnZb"><font color="#888888"><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1">Barry</p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail-s1"><br></span></p></font></span></div></div><div class="gmail_extra"><div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109h5"><br><div class="gmail_quote">On Thu, Nov 2, 2017 at 2:10 PM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Mary,<br><br>I wish to plot winds at 850 hpa (both magnitude as well as vector). I wrote the script using combination of gsn and wrf function (so that to avoid problem while doing panel plot). I have mentioned lat/ lon as sfxarray/sfyarray, still facing below warning <br><span><br>(0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.<br>(0) A valid latitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'<br>(0) check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn't contain one at all.<br>(0) A valid longitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0) 'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'<br><br></span></div>Also unable to see colour shade in plot (scale is there).I have attached script as well as plot. Please let me know necessary steps to do to avoid the issue. Thanks in advance.<br><div><br></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 13, 2017 at 9:41 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you Mary<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 9:33 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">BTW, I have an error in the comments of this line:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"> </span>pnl_lft = 0.08<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"> </span></span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s2">; Moves plots to left a little, 0 is default<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"> </span></span></p></span><div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s2"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space">It should be:</span></span></div><div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s2"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"> </span>pnl_lft = 0.08<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"> </span></span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s2">; Moves plots to RIGHT a little, 0 is default<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"> </span></span></p><div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s2"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space">It's the pnl_rgt variable, which sets the right side limit for the panels (default =1) which moves plots to the left, if set to < 1.</span></span></div><div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-s2"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834gmail-m_424495972751727845gmail-Apple-converted-space"><br></span></span></div></span></span></div></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 8:38 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">By removing the tickmarks and the labels for the middle plots, this has made them even smaller. This means that the scale factor now won't be as large for resizing the plots, because it thinks the plots are smaller. This, in turn, means the scale factor applied to the left plots is not large enough.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think you simply need to increase the gsnPanelLeft value a little to give those left plots a little more room. In the script I sent you, it's this value you want to increase:</div><div class="gmail_default" style="font-size:small">
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-Apple-converted-space"> </span>pnl_lft = 0.08<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-Apple-converted-space"> </span></span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-s2">; Moves plots to left a little, 0 is default<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-Apple-converted-space"> </span></span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-p1">I think it was set to 0.04 before. I made it 0.08 and those left titles started showing up again, after turning off the other tickmarks.</p><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834HOEnZb"><font color="#888888"><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-p1">--Mary</p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-p1"> </p></font></span></div><div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 4:51 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Dear Mary,<br><br></div>I used your dummy script. It helped a lot. <br>When I made few changes like.. off the common axis labels/tick marks, it caused disappearance of Y axis string.<br>Another issue is.....displaying plot in PDF, whether landscape or portrait mode gives same output. Please find the attachment. Can you please suggest me about the same so that I could make plot (in PDF format) which should look similarly as it looks in PNG format. Thank you.</div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 11, 2017 at 9:39 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks a lot Mary. I will surely go through it.<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 10:01 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">The issue is that your left plots have a title on the Y axis, while your middle and right plots do not. gsn_panel assumes all plots are the same size, and uses the first plot in the list to determine the scale factor for all the rest. Since the left plots are different in size, the scale factor applied to these plots ends up being different than the scale factor applied to the right plots.</div><div style="font-size:small"><br></div><div style="font-size:small">The key here is to set the special gsnPanelScalePlotIndex to the index of one of the middle plots, so it uses one of these for the scaling factor. Your middle plots are indexes 1, 3, or 5, so:</div><div style="font-size:small"><br></div><div style="font-size:small">pres@gsnPanelScalePlotIndex = 1 ; base resizing on plot1 (middle plot)</div><div style="font-size:small"><br></div><div style="font-size:small">I've added dummy data to your gsn_function_try.ncl script, and cleaned it up for you. I had to leave a little bit of a margin on the left side of the panels, so the Y axis strings didn't get cut off.</div><div style="font-size:small"><br></div><div style="font-size:small">If you don't want all that space between the X axis of each plot, you can set the gsnPanelTop / gsnPanelBottom resources as desired to squish them together. I also set the gsnPanelYWhiteSpacePercent to 0 to force them closer.</div><div style="font-size:small"><br></div><div style="font-size:small">See attached.</div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058HOEnZb"><font color="#888888"><div style="font-size:small"><br></div><div style="font-size:small">-Mary</div><div style="font-size:small"><br></div></font></span></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 4:49 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Mary,<br></div><div>I followed your dummy script and plotted my dataset. It worked, now facing the issue of size of the plot (third vertical column). Please find the attachment and tell me suggestions for the same. Thanks a lot for your dummy script.<br></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 12:45 PM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I think I can change the position of title itself....it resolves the issue....I will try to write the script that way<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 11:53 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">vertical scale for WUCM and NOUCM is common (single)<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 11:51 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>I am sorry raw idea about plot is correct....but mistaken about giving title....please neglect title<br></div>it should be as<br><br><div><br></div><div> title ---> 13aug 14aug 15aug <br><br> WUCM plot0 plot1 plot2 vertical scale for WUCM and NOUCM vertical scale for WUCM-NOUCM<br></div><div> NOUCM plot3 plot4 plot5<br></div> (WUCM - NOUCM) plot6 plot7 plot8<br><br><br></div>WUCM, NOUCM and (WUCM - NOUCM) is left axis string....title and string I can provide....about scale doubtful as well as arranging plots from top to bottom<br><div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439gmail-yj6qo m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439gmail-ajU"><div id="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439gmail-:q9" class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439gmail-ajR"><img class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><div><br><br></div></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 11:44 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br>I understood gsn_panel(wks,(/plot0,plot1,pl<wbr>ot2,plot3,plot4,plot5/),(/2,3/<wbr>),pres) will give 3 plot in one row and another 3 plot in second row as follows<span><br><br>plot0 plot1 plot2<div>plot3 plot4 plot5<br><br></div></span><div>but below resources <br><span><br>pres@gsnPanelLeft = 0.<br>pres@gsnPanelRight = 2./3<br><br></span> tells arrange plot as<br><br></div><div>plot0 plot1<br></div><div>plot2 plot3<br></div><div>plot4 plot4<br><br></div><div>so using which resource should I replace it<br></div><div>Also tell me about scale, that I want in extreme right<br><br></div><div>let me give you raw idea <br><br></div><div>WUCM = 3 plot (1st row =plot0, plot1, plot2)<br>NOWUCM = 3 plot (1st row =plot3, plot4, plot5) <br>WUCM-NOUCM = 3 plot (1st row =plot6, plot7, plot8)<br><br><br></div><div>title ---> WUCM NOUCM (WUCM-NOUCM)<br></div><div><br></div><div> plot0 plot1 plot2 vertical scale for WUCM and NOUCM vertical scale for WUCM-NOUCM<br></div><div> plot3 plot4 plot5<br></div><div> plot6 plot7 plot8<br> </div><div><br><br><br></div><div><br></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 11:29 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">but as We have mentioned that put first 6 plot in left side ( pres@gsnPanelLeft = 0.<br> pres@gsnPanelRight = 2./3)....so even if we write <br><div>gsn_panel(wks,(/plot0,plot1,pl<wbr>ot2,plot3,plot4,plot5/),(/2,3/<wbr>),pres)<br></div><div> as per my knowledge, it will arrange as follows<br><br></div><span><div>plot0 plot1<br></div><div>plot2 plot3<br></div><div>plot4 plot5<br></div></span></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 9, 2017 at 11:41 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">There's no resource that changes the ordering of the plots.</div><div style="font-size:small"><br></div><div style="font-size:small">To change the ordering of the plots, you simply need to rearrange them in the call to gsn_panel. </div><div style="font-size:small"><br></div><div style="font-size:small">In order words, which ever plot you want in the upper left corner is the one that should be first listed in the call to gsn_panel:</div><div style="font-size:small"><br></div><div>gsn_panel(wks,(/plot0,plot1,pl<wbr>ot2,plot3,plot4,plot5/),(/2,3/<wbr>),pres)<br></div><div><br></div><div>Right now, it's ordered:</div><div><br></div><div> plot0 plot1 plot2</div><div> plot3 plot4 plot5</div><div><br></div><div>If you want:</div><div><br></div><div><div> plot3 plot4 plot5</div><div><div> plot0 plot1 plot2</div></div><div><br></div></div><div><br></div><div>then use:</div><div><br></div><div>gsn_panel(wks,(/plot3,plot4,pl<wbr>ot5,plot0,plot1,plot2/),(/2,3/<wbr>),pres)<span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650HOEnZb"><font color="#888888"><br></font></span></div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div><div>--Mary</div><div><br></div></font></span></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 9, 2017 at 7:10 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">above attached plot is just to show the scale (rightmost) and left side titles that I want. I know the resource for left side is tiYAxisString / tiXAxisString. but unable to make plotting from top to bottom<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 9, 2017 at 6:25 PM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Mary,<br></div><br>The resources that you set in your demo script like left and right space for panel (first panel of six plot vertically and another panel of three plot vertically) as below<br><br><br>;---Define space for leftmost column of plots, and their labelbar width<br><div><div><div> pres@gsnPanelLeft = 0.<br> pres@gsnPanelRight = 2./3<br> pres@pmLabelBarWidthF = 0.6<br> gsn_panel(wks,(/plot1,plot2,pl<wbr>ot3,plot4,plot5,plot6/),(/3,2/<wbr>),pres)<br><br>;---Define space for righmost column of plots, and their labelbar width<br> delta = 0.028<br> pres@gsnPanelLeft = pres@gsnPanelRight - delta ; Left plots don't stretch all the way to<br> <wbr> ; 2/3, so move right plots a little to left.<br> pres@gsnPanelRight = 1.0 - delta<br> pres@pmLabelBarWidthF = pres@pmLabelBarWidthF * 0.5 ; half the width of other labelbar<br> gsn_panel(wks,(/plot7,plot8,pl<wbr>ot9/),(/3,1/),pres)<br><br><br><br></div><div>If I wish to do plots from top to bottom instead of left to right, along with both scales vertical (which should have position to the extreme right).<br></div><div>I just did change in your script as follow<br><br><br></div><br>;---Set some panel resources common to both sets of plots<br> pres = True<br> pres@txFontHeightF = .010<br> pres@txString <wbr> = " WUCM <wbr> NOUCM <wbr> WUCM - NOUCM"<br> pres@gsnPanelLabelBar = True<br> pres@gsnMaximize = True<br> pres@pmLabelBarHeightF = 0.08<br> pres@lbLabelFontHeightF = 0.01<br> pres@gsnFrame = False ; Needed for paneling two sets of plots on same frame.<br> pres@gsnPanelYWhiteSpacePercen<wbr>t = 4<br> pres@gsnPanelXWhiteSpacePercen<wbr>t = 4<br> pres@gsnPanelBoxes = True ; debugging tool<br><br>;---Define space for leftmost column of plots, and their labelbar width<br> pres@gsnPanelTop = 0.<br> pres@gsnPanelBottom = 2./3<br> pres@pmLabelBarWidthF = 0.6<br> gsn_panel(wks,(/plot0,plot1,pl<wbr>ot2,plot3,plot4,plot5/),(/2,3/<wbr>),pres)<br><br>;---Define space for righmost column of plots, and their labelbar width<br> delta = 0.005<br> pres@gsnPanelTop = pres@gsnPanelBottom - delta ; Left plots don't stretch all the way to<br> <wbr> ; 2/3, so move right plots a little to left.<br> pres@gsnPanelBottom = 1.0 - delta<br> pres@pmLabelBarWidthF = pres@pmLabelBarWidthF * 0.5 ; half the width of other labelbar<br> gsn_panel(wks,(/plot6,plot7,pl<wbr>ot8/),(/3,1/),pres)<br><br> txres = True<br> txres@txFontHeightF = 0.02<br> gsn_text_ndc(wks,"Temperature at 2m (degC) over Patna city",0.5,0.92,txres)<br><br></div><div>gives me error as<br><br>(0) Warning: gsn_panel: attribute gsnPanelTop must be > 0.0 and <= 1.0<br>(0) Defaulting to 1.<br>(0) Warning: gsn_panel: font height (0.01) of main string is too large to fit in space provided. Either decrease font size or set gsnPanelTop.<br>(0) Warning: gsn_panel: font height (0.02) of main string is too large to fit in space provided. Either decrease font size or set gsnPanelTop.<br>(0) Error: gsn_panel: attribute gsnPanelTop (0.661667) must be greater<br>(0) than gsnPanelBottom (0.995).<br><br></div><div>Also Please tell me, how should I fix scale vertically that to extreme right. Actually I want plot from top to bottom because I want to provide resources at left side (for example purpose attached a plot).<br><br></div><div>I have model runs two types ....named WUCM and NOUCM<br></div><div>I want it like......first row contain 3 plot (WUCM) <br></div><div> second row contain 3 plot (NOWUCM)<br></div><div>above two rows have same scale<br></div><div> third row contain 3 plot of above difference (WUCM - NOWUCM)<br></div><div>this one have different scale (as it is difference between WUCM - WUCM) <br><br></div><div>I hope, I tried better to convey things I want.<br></div><div><br></div><div><br><br><br><br><br><br></div></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 9, 2017 at 11:30 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks a lot Mary for giving detail info along with demo script.<br></div>I have mentioned special lat2d/lon2d attributes in gsn script (named convention in my a script is lat/lon). Anyway I will go through the script and link. Thanks again.<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 7, 2017 at 12:46 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">Hello,</div><div style="font-size:small"><br></div><div style="font-size:small">Thanks for providing clean scripts and explanations.</div><div style="font-size:small"><br></div><div style="font-size:small">1. This warning is because when you use gsn_csm_contour_map to plot curvilinear data, you must associate the lat/lon arrays with the data being plotted. Otherwise, it does't know where on the map the data is supposed to go.</div><div style="font-size:small"><br></div><div style="font-size:small">If you looked at the wrf_gsn_1.ncl and wrf_gsn_2.ncl scripts, you'll see they are both using special lat2d/lon2d attributes to accomplish this:</div><div style="font-size:small"><br></div><div style="font-size:small"><div> hgt = wrf_user_getvar(a,"HGT",it) ; Terrain elevation</div><div> hgt@lat2d = wrf_user_getvar(a,"XLAT",it) ; latitude/longitude</div><div> hgt@lon2d = wrf_user_getvar(a,"XLONG",it) ; required for plotting</div><div><br></div><div>However, you would have to do this for every variable you plot.</div><div><br></div><div>Instead, you can set these two resources before any calls to gsn_csm_contour_map:</div><div><br></div><div><div>res@sfXArray = lon</div><div>res@sfYArray = lat</div></div><div><br></div><div><br></div></div><div style="font-size:small;display:inline">2. </div>I think the issue with cnConstFEnableFill<div style="font-size:small;display:inline"> is that you are setting that resource *after* plots #0-5 have been created. You need to make sure this line:</div><div><div style="display:inline"><br></div></div><div> res@cnConstFEnableFill= True ; allow constant values (1=sig) to fill </div><div><div style="display:inline"><br></div></div><div><div style="font-size:small">is *before* all of your gsn_csm_contour_map calls.</div><div style="font-size:small"><br></div><div style="font-size:small">3. In order to panel two sets of plots on the same page, you first need to set:</div><div style="font-size:small"><br></div><div style="font-size:small">pnlres@gsnFrame = False</div><div style="font-size:small"><br></div><div style="font-size:small">so that the frame doesn't get advanced after each one. You will then need to advance the frame yourself when done:</div><div style="font-size:small"><br></div><div style="font-size:small">frame(wks)</div><div style="font-size:small"><br></div><div style="font-size:small">The other issue with paneling two sets of plots, is that you need to make sure they don't get drawn on top of each other. There are many examples on our "<a href="http://www.ncl.ucar.edu/Applications/panel.shtml" target="_blank">Panels</a>" example page that show how to do various configurations of plots and labelbars. Here are some that might help:</div><div style="font-size:small"><br></div><div><a href="http://www.ncl.ucar.edu/Applications/panel.shtml#ex12" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/panel.shtml#ex12</a></div><div><a href="http://www.ncl.ucar.edu/Applications/panel.shtml#ex22" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/panel.shtml#ex22</a><br></div><div><br></div><div>The important thing is that you need to set gsnPanelRight / gsnPanelLeft to control which part of the frame each set of plots is drawn in. Since the first set is 3 x 2 plots and the second set is 3 x 1 plots, this means the 3 x 2 plots should take up 2/3 of the width, and the 3 x 1 plots will take up 1/3 of the width.</div><div><br></div><div>See attached script which uses dummy data.</div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686HOEnZb"><font color="#888888"><div><br></div><div>--Mary</div><div><br></div><div><br></div><br></font></span></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 6, 2017 at 2:04 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hello Mary,<br><br></div>As per your suggestion I went through the links provided by you. I will explain one by one the issues I came across while doing plot using inbuilt wrf function as well as gsn function separately. I have attached scripts along with plot. the kind of titles (as well as left and side string), I want is reflected in gsn plot which am unable to do in wrf plot. I have given suitable names to scripts as well as plot for your convenience. Hope you wont get confuse.<br><br></div>In first script (1_plot_using_wrf_function) <br>1. after mentioning re@cnConstFEnableFill = True, getting warning as<br>warning:ContourPlotInitialize: scalar field is constant; no contour lines will appear; use cnConstFEnableFill to enable fill<br><br></div><div>actually using wrf in built function gives nice plot but unable to make self explanatory (giving strings and titles) plot so thought of ploting using gsn function<br></div><div><br></div>In second script (2_plot_using_gsn_function), issues are<br><br></div><div>1. even after mentioning lat/lon getting warning as follow<br></div><div>(0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.<br></div>(0) A valid latitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'<br>(0) check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn't contain one at all.<br>(0) A valid longitude coordinate array should have a 'units' attribute equal to one of the following values: <br>(0) 'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'<br><br></div>2. after mentioning re@cnConstFEnableFill = True, getting warning as<br>warning:ContourPlotInitialize: scalar field is constant; no contour lines will appear; use cnConstFEnableFill to enable fill<br><br></div>3. I want all 9 plots on single panel with scales vertical, instead I am getting it on two different pages<br><br></div>I think, I have to manage or add more resources in pres1/pres2 such as (<em><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/vp.shtml#vpXF" target="_blank">vpXF</a></em>
and <em><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/vp.shtml#vpYF" target="_blank">vpYF</a></em>) (<em><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/vp.shtml#vpHeightF" target="_blank">vpHeightF</a></em>
and <em><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/vp.shtml#vpWidthF" target="_blank">vpWidthF</a></em>)
, so that I may get 9 plots on single panel. If you know any link which resembles like the plot i want,Please let me know. side by I will again go through links given by you.<br><div><div><div><br><div><div><div><br><br><br><br></div></div></div></div></div></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 23, 2017 at 9:30 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you so much Mary....surely I will go through the link provided by you....If come across any problem, will let you know</div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 23, 2017 at 12:36 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">Please see this page:</div><div style="font-size:small"><br></div><div><a href="http://www.ncl.ucar.edu/Applications/wrfgsn.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/wrfgsn.shtml</a><br></div><div><br></div><div>and look at the first example (wrf_gsn_1.ncl and wrf_nogsn_1.ncl) and the second example (wrf_gsn_2.ncl).</div><div><br></div><div>These show how to use gsn to plot data and it compares the plot with using WRF functions.</div><div><br></div><div>In the wrf_gsn_1.ncl plot, you can see that the gsnLeft/RightString resources are being set automatically, because the data has a description and units attribute.</div><div><br></div><div>Try this script as a start on your own data, and also look at wrf_gsn_2.ncl to see how to further customize your plot.</div><div><br></div><div>If you are unable to get the plot to look as nice as you want, email <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> again with your new script and what you want it to look like, and we can help further.</div><div><br></div><div>Good luck,</div><div><br></div><div>--Mary</div><div><br></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 3:21 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you Mary... its wrf file, I just renamed it for my convenience. Actually I am able to plot it using wrf function but unable to put left/right/centre strings, as those are related to gsn functions. so to overcome the difficulty of left/right/centre, I thought to make a plot using gsn functions injstead of wrf functions. but inbuilt wrf functions gives nicer plots than gsn one. <br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 3:48 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">It's hard for somebody to simply look at a script to see if it's correct or not. I do see some errors, but even if I correct the errors, I can't be sure it's 100% correct without having access to your data.</div><div style="font-size:small"><br></div><div style="font-size:small">The problems are:</div><div style="font-size:small"><br></div><div style="font-size:small">[1]</div><div style="font-size:small"><br></div><div style="font-size:small">Your data file is called "<a href="http://patna_data.nc" target="_blank">patna_data.nc</a>". You are using wrf_xxxx functions to plot this data. Since WRF-ARW output files are normally called something like "wrfout_d02_2005-08-29_00:00:0<wbr>0", I can't be sure that you are actually plotting WRF-ARW data. You can only use wrf_xxx plotting functions on WRF-ARW data.</div><div style="font-size:small"><br></div><div style="font-size:small">[2] </div><div style="font-size:small"><br></div><div style="font-size:small">You have:</div><div style="font-size:small"><br></div><div style="font-size:small"><div> t = a->T2(0:7,:,:)</div><div> ter = dim_avg_n( ter1, 0 )</div><div> ter = ter - 273</div><div><br></div><div>I don't know what your objective, so I don't know if the above is correct. However, you are calling "dim_avg_n" on "ter1" which doesn't exist. Did you mean:</div><div><br></div><div><div> ter = dim_avg_n( t, 0 )</div><div><br></div><div>The above will take an average of the first 8 times teps of your data, assuming that the leftmost dimension of T2 represents time.</div><div><br></div><div>Further, you should use the _Wrap version of this function, so metadata is maintained:</div><div><br></div><div><div> ter = dim_avg_n_Wrap( t, 0 )</div></div><div><br></div><div>[3]</div><div><br></div><div>You have:</div><div><br></div><div>ter = ter - 273</div><div><br></div><div>Since you are changing the units, you should update the "units" attribute to something like this:</div><div><br></div><div>ter@units = "degC"</div><div><br></div><div><br></div><div>The rest of the script looks okay, but again, the wrf_contour and wrf_map_overlays procedures will only work if you are actually plotting WRF-ARW data.</div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902HOEnZb"><font color="#888888"><div><br></div><div>--Mary</div><div><br></div><div><br></div></font></span></div></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 10:02 PM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you. I will try with your script. yesterday I tried it with below script. Please have a look and let me know, whether it is correct or not.<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 8, 2017 at 12:54 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">If I understand you correctly, then you need to reshape your X array so that it is NTIM x 8 x NLAT x NLON, and then you can average across the second dimension from the left.</div><div style="font-size:small"><br></div><div style="font-size:small">I've attached a modified version of your script, which is UNTESTED. You may need to modify it to do the right thing with regard to copying over the required metadata. I did this a little with copy_VarAtts, and copy_coords.</div><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386HOEnZb"><font color="#888888"><div style="font-size:small"><br></div><div style="font-size:small">--Mary</div><div style="font-size:small"><br></div><div style="font-size:small"><br></div><div style="font-size:small"><br></div></font></span></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 3:42 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Hiii,<br></div>using ncrcat I have single file containing 24 time step (3hrly, 3 days). Now I want to plot temperature variable (average for each day, spatial, panel plot). I am unable to take out time step for 1st day (0:7) and then do average of it...then second day (8:15) ...likewise for third day (16:23). I wrote a script, in that it takes average over all time steps. what changes should I make so that I can get average over specific time step? attached herewith script.<br></div>summary of variable temperature is as follow. <br><div><div><div><div><br>Variable: X<br>Type: float<br>Total Size: 5658552 bytes<br> 1414638 values<br>Number of Dimensions: 3<br>Dimensions and sizes: [Time | 23] x [south_north | 201] x [west_east | 306]<br>Coordinates: <br>Number Of Attributes: 6<br> FieldType : 104<br> MemoryOrder : XY <br> description : TEMP at 2 M<br> units : K<br> stagger : <br> coordinates : XLONG XLAT XTIME<br><br><br></div></div></div></div></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 3:04 PM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you. I will try with it.<br></div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755HOEnZb"><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 6, 2017 at 8:39 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small">The error message is telling you that there's something wrong with argument 0 passed to wrf_contour. Argument 0 refers to the first argument in the list, which is "a(itime)" in this case.</div><div style="font-size:small"><br></div><div style="font-size:small">The issue is that when you use addfiles to open a series of files, you need to use square brackets, [], to access a single file, and not curved brackets, (). This is because addfiles returns a "List" object, and lists in NCL need to be access with square brackets.</div><div style="font-size:small"><br></div><div style="font-size:small">You have:</div><div style="font-size:small">
<p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-Apple-converted-space"> </span>contour = </span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s2">wrf_contour</span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1">(a(itime),wks,t,t_r<wbr>es)</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1">and this should be:</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1">
</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-Apple-converted-space"> </span>contour = </span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s2">wrf_contour</span><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1">(a[itime],wks,t,t_r<wbr>es)</span></p><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473HOEnZb"><font color="#888888"><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1">--Mary</span></p><p class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-p1"><span class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473m_-4200623425211831713gmail-s1"><br></span></p></font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473h5">On Mon, Sep 4, 2017 at 4:40 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866m_-7715664665485233524m_-4248485254465792864m_327735465235057834m_424495972751727845gmail-m_9012869695478998847m_429150819815797058m_-120961159297829572m_-7780457060651852220m_4250166405957520669m_8953962253442734191m_-1142660615395725439m_-1639192913545618628m_5219311032939637650m_-1958023046605664986m_7186257228102179036m_8777880559510488600m_9031665603593727686m_-239316822618392000m_-6002217626166606751m_-3412059553949195744m_-2339647836215231960m_-2864771192035228902m_3935797057477022920m_4671570295632187386m_5293424139597906667m_-2218844466176671755m_1990489812457881473h5"><div dir="ltr"><div>Hiiii<br><br></div>I want to do panel plotting using WRF output. I have total 8 files, each contains single time step (one day, 3 hrly datafiles so total 8 files). out of eight times I want to plot 6 time step (panel plot) for variable slp and temperature.<br><br>It shows below error.<br><br>fatal:Argument type mismatch on argument (0) of (wrf_contour) can not coerce<br>fatal:["Execute.c":8567]:Execu<wbr>te: Error occurred at or near line 44 in file temp.ncl<br>(0) Error: gsn_panel: all of the plots passed to gsn_panel appear to be invalid<br><br> Attached herewith script. <br><br>Thank you in advance. Any help will be appreciated<div><div><br><br></div></div></div>
<br></div></div><span>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span>-- <br><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316m_3292192357595855109m_-6404343466442245866gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_5072524809623577601m_-3428296749864971411m_7624101872739490316gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>