<div dir="ltr"><div class="gmail_default" style="font-size:small">It looks like you have a version of NCL that was built without shapefile support.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, you have a rather old version of NCL. I suggest upgrading to 6.3.0. If you download one of our precompiled binaries, then shapefile support will be included.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please see:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/">http://www.ncl.ucar.edu/Download/</a></div><div class="gmail_default"><br></div><div class="gmail_default">and follow the instructions for downloading a precompiled NCL binary and NOT from source code.</div><div class="gmail_default"><br></div><div class="gmail_default">If you are familiar with conda, then you can also install NCL using that:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/conda.shtml">http://www.ncl.ucar.edu/Download/conda.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 25, 2017 at 10:07 AM, Luis del Castillo <span dir="ltr"><<a href="mailto:luis.delcastillo@cathalac.int" target="_blank">luis.delcastillo@cathalac.int</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ES-PA" link="blue" vlink="purple">
<div class="m_-6964112176497045503WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Good afternoon Mary Haley I did what you suggest but I am getting this error<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">[wrf@pantro d2_scripts]$ ncl shape.ncl<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Copyright (C) 1995-2013 - All Rights Reserved<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">University Corporation for Atmospheric Research<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">NCAR Command Language Version 6.1.2<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The use of this software is governed by a License Agreement.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) Numero de Archivos Dom 2 = 73<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) Working on time: 2017-01-25_00:00:00<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) Working on time: 2017-01-25_01:00:00<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">warning:["FileSupport.c":3026]<wbr>:NCL does not know anything about file suffix <shp>.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But NCL will try its best to figure out the file format.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (PAN_adm0.shp)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) Error: gsn_add_shapefile_polylines: Can't open shapefile 'PAN_adm0.shp'<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) No shapefile information will be added.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) Working on time: 2017-01-25_02:00:00<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">warning:["FileSupport.c":3026]<wbr>:NCL does not know anything about file suffix <shp>.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But NCL will try its best to figure out the file format.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">fatal:An internal error has occurred. The file format requested does not appear to be supported, could not open (PAN_adm0.shp)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) Error: gsn_add_shapefile_polylines: Can't open shapefile 'PAN_adm0.shp'<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(0) No shapefile information will be added.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Mary Haley [mailto:<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>]
<br>
<b>Sent:</b> martes, 24 de enero de 2017 5:38 p. m.</span></p><div><div class="h5"><br>
<b>To:</b> Luis del Castillo<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] ensamble script<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">You can only use the High-Res map database for coastal outlines, and not for internal outlines.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If you need more high-res outlines with WRF output files, then I recommend using shapefiles.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">See example shapefiles_14.ncl which shows how to add shapefile outlines to a plot's been generated with wrf_xxxx routines:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml#ex14" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/shapefiles.shtml#<wbr>ex14</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The key is that you need to set:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> pltres = True</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> mpres = True</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">; Tells wrf_map_overlays not to remove contours</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> pltres@PanelPlot = True </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> plot = wrf_map_overlays(a,wks,<wbr>contour,pltres,mpres) </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">before you call wrf_map_overlays, which keeps the plot intact so you can add shapefile outlines with code that looks something like this:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">;---Attach the shapefile outlines<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> lnres = True<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> lnres@gsLineColor = "gray25"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> ;lnres@gsLineThicknessF = 0.5</span> <u></u><u></u></p>
<pre> id = gsn_add_shapefile_polylines(<wbr>wks,plot,"<i>xxxx</i>.shp",lnres)<u></u><u></u></pre>
<pre> draw(plot)<u></u><u></u></pre>
<pre> frame(wks)<u></u><u></u></pre>
<pre><span style="font-family:"Arial","sans-serif"">--Mary</span><u></u><u></u></pre>
<pre><u></u> <u></u></pre>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Mon, Jan 23, 2017 at 5:43 PM, Luis del Castillo <<a href="mailto:luis.delcastillo@cathalac.int" target="_blank">luis.delcastillo@cathalac.int</a><wbr>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks everything seems to work just fine Mary Haley. Another question how to draw in
land borders lines when using mpres@mpDataBaseVersion = "HighRes".</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I was using
</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> mpres@mpOutlineBoundarySets = "National"</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> mpres@mpNationalLineColor = "Black"</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> mpres@mpNationalLineThicknessF = 2.0</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But It seems to be ignore by the mpDataBaseVersion</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks
</span><u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
Mary Haley [mailto:<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>]
<br>
<b>Sent:</b> lunes, 23 de enero de 2017 1:31 p. m.<br>
<b>To:</b> Luis del Castillo<br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] ensamble script</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Luis,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">What exactly do you mean that each WRF file has "a difference scheme"?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">If all of your WRF plots are defined over the same lat/lon area and the same map projection parameters, then you can call wrf_contour with any one of your "a" variables:<u></u><u></u></p>
</div>
<div>
<p class="m_-6964112176497045503m-670395857670906476gmail-p1"><span class="m_-6964112176497045503m-670395857670906476gmail-s2">contour_tend =
</span><span class="m_-6964112176497045503m-670395857670906476gmail-s3">wrf_contour</span><span class="m_-6964112176497045503m-670395857670906476gmail-s2">(a1[0],wks,prep_<wbr>tot_ens,opts_r) ; total (color) </span><u></u><u></u></p>
<p class="m_-6964112176497045503m-670395857670906476gmail-p1"><span class="m_-6964112176497045503m-670395857670906476gmail-s2">I'm guessing this has to be the case, because you are doing calculations on arrays read from different files. If they weren't on the same lat/lon grid, then your calculations
would potentially be wrong. </span><u></u><u></u></p>
<p class="m_-6964112176497045503m-670395857670906476gmail-p1">--Mary<u></u><u></u></p>
<p class="m_-6964112176497045503m-670395857670906476gmail-p1"> <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Fri, Jan 20, 2017 at 7:09 PM, Luis del Castillo <<a href="mailto:luis.delcastillo@cathalac.int" target="_blank">luis.delcastillo@cathalac.int</a><wbr>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Hi fellows good evening
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I am having some issue trying to create an ensemble script with ncl, the idea is to take 3 different wrfout each one has a different scheme and used to do a 1hr
accum precipitation average. On the attached file you can see I got almost everything ready but get stock at the end with the WRF ncl function wrf_countour this function needs the ( file , wks, prep_tot_ens, opts_r) but as you see I have 3 a ‘s, a1 is from
Schem 1, a2 from Schem 2, a3 Schem 3. So I cant not use it with the wrf_countour function so I am a little bit lost I am new with NCL and I got this running with GRADS.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">thanks</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<table class="m_-6964112176497045503MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="482" style="width:361.5pt;background:white">
<tbody>
<tr style="height:81.75pt">
<td width="25%" style="width:25.0%;padding:0cm 0cm 0cm 0cm;height:81.75pt">
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:black"><img border="0" width="110" height="105" id="m_-6964112176497045503m_-670395857670906476m_4634942182697979440Imagen_x0020_25" src="cid:image001.png@01D27703.8EDE8280" alt="Description: http://www.cathalac.org/firma/format_02a.gif"></span><u></u><u></u></p>
</td>
<td width="75%" style="width:75.0%;padding:0cm 0cm 0cm 0cm;height:81.75pt">
<p class="MsoNormal"><a href="http://www.cathalac.org/" title=""Página Web" t " target="_blank"><b><span style="font-size:10.5pt;font-family:"Tahoma","sans-serif";color:#0063ad;text-decoration:none"><img border="0" width="200" height="41" id="m_-6964112176497045503m_-670395857670906476m_4634942182697979440Imagen_x0020_26" src="cid:image002.png@01D27703.8EDE8280" alt="Description: http://www.cathalac.org/firma/logocatha.gif"></span></b></a><b><span style="font-size:10.5pt;font-family:"Tahoma","sans-serif";color:#00accb"><br>
Luis Alejandro Del Castillo Riley </span></b><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad"><br>
<b>Gerente de Tecnologia</b><br>
DIVISIÓN DE TECNOLOGÍAS DE LA INFORMACIÓN Y COMUNICACIÓN<br>
Tel: <a href="tel:(507)%20317-3235" target="_blank">507-317-3235</a></span><u></u><u></u></p>
<p class="MsoNormal"><u><span lang="EN-US" style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad">Email:
</span></u><u><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:blue"><a href="mailto:luis.delcastillo@cathalac.int" target="_blank"><span lang="EN-US" style="color:#0563c1">luis.delcastillo@cathalac.int</span></a></span></u><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad"><a href="http://www.cathalac.org/" target="_blank"><span lang="EN-US" style="color:#0063ad;text-decoration:none"><br>
</span></a></span><a href="https://www.facebook.com/cathalac" target="_blank"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad;text-decoration:none"><img border="0" width="20" height="18" id="m_-6964112176497045503m_-670395857670906476m_4634942182697979440Imagen_x0020_27" src="cid:image003.png@01D27703.8EDE8280" alt="Description: http://www.cathalac.org/firma/facebook.png"></span></a><span lang="EN-US" style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad"> </span><a href="http://twitter.com/#!/CATHALAC" target="_blank"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad;text-decoration:none"><img border="0" width="20" height="18" id="m_-6964112176497045503m_-670395857670906476m_4634942182697979440Imagen_x0020_28" src="cid:image004.png@01D27703.8EDE8280" alt="Description: http://www.cathalac.org/firma/twitter.png"></span></a><span lang="EN-US" style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad"> </span><a href="http://www.linkedin.com/company/2324157" target="_blank"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad;text-decoration:none"><img border="0" width="20" height="18" id="m_-6964112176497045503m_-670395857670906476m_4634942182697979440Imagen_x0020_29" src="cid:image005.png@01D27703.8EDE8280" alt="Description: http://www.cathalac.org/firma/linkindin.png"></span></a><span lang="EN-US" style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad"> </span><a href="http://www.youtube.com/user/CATHALACTV" target="_blank"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#0063ad;text-decoration:none"><img border="0" width="39" height="18" id="m_-6964112176497045503m_-670395857670906476m_4634942182697979440Imagen_x0020_30" src="cid:image006.png@01D27703.8EDE8280" alt="Description: http://www.cathalac.org/firma/youtube.png"></span></a><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<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" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>