<div dir="ltr">Hi Michael,<div><br></div><div>For LambertConformal, you also need to specify the mpLambertMeridianF, mpLambertParallel1F, and mpLambertParallel2F (which can be the same as mpLambertParallel1F).  For the netcdf data coming directly out of the WRF model for HRRR runs, I believe these are the settings:</div><div><br></div><div>mpLambertMeridianF = -97.5</div><div>mpLambertParallel1F = 38.5</div><div>mpLambertParallel2F = 38.5</div><div><br></div><div>I&#39;m not sure if they re-grid the data after it comes out of WRF when they write the Grib files in post-processing, but I&#39;d guess it&#39;s the same map projection parameters.  But, you should double check this with your actual data and set the appropriate values.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Bill</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 16, 2016 at 1:19 PM, Michael Buban - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:michael.buban@noaa.gov" target="_blank">michael.buban@noaa.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 dir="ltr">Hello,<div><br></div><div>I&#39;m trying to plot a simple HRRR dataset with a Lambert Conformal grid, however the plots always come out rotated by 90 degrees.  How do I get the plot to have LAT up/down and LON left/right?  I&#39;ve extensive searched online and none of the proposed fixed have any effect.  Here is my script.</div><div><br></div><div>_________________________</div><div><div><br></div><span style="font-family:menlo;font-size:11px">load &quot;$NCARG_ROOT/lib/ncarg/<wbr>nclscripts/csm/gsn_code.ncl&quot;</span>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">load &quot;$NCARG_ROOT/lib/ncarg/<wbr>nclscripts/csm/gsn_csm.ncl&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">begin</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  a = addfile(&quot;hrrr.t12z.wrfsfcf01.<wbr>grib2&quot;,&quot;r&quot;)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  qv = a-&gt;DPT_P0_L103_GLC0(:,:) ;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  tk = a-&gt;TMP_P0_L103_GLC0(:,:) ;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   lat = a-&gt;gridlat_0(:,:)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   lon = a-&gt;gridlon_0(:,:)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   tk@lat2d = lat</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   tk@lon2d = lon</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   qv@lat2d = lat</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   qv@lon2d = lon</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">    printVarSummary(lat)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">    printVarSummary(lon)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   ny = 82</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">   nx = 71</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br><span style="font-variant-ligatures:no-common-ligatures"></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  wks  = gsn_open_wks(&quot;X11&quot;,&quot;gsn_<wbr>contour&quot;)    ; open a ps file</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">;*****************************</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">; create first plot</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">;*****************************</span></p><div class="m_-753068807707129034gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn            = True        ; create vector resource array</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@cnFillOn   = True        ; color fill</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@cnLinesOn  = False       ; no contour lines</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@gsnLeftString    = &quot;&quot;     ; no titles</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@gsnRightString   = &quot;&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@tiXAxisString    = &quot;&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@tiYAxisString    = &quot;&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@gsnDraw    = False       ; don&#39;t draw</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@gsnFrame   = False       ; don&#39;t advance frame</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@vpWidthF  = 0.8                    ; change the aspect ratio</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@vpHeightF = 0.8</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br><span style="font-variant-ligatures:no-common-ligatures"></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpDataBaseVersion = &quot;MediumRes&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@pmTickMarkDisplayMode = &quot;Always&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@gsnAddCyclic = False    ; regional data</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpProjection = &quot;LambertConformal&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpLimitMode            = &quot;Corners&quot;          ; choose region of map</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpLeftCornerLatF       = lat(0,0)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpLeftCornerLonF       = lon(0,0)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpRightCornerLatF      = lat(ny-1,nx-1)</span></p></div><div style="font-size:12.8px"><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@mpRightCornerLonF      = lon(ny-1,nx-1)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@cnLevelSelectionMode = &quot;ManualLevels&quot;    ; manually set the contour levels</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@cnMinLevelValF = 260.0</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@cnMaxLevelValF = 288.0</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@cnLevelSpacingF = 1.0</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">;  resn@gsnPaperOrientation = &quot;Portrait&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@pmLegendDisplayMode = &quot;Never&quot;</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  resn@tiMainOn = False</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  plot1 = gsn_csm_contour_map(wks,tk,<wbr>resn)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  draw(plot1)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">  frame(wks)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo"><span style="font-variant-ligatures:no-common-ligatures">end</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">______________________________<wbr>______</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">I&#39;ve tried setting resn@gsnPaperOrientation to &quot;Portrait&quot; and &quot;Landscape&quot;, and gsnMaximize to &quot;True&quot; and &quot;False&quot; with no change in results.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">Any help would be appreciated.</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">Thanks,</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">Mike</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:menlo;min-height:13px">______________________________<wbr>_______</p></div><div style="font-size:12.8px">Michael S. Buban, Ph.D.</div><div style="font-size:12.8px">Research Associate</div><div style="font-size:12.8px">NOAA/ARL Atmospheric Turbulence and Diffusion Division</div><div style="font-size:12.8px">and Oak Ridge Associated Universities</div><div style="font-size:12.8px">456 South Illinois Avenue</div><div style="font-size:12.8px">Oak Ridge TN 37830</div></div></div></div>
</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>