<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
<p>Hi Mary <br>
</p>
<p><br>
</p>
<p>Kindly see the details of the error below</p>
<p><br>
</p>
<p></p>
<div>&nbsp;Copyright (C) 1995-2014 - All Rights Reserved<br>
&nbsp;University Corporation for Atmospheric Research<br>
&nbsp;NCAR Command Language Version 6.2.1<br>
&nbsp;The use of this software is governed by a License Agreement.<br>
&nbsp;See http://www.ncl.ucar.edu/ for more details.<br>
ncl 0&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>
ncl 1&gt; load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl&quot;<br>
ncl 2&gt; a = addfile(&quot;./wrfout_d05_2016-04-01_00:00:00.nc&quot;,&quot;r&quot;)<br>
ncl 3&gt;&nbsp; tc = wrf_user_getvar(a,&quot;tc&quot;,-1) <br>
fatal:Variable (t) is undefined<br>
fatal:[&quot;Execute.c&quot;:8578]:Execute: Error occurred at or near line 1065 in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl<br>
<br>
fatal:[&quot;Execute.c&quot;:8576]:Execute: Error occurred at or near line 3<br>
</div>
<br>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri,Arial,Helvetica,sans-serif,&quot;EmojiFont&quot;,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols;">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><b><br>
</b></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#1F497D" size="2" face="Arial Bold"><span style="font-size:11pt">Muhammad Omer Mughal</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#1F497D" size="2" face="Arial Bold"><span style="font-size:11pt">MSc&nbsp;BSc&nbsp;Mechanical Engineering</span></font><font color="#1F497D" size="1" face="Arial,sans-serif"><span style="font-size:8pt"><br>
</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">PhD&nbsp;&nbsp;Research&nbsp;Scholar</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Remote Sensing and Satellite Research Group</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Department of Imaging and Applied Physics</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt"><br>
Curtin University</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt"><br>
</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><br>
</span></font><font color="#1F497D" size="2" face="Arial Bold"><span style="font-size:9pt">Curtin University</span></font><font color="#1F497D" size="2" face="Arial Bold"><span style="font-size:9pt"><br>
</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Tel |</span></font><font color="#1F497D" size="2" face="Arial Bold"><span style="font-size:9pt">&nbsp;</span></font><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt">&#43;61
 8 9266 7962</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:9pt">&nbsp;</span></font><font color="#1F497D" size="1" face="Calibri,sans-serif"><span style="font-size:7pt"><br>
</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Fax |</span></font><font color="#1F497D" size="2" face="Arial Bold"><span style="font-size:9pt">&nbsp;</span></font><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt">&#43;61
 8 9266 2377</span></font><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt"><br>
</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Mobile |</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:9pt">&nbsp;</span></font><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt">0470&nbsp;237&nbsp;525</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:9pt">&nbsp;&nbsp;</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:9pt"><br>
</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:9pt"><br>
</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Email |</span></font><font color="#1F497D" size="2" face="Calibri,sans-serif"><span style="font-size:9pt">&nbsp;</span></font><a href="mailto:m.lynch@curtin.edu.au" target="_blank" id="LPNoLP"><font size="2" face="Arial,sans-serif"><span style="font-size:9pt">m.mughal1@postgrad.curtin.edu.au</span></font></a><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt">&nbsp;</span></font><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt"><br>
</span></font><font color="#AB8303" size="2" face="Arial Bold"><span style="font-size:9pt">Web |</span></font><font color="#AB8303" size="2" face="Calibri,sans-serif"><span style="font-size:9pt">&nbsp;</span></font><a href="http://curtin.edu.au/" target="_blank" id="LPNoLP"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" face="Arial,sans-serif"><span style="font-size:9pt">http://curtin.edu.au</span></font></span></font></a><font color="#1F497D" size="2" face="Arial,sans-serif"><span style="font-size:9pt"><br>
</span></font><font color="#1F497D" size="1" face="Calibri,sans-serif"><span style="font-size:7pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font color="#1F497D" size="1" face="Calibri,sans-serif"><span style="font-size:6pt"></span></font><font color="#1F497D" size="1" face="Arial,sans-serif"><span style="font-size:6pt">Curtin University is a trademark of Curtin University of Technology.&nbsp;</span></font><br>
</div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#1F497D" size="1" face="Arial,sans-serif"><span style="font-size:6pt">CRICOS Provider Code 00301J (WA), 02637B (NSW)</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#1F497D" size="1" face="Arial,sans-serif"><span style="font-size:6pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:15.4545450210571px; margin:0px; background-color:rgb(255,255,255)">
<font size="3" face="Times New Roman,serif"><span style="font-size:12pt"><font color="#1F497D" size="1" face="Arial,sans-serif"><span style="font-size:6pt"><br>
</span></font></span></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Muhammad Omer Mughal<br>
<b>Sent:</b> Friday, 7 July 2017 8:08:35 AM<br>
<b>To:</b> Mary Haley<br>
<b>Subject:</b> Re: [ncl-talk] tc not getting recognized in version 6.3.0</font>
<div>&nbsp;</div>
</div>
<div>Hi Mary<br>
I am just using the code on the following link<br>
<br>
http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/BASIC_SFC/wrf_Surface1.ncl<br>
I used it previously and it worked fine. I am actually using modified WRF version for urban physics using BEP/BEM. I can find output variables such as PSFC and T2 but I am not sure why ncl is giving me the error<br>
Variable &quot;t&quot; is not recognized at the line where tc is defined.<br>
​<br>
Muhammad Omer Mughal<br>
MSc BSc Mechanical Engineering<br>
PhD&nbsp; Research Scholar<br>
Remote Sensing and Satellite Research Group<br>
Department of Imaging and Applied Physics<br>
Curtin University<br>
<br>
Curtin University<br>
Tel | &#43;61 8 9266 7962<br>
Fax | &#43;61 8 9266 2377<br>
Mobile | 0470 237 525<br>
<br>
Email | m.mughal1@postgrad.curtin.edu.au<br>
Web | http://curtin.edu.au<br>
<br>
​ Curtin University is a trademark of Curtin University of Technology.<br>
CRICOS Provider Code 00301J (WA), 02637B (NSW)<br>
<br>
​<br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mary Haley &lt;haley@ucar.edu&gt;<br>
<b>Sent:</b> Friday, 7 July 2017 12:03:59 AM<br>
<b>To:</b> Muhammad Omer Mughal<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] tc not getting recognized in version 6.3.0</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">Hi Muhammad,<br>
<br>
Important things to note about wrf_user_getvar:<br>
<br>
&nbsp;- You can only use this function on WRF-ARW data.<br>
<br>
&nbsp;- You must call this function with the file pointer from opening the WRF output file:<br>
<font face="monospace, monospace"><br>
&nbsp; f =
<div class="gmail_default" style="font-size:small;display:inline">​​</div>
addfile(&quot;wrfout_d01_2008-09-29_20:30:<a href="http://00.nc">00.nc</a>&quot;,&quot;r&quot;)<br>
&nbsp;
<div class="gmail_default" style="font-size:small;display:inline">​ ​</div>
tc = wrf_user_getvar(f,&quot;tc&quot;,-1)</font><br>
<br>
If you continue to have problems, please provide the relevant code where you call wrf_user_getvar
<div class="gmail_default" style="font-size:small;display:inline">​ along with ​</div>
the exact error message, so we can debug this.
<div class="gmail_default" style="font-size:small;display:inline">​​</div>
<div><br>
</div>
<div>
<div class="gmail_default" style="font-size:small">​Thanks,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">--Mary</div>
<div class="gmail_default" style="font-size:small">​</div>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jul 5, 2017 at 8:02 PM, Muhammad Omer Mughal <span dir="ltr">
&lt;<a href="mailto:m.mughal1@postgrad.curtin.edu.au" target="_blank">m.mughal1@postgrad.curtin.edu.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 dir="ltr">
<div id="m_6831019647689068276divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi all</p>
<p><br>
</p>
<p>I am using wrf_user_getvar &nbsp;function I am using temperature variable tc but its not getting recognized for some reason. Can any one suggest a solution</p>
<p><br>
</p>
<div id="m_6831019647689068276Signature">
<div id="m_6831019647689068276divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px"><b><br>
</b></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" size="2" color="#1F497D"><span style="font-size:11pt">Muhammad Omer Mughal</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" size="2" color="#1F497D"><span style="font-size:11pt">MSc&nbsp;BSc&nbsp;Mechanical Engineering</span></font><font face="Arial,sans-serif" size="1" color="#1F497D"><span style="font-size:8pt"><br>
</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">PhD&nbsp;&nbsp;Research&nbsp;Scholar</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Remote Sensing and Satellite Research Group</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Department of Imaging and Applied Physics</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt"><br>
Curtin University</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:11pt"><br>
</span></font><font face="Arial Bold" size="2" color="#1F497D"><span style="font-size:9pt">Curtin University</span></font><font face="Arial Bold" size="2" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Tel |</span></font><font face="Arial Bold" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;</span></font><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&#43;61
 8 9266 7962</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;</span></font><font face="Calibri,sans-serif" size="1" color="#1F497D"><span style="font-size:7pt"><br>
</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Fax |</span></font><font face="Arial Bold" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;</span></font><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&#43;61
 8 9266 2377</span></font><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Mobile |</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;</span></font><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">0470&nbsp;237&nbsp;525</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;&nbsp;</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Email |</span></font><font face="Calibri,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;</span></font><a href="mailto:m.lynch@curtin.edu.au" id="m_6831019647689068276LPNoLP" target="_blank"><font face="Arial,sans-serif" size="2"><span style="font-size:9pt">m.mughal1@postgrad.curtin.<wbr>edu.au</span></font></a><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt">&nbsp;</span></font><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Arial Bold" size="2" color="#AB8303"><span style="font-size:9pt">Web |</span></font><font face="Calibri,sans-serif" size="2" color="#AB8303"><span style="font-size:9pt">&nbsp;</span></font><a href="http://curtin.edu.au/" id="m_6831019647689068276LPNoLP" target="_blank"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2"><span style="font-size:9pt">http://curtin.edu.au</span></font></span></font></a><font face="Arial,sans-serif" size="2" color="#1F497D"><span style="font-size:9pt"><br>
</span></font><font face="Calibri,sans-serif" size="1" color="#1F497D"><span style="font-size:7pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Calibri,sans-serif" size="1" color="#1F497D"><span style="font-size:6pt"></span></font><font face="Arial,sans-serif" size="1" color="#1F497D"><span style="font-size:6pt">Curtin University is a trademark of Curtin University of Technology.&nbsp;</span></font><br>
</div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial,sans-serif" size="1" color="#1F497D"><span style="font-size:6pt">CRICOS Provider Code 00301J (WA), 02637B (NSW)</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial,sans-serif" size="1" color="#1F497D"><span style="font-size:6pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif;font-size:15.4545450210571px;margin:0px;background-color:rgb(255,255,255)">
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><font face="Arial,sans-serif" size="1" color="#1F497D"><span style="font-size:6pt"><br>
</span></font></span></font></div>
</div>
</div>
</div>
</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>
</div>
</div>
</body>
</html>