[ncl-talk] Trouble with plot (anomalous rainfall) [SEC=UNCLASSIFIED]

Griffith Young griffith.young at bom.gov.au
Tue Nov 22 17:54:44 MST 2016


Dear Jose,
                You have a typo in your code.

                ptote != plote

                Change:
                *             "ptote    = pconv2 + pnconv2"
                *             "ptotc    = pconv1 + pnconv1"

                So that this works:
                *             "panom    = plote - plotc"

Regards,
                Griff.


From: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] On Behalf Of Jose Augusto Paixão Veiga
Sent: Wednesday, 23 November 2016 11:41 AM
To: ncl-talk at ucar.edu
Subject: [ncl-talk] Trouble with plot (anomalous rainfall)

Dear all,

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 plote). However, I believe something is wrong. I am very newer in this language and if someone could help me I will really appreciate.

The final two liner errors shows:


fatal:Variable (plote) is undefined
fatal:["Execute.c":7743]:Execute: Error occurred at or near line 51 in file plote-anom-prec.ncl

I've attached my script.


======================================================
​Prof. José Augusto Paixão Veiga (CREA n.: 24161)

Coordenador de Projetos Institucionais
Universidade do Estado do Amazonas
​(UEA)​

Pró-Reitoria de Pesquisa e Pós-Graduação - PROPESP​
Av. Djalma Batista, 3578, Manaus-AM Brasil
(92)
​3646-7297

Departamento de Meteorologia
​ -​

Escola Superior de Tecnologia (EST)
Av. Darcy Vargas, 1200, Manaus-AM Brasil
(92) ​
3878
​-​
4317
=====================================================
Skype: veiga_j.a.p.
CV: http://lattes.cnpq.br/4027612512091565
Site: https://scientificmet.wordpress.com<https://scientificmet.wordpress.com/>
=====================================================



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161123/ba08f83d/attachment.html 


More information about the ncl-talk mailing list