<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you Dennis,</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">but the problem has been resolved. That was a very basic mistake from me.</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">Regards</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 11:39 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@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>Did you look at the error message?<br><br></div>It is telling you the exact problem and the line where it occurs.<br><br></div>[snip]<br><div> 41 ptotc = pconv1 + pnconv1<br> 42 ptotc@description = "total precipitation"<br> 43 ptotc@units = "mm"<br> 44 <br> 45 pconv2 = wrf_user_getvar(b,"RAINC",it) <wbr> ; Get rainC (deg mm)<br> 46 pnconv2 = wrf_user_getvar(b,"RAINNC",it)<wbr> ; Get rainNC (deg mm)<br> 47 ptote = pconv2 + pnconv2<br> 48 ptote@description = "total precipitation"<br> 49 ptote@units = "mm"<br> 50 <br> 51 panom = plote - plotc ; **** 'plote' undefined<br></div><div>[snip]<br><br></div><div>What about:<br></div><div><br></div><div> panom = ptote - ptotc</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 22, 2016 at 5:41 PM, Jose Augusto Paixão Veiga <span dir="ltr"><<a href="mailto:veiga.uea@gmail.com" target="_blank">veiga.uea@gmail.com</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 dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear all,</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 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. </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">The final two liner errors shows:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><p style="margin:0px;font-size:12px;line-height:normal;font-family:monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">fatal:Variable (plote) is undefined</p>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(245,245,245);font-family:monaco;font-size:12px;background-color:rgb(0,0,0)">fatal:["Execute.c":7743]:Execu<wbr>te: Error occurred at or near line 51 in file plote-anom-prec.ncl</span> </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've attached my script.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> <br></div><div><div class="m_8516560027330665982m_8125211546809840496gmail_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">==============================<wbr>========================</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)">==============================<wbr>=======================</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/4027<wbr>612512091565</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.wo<wbr>rdpress.com</a><font color="#333333"><br></font><span style="color:rgb(51,51,51)">==============================<wbr>=======================</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>
</div>
<br></div></div>______________________________<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" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>