<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Rick,<br>
<br>
thank you very much,<br>
<br>
it works now with<br>
<br>
mpres@mpRightCornerLatF = 44<br>
mpres@mpLeftCornerLatF = 40<br>
mpres@mpRightCornerLonF = 4<br>
mpres@mpLeftCornerLonF = 0<br>
<br>
I get a small domain,<br>
<br>
Best<br>
<br>
Enric<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF993985"><font color="#000000" face="Tahoma" size="2"><b>De:</b> Rick Brownrigg [brownrig@ucar.edu]<br>
<b>Enviat el:</b> divendres, 29 / abril / 2016 22:37<br>
<b>Per a:</b> Agud Pique, Enric<br>
<b>A/c:</b> ncl-talk@ucar.edu<br>
<b>Tema:</b> Re: [ncl-talk] control size of domain in a map<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">As I realized you are working with wrf mapping functions, my previous advise on mpLimitMode might not wotk. If that's the case, you might take a look at the "Zoomin" resource, described in the docs for wrf_map_overlays:<br>
<br>
<a href="http://ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml" target="_blank">http://ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml</a><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Apr 29, 2016 at 2:32 PM, Rick Brownrigg <span dir="ltr">
<<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@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>
<div>
<div>
<div>I'm not certain, but you may need to set <br>
<br>
</div>
mpres@mpLimitMode = "LatLon"<br>
<br>
</div>
as the default for that resource is "MaximalArea". Take a look at the docs for what this all means:<br>
<br>
<a href="http://ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpLimitMode" target="_blank">http://ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpLimitMode</a><br>
<br>
</div>
Hope that helps...<br>
</div>
Rick<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="h5">On Fri, Apr 29, 2016 at 1:57 PM, Agud Pique, Enric <span dir="ltr">
<<a href="mailto:eagud.q@ccma.cat" target="_blank">eagud.q@ccma.cat</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>
<div>
<div dir="auto">
<div><br>
</div>
<blockquote type="cite">
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Hello people,
<br>
<br>
I am quite new user of NCL, <br>
<br>
I use WRF with map_proj = 'lambert'...when I run the following ncl script, I cannot get the domain I really want. I describe the left and right longitude, the low and high latitude I wish, but I get always the big domain...I supose I have something wrong in
the code...<br>
<br>
<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"<br>
begin<br>
a = addfile("./wrfout_d01_2016-04-28_18:00:00","r")<br>
wks = gsn_open_wks("X11","plt_Surface")<br>
<br>
<br>
T2 = wrf_user_getvar(a,"T2",0)<br>
Tc = T2-273<br>
pltres = True<br>
mpres = True<br>
opts = True<br>
<br>
<br>
mpres@mpMaxLatF = 44<br>
mpres@mpMinLatF = 40<br>
mpres@mpMaxLonF = 4<br>
mpres@mpMinLonF = 0<br>
<br>
<br>
opts@cnFillOn = True<br>
opts@cnLevelSelectionMode = "ExplicitLevels"<br>
opts@cnLevels =(/ -10, -5,0,5,10,15,20,25,30,35,40/)<br>
opts@cnFillColors =(/"Blue","DarkOliveGreen1", \<br>
"DarkOliveGreen3","Chartreuse", \<br>
"Chartreuse3","Green","ForestGreen", \<br>
"Yellow","Orange","Red","Violet"/)<br>
contour_t2 = wrf_contour(a,wks,Tc,opts)<br>
<br>
<br>
plot= wrf_map_overlays(a,wks,(/contour_t2/),pltres ,mpres)<br>
<br>
<br>
Thank you very much, best regards<u></u><u></u></span></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</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><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>