<div dir="ltr">Hi Fangda,<div><br></div><div>The first step is to look at your data. Are you sure QNICE is a variable in your WRF output file? Don't assume. Use the 'ncdump -h your_wrf_file' command or ncl_filedump (<a href="https://www.ncl.ucar.edu/Document/Tools/ncl_filedump.shtml">https://www.ncl.ucar.edu/Document/Tools/ncl_filedump.shtml</a>) to look at the contents of your WRF file. If you don't see QNICE in there, you won't be able to read it. The absence or presence of variables in the output file is determined by your WRF configuration and also how you have your registry set up. I don't remember QNICE being one that is written out by default, so you might need to modify the registry, rebuild, and re-run if it's not there.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Bill</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 18, 2018 at 7:49 AM, Fangda <span dir="ltr"><<a href="mailto:tengfangda@gmail.com" target="_blank">tengfangda@gmail.com</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">Hello Everyone<div><br></div><div>When I use wrf_user_getvar function to deal with Ice Number concentration in wrfout files, I get this message:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">fatal:No valid instance of variable QNICE found in file list<br>fatal:["Execute.c":8640]:Execu<wbr>te: Error occurred at or near line 662 in file /usr/local/ncl6.4.0/lib/ncarg/<wbr>nclscripts/wrf/WRFUserARW.ncl<br>fatal:["Execute.c":8640]:Execu<wbr>te: Error occurred at or near line 1716 in file /usr/local/ncl6.4.0/lib/ncarg/<wbr>nclscripts/wrf/WRFUserARW.ncl</blockquote><div><br></div><div>Does it mean I cann't read QNICE using this function? How can I read QNICE in WRF output file with ncl?<br></div><div><br></div>I appreciate your help, thanks.<span class="HOEnZb"><font color="#888888"><div><br><div>Fangda</div><div><br></div><div><br></div></div></font></span></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>