<div dir="ltr">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">That did it! Thank you very much, Adam! I just had to adjust </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">amres@amOrthogonalPosF a little to move it down some.</span>
<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 9, 2018 at 4:04 PM, Adam Phillips <span dir="ltr"><<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@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">Hi Joe,<div>I think you may be right about overlay using the native coordinate system of skewT_background. If you cannot get things to work with the overlay route, I recommend you shift to using gsn_add_annotation in lieu of overlay. There are numerous examples on the Annotations example page (<a href="http://www.ncl.ucar.edu/Applications/annotate.shtml" target="_blank">http://www.ncl.ucar.edu/Appli<wbr>cations/annotate.shtml</a>) on how to do this. I think you should be able to get away with the following:</div><div><br></div><div><span class=""><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">1) Draw the background using <a href="https://www.ncl.ucar.edu/Document/Functions/Skewt_func/skewT_BackGround.shtml" style="color:rgb(17,85,204)" target="_blank">skewT_BackGround</a>.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">2) Draw the hodograph using <a href="https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_xy.shtml" style="color:rgb(17,85,204)" target="_blank">gsn_csm_xy</a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> - making sure to set gsnDraw and gsnFrame to False</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> - set vpXF, vpYF, vpWidthF, and vpHeightF to only plot in the upper-lefthand side of the plot</div></span></span></div></span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">3) call gsn_add_annotation to overlay the hodograph on the skewT_background.</span><br></span></div><span class=""><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-size:12.8px">4) Draw the plot, like this: draw (skewt_bkgd)</span><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">5) Use the <a href="https://www.ncl.ucar.edu/Document/Functions/Skewt_func/skewT_PlotData.shtml" style="color:rgb(17,85,204)" target="_blank">skewT_PlotData</a> to overlay the skewT data.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">6) Advance the frame: frame(wks)</div><br></span></div><div>Code:</div><span class=""><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> skewt_bkgd = skewT_BackGround (wks, skewtOpts)</span><br></div></span><span class=""><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res = True</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res@vpXF = 0.07</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res@vpYF = 0.92</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res@vpWidthF = 0.15</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res@vpHeightF = 0.15</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res@gsnDraw = False</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_res@gsnFrame = False</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> hodo_plot = gsn_csm_xy(wks,U_unstag(0,:,lo<wbr>cY,locX),V_unstag(0,:,locY,loc<wbr>X),hodo_res)</div><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div></span><div><div> amres = True</div><div> amres@amParallelPosF = -0.5 ; -0.5 is the left edge of the plot.</div><div> amres@amOrthogonalPosF = -0.5 ; -0.5 is the top edge of the plot.</div><div> amres@amJust = "BottomLeft"</div></div><div> anno1 = gsn_add_annotation(skewt_bkg<wbr>d, hodo_plot, amres)</div><span class=""><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> draw (skewt_bkgd)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">; Draw the skew-T data</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> dataOpts = True</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> dataOpts@Parcel = 1</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> dataOpts@WspdWdir = False ; wind speed and dir [else: u,v]</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> skewT_data = skewT_PlotData(wks, skewt_bkgd, P_tot(:,locY,locX), \</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> TC(0,:,locY,locX), \</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> TD(0,:,locY,locX), \</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> z_tot(0,:,locY,locX), \</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> U_unstag(0,:,locY,locX), \</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> V_unstag(0,:,locY,locX), \</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> dataOpts)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> frame(wks)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">end</div><br></div></span><div>The only question I have with the above coding is whether the hodograph will be drawn in the correct order (=last). </div><div>Hope that helps!</div><div>Adam</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Apr 9, 2018 at 2:33 PM, Joe Grim <span dir="ltr"><<a href="mailto:grim@ucar.edu" target="_blank">grim@ucar.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>Could someone please help me with a conceptual skewT + hodograph plot? My hope is to create a skewT plot with a hodograph overlaid, much like what you see from other skewT plots, such as this one: <a href="http://weather.rap.ucar.edu/upper/dnr.gif" target="_blank">http://weather.rap.ucar.e<wbr>du/upper/dnr.gif</a>. I couldn't find any examples on the NCL website, so I thought I could create my own, but couldn't get it to plot correctly.</div><div><br></div><div>Conceptually, I imagine the script would be created in this order:</div><div>1) Draw the background using <a href="https://www.ncl.ucar.edu/Document/Functions/Skewt_func/skewT_BackGround.shtml" target="_blank">skewT_BackGround</a>.</div><div>2) Draw the hodograph using <a href="https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_xy.shtml" target="_blank">gsn_csm_xy</a></div><div> - making sure to set gsnDraw and gsnFrame to False</div><div> - set vpXF, vpYF, vpWidthF, and vpHeightF to only plot in the upper-lefthand side of the plot</div><div>3) Use the <a href="http://overlay" target="_blank">overlay</a> procedure to overlay the two, like this: overlay(skewt_bkgd,hodo_<wbr>plot)</div><div>4) Draw the plot, like this: draw (skewt_bkgd)</div><div>5) Use the <a href="https://www.ncl.ucar.edu/Document/Functions/Skewt_func/skewT_PlotData.shtml" target="_blank">skewT_PlotData</a> to overlay the skewT data.</div><div>6) Advance the frame: frame(wks)</div><div><br></div><div>I almost got it to work, except the hodograph only plots on the bottom of the image the portion of the hodograph with positive V component (I assume the rest is "off screen" below); I assume it is using the native coordinate system of <a href="https://www.ncl.ucar.edu/Document/Functions/Skewt_func/skewT_BackGround.shtml" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank">skewT_BackGround</a> instead of having its own independent coordinate system.</div><div><br></div><div>Does anyone have any thoughts or ideas of how I can do this? Thanks!</div><div><br></div><div>Joe</div><div><br></div><div>P.S. Here is the current version of my code:</div><div><br></div><div><div>load "$NCARG_ROOT/lib/ncarg/nclscri<wbr>pts/csm/skewt_func.ncl"</div><div>begin</div><div>; Read in WRF data</div><div> in_file = "/d3/ATEC/wrfout_misc/ATC/wrfo<wbr>ut_d01_2017-09-02_05:00:00.<wbr>ATC_P+FCST"</div><div> ncdf_in = addfile(in_file+".nc","r")</div><div> P_tot = wrf_user_getvar(ncdf_in,"press<wbr>ure",0)</div><div> z_tot = wrf_user_getvar(ncdf_in,"z",-1<wbr>)</div><div> U = wrf_user_getvar(ncdf_in,"U",-1<wbr>)</div><div> U_unstag = wrf_user_unstagger(U,U@stagger<wbr>)</div><div> V = wrf_user_getvar(ncdf_in,"V",-1<wbr>)</div><div> V_unstag = wrf_user_unstagger(V,V@stagger<wbr>)</div><div> TC = wrf_user_getvar(ncdf_in,"tc",-<wbr>1)</div><div> TD = wrf_user_getvar(ncdf_in,"td",-<wbr>1)</div><div><br></div><div>; Create skewT background</div><div> PlotType = "png"</div><div> PlotName = "Sounding_MartinAF"</div><div> wks = gsn_open_wks(PlotType,PlotName<wbr>)</div><div> loc = wrf_user_ll_to_ij(ncdf_in,-76.<wbr>42,39.33,True)</div><div> locX = loc(0) - 1</div><div> locY = loc(1) - 1</div><div> skewtOpts = True</div><div> skewtOpts@vpXF = 0.07 ; controls off-set from left</div><div> skewtOpts@vpYF = 0.92 ; controls off-set from top</div><div> skewtOpts@vpWidthF = 0.85 ; controls size of plot</div><div> skewtOpts@vpHeightF = 0.85 ; controls size of plot</div><div> skewtOpts@tiMainString = "Sounding at 39.33N, 76.42W"</div><div> skewt_bkgd = skewT_BackGround (wks, skewtOpts)</div><div> draw (skewt_bkgd)</div><div><br></div><div>; Draw hodograph here???</div><div> hodo_res = True</div><div> hodo_res@vpXF = 0.07</div><div> hodo_res@vpYF = 0.92</div><div> hodo_res@vpWidthF = 0.15</div><div> hodo_res@vpHeightF = 0.15</div><div> hodo_res@gsnDraw = False</div><div> hodo_res@gsnFrame = False</div><div> hodo_plot = gsn_csm_xy(wks,U_unstag(0,:,lo<wbr>cY,locX),V_unstag(0,:,locY,loc<wbr>X),hodo_res)</div><div> overlay(skewt_bkgd,hodo_plot)</div><div> draw (skewt_bkgd)</div><div><br></div><div>; Draw the skew-T data</div><div> dataOpts = True</div><div> dataOpts@Parcel = 1</div><div> dataOpts@WspdWdir = False ; wind speed and dir [else: u,v]</div><div> skewT_data = skewT_PlotData(wks, skewt_bkgd, P_tot(:,locY,locX), \</div><div> TC(0,:,locY,locX), \</div><div> TD(0,:,locY,locX), \</div><div> z_tot(0,:,locY,locX), \</div><div> U_unstag(0,:,locY,locX), \</div><div> V_unstag(0,:,locY,locX), \</div><div> dataOpts)</div><div> frame(wks)</div><div><br></div><div>end</div></div></div>
<br></div></div>______________________________<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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_2557089019744697929gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/<wbr>asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br></div>