<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear Griff,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">thank you for your help. I changed the lines you&#39;ve stressed and you were correct. But, after this when I run my script it just stop and do not save the pdf figure.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What could be happening?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I&#39;ve attached the new script.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br></span></div><div><div style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(51,51,51);font-family:arial,sans-serif">======================================================</span><br></div><div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="border-collapse:collapse"><div style="font-family:arial,helvetica,sans-serif;display:inline"><font color="#333333">​</font><b><font color="#000000">Prof. José Augusto Paixão Veiga (CREA n.: 24161)</font></b></div></span><span style="font-family:calibri,arial,helvetica,sans-serif;font-size:16px;color:rgb(0,0,0)"> </span></div><div><span style="border-collapse:collapse"><div style="font-family:arial,helvetica,sans-serif;display:inline"><b><font color="#000000">Coordenador de Projetos Institucionais</font></b></div></span></div><div><span style="border-collapse:collapse"><span style="color:rgb(51,51,51)">Universidade do Estado do Amazonas <div style="font-family:arial,helvetica,sans-serif;display:inline">​(UEA)​</div></span><font color="#333333"><div style="font-family:arial,helvetica,sans-serif;display:inline"><b><br></b></div></font></span></div><div><span style="border-collapse:collapse"><font color="#333333"><div style="font-family:arial,helvetica,sans-serif;display:inline">Pró-Reitoria de Pesquisa e Pós-Graduação - PROPESP​</div></font></span></div><div><span style="border-collapse:collapse"><font color="#333333"><div style="font-family:arial,helvetica,sans-serif;display:inline">Av. Djalma Batista, 3578, Manaus-AM Brasil</div></font></span></div><div><span style="border-collapse:collapse"><span style="color:rgb(51,51,51);font-family:arial;font-size:small">(92) </span><div style="color:rgb(51,51,51);font-family:arial,helvetica,sans-serif;display:inline">​3646-7297</div><font color="#333333"><div style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></font></span></div><div><span style="border-collapse:collapse"><font color="#333333">Departamento de Meteorologia<div style="font-family:arial,helvetica,sans-serif;display:inline">​ -​</div><div style="display:inline"> </div><span style="font-family:arial;border-collapse:separate;font-size:small">Escola Superior de Tecnologia (EST)</span></font></span><span style="font-family:arial;font-size:small;color:rgb(51,51,51)"> </span></div><div><span style="border-collapse:collapse"><span style="border-collapse:separate;font-family:arial;font-size:small"><font color="#333333">Av. Darcy Vargas, 1200, Manaus-AM Brasil<br><div style="font-family:arial,helvetica,sans-serif;display:inline">(92) ​</div>3878<div style="font-family:arial,helvetica,sans-serif;display:inline">​-​</div>4317<br></font></span></span></div><div><span style="color:rgb(51,51,51)">=====================================================</span></div><div><b><span style="color:rgb(51,51,51);font-family:arial">Skype:</span><span style="color:rgb(51,51,51);font-family:arial"> veiga_j.a.p.</span></b><font color="#333333"><br>CV: <a href="http://lattes.cnpq.br/4027612512091565" style="color:rgb(17,85,204)" target="_blank"><font color="#333333">http://lattes.cnpq.br/4027612512091565</font></a><br>Site: </font><a href="https://scientificmet.wordpress.com/" style="color:rgb(17,85,204);background-color:rgb(255,255,0)" target="_blank">https://scientificmet.wordpress.com</a><font color="#333333"><br></font><span style="color:rgb(51,51,51)">=====================================================</span></div></div></div></div></div></div></div></div></div></div><div><font color="#333333"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br></span></font></div><div><font color="#333333"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br></span></font></div><div><font color="#333333"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br></span></font></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 22, 2016 at 8:54 PM, Griffith Young <span dir="ltr">&lt;<a href="mailto:griffith.young@bom.gov.au" target="_blank">griffith.young@bom.gov.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="blue" vlink="purple">
<div class="m_-1988070390133793969WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Dear Jose,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                You have a typo in your code.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                ptote != plote<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                Change:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                *             &quot;</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">ptote    = pconv2 + pnconv2</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                *             &quot;</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">ptotc    = pconv1 + pnconv1</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&quot;                      <wbr>    
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                So that this works:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                *             &quot;</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">panom    = plote - plotc</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                Griff.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a> [mailto:<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.<wbr>edu</a>]
<b>On Behalf Of </b>Jose Augusto Paixão Veiga<br>
<b>Sent:</b> Wednesday, 23 November 2016 11:41 AM<br>
<b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> [ncl-talk] Trouble with plot (anomalous rainfall)<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Dear all,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I am facing a problem when trying to plot a rainfall anomaly from two WRF experiments. Basically, I read two netcdf files, read two variables (RAINC and RAINNC) from each file and I made the
 diference between both to find and plot an anomaly field (with name <i>plote</i>). However, I believe something is wrong. I am very newer in this language and if someone could help me I will really appreciate. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The final two liner errors shows:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p>
</div>
<p style="margin:0cm;margin-bottom:.0001pt;background:black"><span style="font-size:9.0pt;font-family:&quot;monaco&quot;,&quot;serif&quot;;color:whitesmoke">fatal:Variable (plote) is undefined<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;monaco&quot;,&quot;serif&quot;;color:whitesmoke;background:black">fatal:[&quot;Execute.c&quot;:7743]:<wbr>Execute: Error occurred at or near line 51 in file plote-anom-prec.ncl</span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">  <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I&#39;ve attached my script.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">==============================<wbr>========================</span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">​</span><b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Prof. José Augusto Paixão Veiga (CREA n.: 24161)</span></b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black"> </span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Coordenador de Projetos Institucionais</span></b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#333333">Universidade do Estado do Amazonas <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">​(UEA)​<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333"><u></u> <u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Pró-Reitoria de Pesquisa e Pós-Graduação - PROPESP​<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Av. Djalma Batista, 3578, Manaus-AM Brasil<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">(92) </span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">​3646-7297<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333"><u></u> <u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#333333">Departamento de Meteorologia<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">​ -​<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333333"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Escola Superior de Tecnologia (EST) </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Av. Darcy Vargas, 1200, Manaus-AM Brasil<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">(92) ​<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">3878<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">​-​<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">4317</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333333">==============================<wbr>=======================</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Skype: veiga_j.a.p.</span></b><span style="color:#333333"><br>
CV: <a href="http://lattes.cnpq.br/4027612512091565" target="_blank"><span style="color:#333333">http://lattes.cnpq.br/<wbr>4027612512091565</span></a><br>
Site: </span><a href="https://scientificmet.wordpress.com/" target="_blank"><span style="color:#1155cc;background:yellow">https://scientificmet.<wbr>wordpress.com</span></a><span style="color:#333333"><br>
==============================<wbr>=======================</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div>