<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>The file you sent has a .rc extension. This is not a recognized file extension. I changed it to a .nc extension<br><br></div>%> mv TES-Aura_L2-O3-Nadir_Megacity_<wbr>v006_Litev08.rc TES-Aura_L2-O3-Nadir_Megacity_<wbr>v006_Litev08.nc<br><br></div>Then, I used<br><br></div>%> ncdump -h TES-Aura_L2-O3-Nadir_Megacity_<wbr>v006_Litev08.nc >&! out_630.TES_Nadir<br><br></div>The output (out_630.TES_Nadir) is attached.<br><br>==============================<wbr>======<br></div>NCL 6.3.0<br><br></div>%> ncl_filedump TES-Aura_L2-O3-Nadir_Megacity_<wbr>v006_Litev08.nc | less<br><br>NCL
reads the file just fine. However, by netCDF rule, the _FillValue
associated with a variable should match the type of the variable with
which it is associated.<br><br></div> variable (float); _FillValue (float)<br></div> variable (byte); _FillValue (byte)<br></div> ...etc...<br><br></div>This file sometimes has a mismatch so ncl_filedump (unlike ncdump -h) will issue a warning message like<br><div><br>warning:NetOpenFile:
MissingToFillValue option set True, but missing_value attribute and
data variable (city) types differ: not adding virtual _FillValue
attribute<br><br></div><div>Actually, this is valuable information. You should be aware of this. The TES file is technically not a good netCDF file.<br><br>===<br></div>In an NCL script, you can turn off the warning messages via:<br><br><pre><b>setfileoption</b>("nc","<b>MissingToF<wbr>illValue</b>", False)<br></pre><pre>f = addfile("TES-Aura_L2-O3-Nadir_<wbr>Megacity_v006_Litev08.nc", "r")<br></pre><br> <a target="_blank" href="https://www.ncl.ucar.edu/Document/Functions/Built-in/setfileoption.shtml">https://www.ncl.ucar.edu/<wbr>Document/Functions/Built-in/<wbr>setfileoption.shtmn</a><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 12:53 AM, Najib Yusuf <span dir="ltr"><<a href="mailto:najibgal@yahoo.com" target="_blank">najibgal@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082">Hello Denish,</div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br></div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr">[1] TES-Aura_L2-O3-Nadir_<wbr>Megacity_v006_Litev08</div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr"><br></div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr">[2] I tried opening the data "ncdump" it has open but not in readable format.</div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr"><br></div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr">[3] NCL version 6.3.0</div><span class="HOEnZb"><font color="#888888"><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr"><br></div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr"><br></div><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082" dir="ltr">Najib</div></font></span><div><div class="h5"><div id="m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br></div> <div class="m_4253948981041010272qtdSeparateBR"><br><br></div><div class="m_4253948981041010272yahoo_quoted" style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"><font face="Arial" size="2"> On Thursday, February 16, 2017 4:01 PM, Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br></font></div> <br><br> <div class="m_4253948981041010272y_msg_container"><div id="m_4253948981041010272yiv8220239606"><div><div dir="ltr"><div><div><div>re: " ... but I am having trouble extracting a parameter from TES data."<br clear="none"><br clear="none"></div><div>[1] What type of file: L1B (Nadir), L2 (Nadir and Ancillary), and L3 (Gridded)?</div>[2] Can you please show what you have tried?<br clear="none"></div>[3] What version of NCL are you using?<br clear="none"></div> %> ncl -V<br clear="none"><br clear="none"><br clear="none"><div><div><br clear="none"><div><br clear="none"><br clear="none"></div></div></div></div><div class="m_4253948981041010272yiv8220239606gmail_extra"><br clear="none"><div class="m_4253948981041010272yiv8220239606gmail_quote">On Thu, Feb 16, 2017 at 1:54 AM, Najib Yusuf <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:najibgal@yahoo.com" target="_blank">najibgal@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="m_4253948981041010272yiv8220239606gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_4253948981041010272yiv8220239606yqt2290930492" id="m_4253948981041010272yiv8220239606yqt56185"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Dear all,</div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">I want to compare TES data with model output using NCL but I am having trouble extracting a parameter from TES data.</div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Kindly assist me on how to achieve this.</div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324"><br clear="none"></div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Thank you.</div><span class="m_4253948981041010272yiv8220239606HOEnZb"><font color="#888888"></font></span><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324"><br clear="none"></div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324"><br clear="none"></div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Najib Yusuf</div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Centre for Atmospheric Research</div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Anyigba. Nigeria.</div><div dir="ltr" id="m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">+234 80 371 4158</div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/ mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div> </div> </div> </div></div></div></div></div></blockquote></div><br></div></div>