<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Dennis,<div>Thank you. I tried to add</div><div><div>  res@mpLimitMode            = "Corners"          ; choose range of map</div><div>  res@mpLeftCornerLatF       = lat2d(0,0)</div><div>  res@mpLeftCornerLonF       = lon2d(0,0)</div><div>  res@mpRightCornerLatF      = lat2d(nlat-1,mlon-1)</div><div>  res@mpRightCornerLonF      = lon2d(nlat-1,mlon-1)</div></div><div>It can select map range. However, it seems that contour does not move along with map. So there is a shift between contour and map. Then I want to add</div><div><div>  res@mpProjection           = "LambertConformal" </div><div>  res@mpLambertParallel1F    = lat2d@mpLambertParallel1F</div><div>  res@mpLambertParallel2F    = lat2d@mpLambertParallel2F</div><div>  res@mpLambertMeridianF     = lat2d@mpLambertMeridianF</div></div><div><br></div><div>The problem is there is no latitude attributes (mpLambertParallel1F, mpLambertParallel2F, mpLambertMeridianF) in wrfout files.</div><div><br></div><div>Best,</div><div>Zhifeng</div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 6:06 PM Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br></div><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>NARR are Lambert Conformat:</div><div><br></div><div><a href="http://www.ncl.ucar.edu/Applications/narr.shtml" target="_blank"><b>http://www.ncl.ucar.edu/Applications/narr.shtml</b></a></div><div>ncl_3.ncl</div><div><br></div><div>See plot section</div><div>===</div><div>WRF projection information  is contained within the file attributes</div><div><br></div><div>   fwrf = addfile("wrf...nc","r")</div><div>   ...</div><div>Something like:<br></div><div>  <br></div>res@mpLambertParallel1F   = fwrf->Latin1      <br><div>res@mpLambertParallel2F   = fwrf->Latin2     <br>res@mpLambertMeridianF    = fwrf->LoV </div><div><br></div><div>========================================</div><div><pre>  res@gsnAddCyclic           = False              ; regional data

  res@mpLimitMode            = "Corners"          ; choose range of map
  res@mpLeftCornerLatF       = lat2d(0,0)
  res@mpLeftCornerLonF       = lon2d(0,0)
  res@mpRightCornerLatF      = lat2d(nlat-1,mlon-1)
  res@mpRightCornerLonF      = lon2d(nlat-1,mlon-1)
  res@tfDoNDCOverlay         = True
  res@mpProjection           = "LambertConformal" 
  res@mpLambertParallel1F    = lat2d@mpLambertParallel1F
  res@mpLambertParallel2F    = lat2d@mpLambertParallel2F
  res@mpLambertMeridianF     = lat2d@mpLambertMeridianF

</pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 2:02 PM Zhifeng Yang via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><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 dir="ltr">Hi all,<div>I have WRF output files with Lambert Conformal projection. When I plot images with contour on maps, I tried to limit the plot over a specific region, not the whole domain. I tried the following</div><div><div>   res@mpLimitMode                  = "latlon"</div><div>   res@mpMinLatF                    = minlat</div><div>   res@mpMaxLatF                    = maxlat</div><div>   res@mpMinLonF                    = minlon</div><div>   res@mpMaxLonF                    = maxlon</div></div><div><br></div><div>However, it seems it does not work. Do you have any ideas on it? Thank you!</div><div><br></div><div>Best,</div><div>Zhifeng</div></div></div>
_______________________________________________<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/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div>