<div dir="ltr"><div><div><div>Hello,<br><br></div>Actually, I&#39;m not sure how the script you sent ever got to the point where it was doing contouring. There were a number of errors. <br><br></div>I am attaching a script that gets you close. Please look carefully at it.<br></div><div>Also, please use &#39;printVarSummary&#39; and &#39;printMinMax&#39; frequently when developing a script.<br></div><div><br>--<br></div>The attached script fails because the WRF software (written by WRF [<a href="mailto:wrfhelp@ucar.edu">wrfhelp@ucar.edu</a>]) is looking for XLAT_M and XLONG_M and they are not present ... on either file. <br><div><div><br>---<br>atal:[&quot;Execute.c&quot;:132]:variable (XLAT_M) is not in file (./wrf2d_d01_2010-01-10_04:00:00)<br>fatal:[&quot;Execute.c&quot;:6316]:variable (XLAT_M) is not in file (in_file)<br>fatal:[&quot;Execute.c&quot;:8575]:Execute: Error occurred at or near line 4530 in file /Users/shea/devel/ncl/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:[&quot;Execute.c&quot;:8575]:Execute: Error occurred at or near line 4619 in file /Users/shea/devel/ncl/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:[&quot;Execute.c&quot;:8575]:Execute: Error occurred at or near line 4702 in file /Users/shea/devel/ncl/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br><br>fatal:[&quot;Execute.c&quot;:8575]:Execute: Error occurred at or near line 261 in file WRF_precip.ncl_test<br><br>===<br></div><div>A person who knows WRF sent me the following:<br><br>&quot;They pulled the XLAT, XLONG, etc coordinate variables out of their 
wrf2d_d01_2010-01-10_04:00:00 file, so it&#39;s not really a WRF file 
anymore.  They&#39;ll need to glue back in the variables from <a href="http://wrfout_conus_constants.nc" target="_blank">wrfout_conus_constants.nc</a>
 before you can count on the stuff in WRFUserARW.ncl to work.  That also
 assumes they didn&#39;t remove other things that the script is expecting.  
I&#39;m not familiar with wrf-hydro, is that how it normally works to split 
the data up?&quot;<br><div><br>===<br>I did think the XLAT, XLONG on the conus file should be XLAT_M and 
XLONG_M giventhe file has XLAT_{U,V} and XLONG_{U,V}. Actually, the XLAT_M, XLONG_M should be on the wrf2d file (I think)<br><br></div><div>Good luck<br></div><div class="gmail-yj6qo gmail-ajU"><div id="gmail-:15r" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 26, 2016 at 9:36 AM, Juris Almonte <span dir="ltr">&lt;<a href="mailto:Juris.Almonte@umanitoba.ca" target="_blank">Juris.Almonte@umanitoba.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi NCL talk,
<div><br>
</div>
<div>I am using the script WRF_pcp_1.ncl which contours precipitation and terrain and overlays them using wrf_map_overlays.  I am running NCL V 6.3.</div>
<div><br>
</div>
<div>Unfortunately I receive the following fatal errors:</div>
<div>
<div style="margin:0px;font-size:11px;font-family:Menlo">fatal:ContourPlotPreDraw: ARSCAM/ARPRAM - ALGORITHM FAILURE</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">fatal:ContourPlotDraw: draw error</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">fatal:PlotManagerPreDraw: error in plot pre-draw</div>
<div style="margin:0px;font-size:11px;font-family:Menlo">fatal:_NhlPlotManagerDraw: PreDraw error</div>
</div>
<div style="margin:0px;font-size:11px"><br>
</div>
<div style="margin:0px">I’ve also tried using “RasterFill” instead of “AreaFill”, as recommended browsing through previous questions, however topography was not being contoured properly.  </div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">I have attached my script.  The two files listed when using systemfunc include one file with the WRF 2d data and another with the WRF constants (XLAT, XLONG, etc).</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Any suggestions please?</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Thanks,</div>
<div style="margin:0px"><br>
</div>
<div style="margin:0px">Juris</div>
<div style="margin:0px">M.Sc. student</div>
<div style="margin:0px">University of Manitoba</div>
<div style="margin:0px;font-size:11px"><br>
</div>
<div style="margin:0px;font-size:11px"></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>