<div dir="ltr">Hi Forrest,<div><br></div><div>I think the issue was that the variables to be plotted did not have coordinates associated with them.  I added the highlighted lines to your script:</div><div><br></div><div><p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  u     = f-&gt;UGRD_P0_L7_GLC0</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  v     = f-&gt;VGRD_P0_L7_GLC0</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  refc  = f-&gt;REFC_P0_L200_GLC0</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  lat2d = f-&gt;gridlat_0</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  lon2d = f-&gt;gridlon_0</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  rot   = f-&gt;gridrot_0                   </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(79,46,223)">; (lat,lon)</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures">  <font color="#ff0000">refc@lat2d = lat2d</font></span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">  refc@lon2d = lon2d</font></span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">  u@lat2d = lat2d</font></span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">  u@lon2d = lon2d</font></span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">  v@lat2d = lat2d</font></span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">  v@lon2d = lon2d</font></span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">This is all described at:</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><a href="http://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml">http://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml</a><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>I&#39;ll send you two plots offline.  The one with the _fullextent suffix is what I initially got. The coordinates do indeed range across the entire CONUS, but there are many missing values in the &quot;refc&quot; variable.  I eyeballed these coordinates to get the &quot;_zoomed&quot; plot:</div><div><br></div><div><p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;color:rgb(79,46,223);background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">  cnres@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(45,185,32)">mpLeftCornerLatF</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">  = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(192,52,29)">35</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">.</span><span style="font-variant-ligatures:no-common-ligatures">; lat2d@corners(0)</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;color:rgb(79,46,223);background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">  cnres@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(45,185,32)">mpLeftCornerLonF</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">  = -</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(192,52,29)">85</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">. </span><span style="font-variant-ligatures:no-common-ligatures">;lon2d@corners(0)</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;color:rgb(79,46,223);background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">  cnres@</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(45,185,32)">mpRightCornerLatF</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> = </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(192,52,29)">47</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">.</span><span style="font-variant-ligatures:no-common-ligatures">; lat2d@corners(2)</span></p>
<p style="margin:0px;font-size:14px;line-height:normal;font-family:menlo;color:rgb(45,185,32);background-color:rgb(254,250,207)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">  cnres@</span><span style="font-variant-ligatures:no-common-ligatures">mpRightCornerLonF</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)"> = -</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(192,52,29)">62</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">. </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(79,46,223)">;lon2d@corners(2)</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(79,46,223)"><br></span></div><div><font color="#000000">There are still a few issues that hopefully you can resolve:</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">i) the center of projection is not appropriate for the zoomed in plot;  more likely it should be the center latitude of the zoomed in area</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">ii) the vectors should probably be scaled</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">iii) I don&#39;t know why the &quot;reference vector&quot; does not appear on the zoomed plot???</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">I hope that helps...</font></div><div><font color="#000000">Rick</font></div><div><font color="#000000"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 8:13 AM, Black, Forrest (LARC-D318)[UNIVERSITIES SPACE RESEARCH ASSOCIATION] <span dir="ltr">&lt;<a href="mailto:forrest.black@nasa.gov" target="_blank">forrest.black@nasa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello fellow NCL users,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am using a script in version 6.3.0 to overlay wind data from onto a reflectivity contour plot. I am using RAP data which uses a lambert conformal projections. When I just plot the wind on a vector plot there is no issue. However, when
 I overlay the vector plot onto a contour plot the following error message appears:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">(0)     check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn&#39;t contain one at all.<u></u><u></u></p>
<p class="MsoNormal">(0)     A valid latitude coordinate array should have a &#39;units&#39; attribute equal to one of the following values:
<u></u><u></u></p>
<p class="MsoNormal">(0)         &#39;degrees_north&#39; &#39;degrees-north&#39; &#39;degree_north&#39; &#39;degrees north&#39; &#39;degrees_N&#39; &#39;Degrees_north&#39; &#39;degree_N&#39; &#39;degreeN&#39; &#39;degreesN&#39; &#39;deg north&#39;<u></u><u></u></p>
<p class="MsoNormal">(0)     check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn&#39;t contain one at all.<u></u><u></u></p>
<p class="MsoNormal">(0)     A valid longitude coordinate array should have a &#39;units&#39; attribute equal to one of the following values:
<u></u><u></u></p>
<p class="MsoNormal">(0)         &#39;degrees_east&#39; &#39;degrees-east&#39; &#39;degree_east&#39; &#39;degrees east&#39; &#39;degrees_E&#39; &#39;Degrees_east&#39; &#39;degree_E&#39; &#39;degreeE&#39; &#39;degreesE&#39; &#39;deg east&#39;<u></u><u></u></p>
<p class="MsoNormal">warning:ContourPlotDraw: out of range coordinates encountered; standard AreaFill rendering method may be unreliable;<u></u><u></u></p>
<p class="MsoNormal">consider setting the resource trGridType to &quot;TriangularMesh&quot; if coordinates contain missing values<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The data plots, but the reflectivity does not to be georeferenced correctly. If you have any clue on what to fix please let me know. The data used is on the ftp site under “fblack_sample.grb 2”.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for any assistance you can provide.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p><u></u><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">       
</span></span><u></u>Forrest Black<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>