<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1487584441203_111346"><span>Dear all,</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487584441203_111304"><span id="yui_3_16_0_ym19_1_1487584441203_111318">I need some more help please. Can you guide me to Data variable extraction and also data (measurement and model output) comparison templates?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487584441203_111304"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487584441203_111304"><span>I will appreciate your elderly advise. Thank you</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487584441203_111304"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1487584441203_111304"><span>Najib</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_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 size="2" face="Arial"> On Saturday, February 18, 2017 4:57 PM, Dennis Shea <shea@ucar.edu> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv2211168187"><div><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 clear="none"><br clear="none"></div>%> mv TES-Aura_L2-O3-Nadir_Megacity_ v006_Litev08.rc TES-Aura_L2-O3-Nadir_Megacity_ v006_Litev08.nc<br clear="none"><br clear="none"></div>Then, I used<br clear="none"><br clear="none"></div>%> ncdump -h TES-Aura_L2-O3-Nadir_Megacity_ v006_Litev08.nc >&! out_630.TES_Nadir<br clear="none"><br clear="none"></div>The output (out_630.TES_Nadir) is attached.<br clear="none"><br clear="none">============================== ======<br clear="none"></div>NCL 6.3.0<br clear="none"><br clear="none"></div>%> ncl_filedump TES-Aura_L2-O3-Nadir_Megacity_ v006_Litev08.nc | less<br clear="none"><br clear="none">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 clear="none"><br clear="none"></div> variable (float); _FillValue (float)<br clear="none"></div> variable (byte); _FillValue (byte)<br clear="none"></div> ...etc...<br clear="none"><br clear="none"></div>This file sometimes has a mismatch so ncl_filedump (unlike ncdump -h) will issue a warning message like<br clear="none"><div><br clear="none">warning:NetOpenFile:
MissingToFillValue option set True, but missing_value attribute and
data variable (city) types differ: not adding virtual _FillValue
attribute<br clear="none"><br clear="none"></div><div>Actually, this is valuable information. You should be aware of this. The TES file is technically not a good netCDF file.<br clear="none"><br clear="none">===<br clear="none"></div>In an NCL script, you can turn off the warning messages via:<br clear="none"><br clear="none"><pre><b>setfileoption</b>("nc","<b>MissingToF illValue</b>", False)<br clear="none"></pre><pre>f = addfile("TES-Aura_L2-O3-Nadir_ Megacity_v006_Litev08.nc", "r")<br clear="none"></pre><br clear="none"> <a rel="nofollow" shape="rect" target="_blank" href="https://www.ncl.ucar.edu/Document/Functions/Built-in/setfileoption.shtml">https://www.ncl.ucar.edu/ Document/Functions/Built-in/ setfileoption.shtmn</a><div class="yiv2211168187gmail_extra"><br clear="none"><div class="yiv2211168187yqt0935549623" id="yiv2211168187yqt08998"><div class="yiv2211168187gmail_quote">On Fri, Feb 17, 2017 at 12:53 AM, Najib Yusuf <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:najibgal@yahoo.com" target="_blank" href="mailto:najibgal@yahoo.com">najibgal@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv2211168187gmail_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="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082">Hello Denish,</div><div id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082">[1] TES-Aura_L2-O3-Nadir_ Megacity_v006_Litev08</div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082">[2] I tried opening the data "ncdump" it has open but not in readable format.</div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082">[3] NCL version 6.3.0</div><span class="yiv2211168187HOEnZb"><font color="#888888"></font></span><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082">Najib</div><div><div class="yiv2211168187h5"><div id="yiv2211168187m_4253948981041010272yui_3_16_0_ym19_1_1487234697222_29082"><br clear="none"></div> <div class="yiv2211168187m_4253948981041010272qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv2211168187m_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 rel="nofollow" shape="rect" ymailto="mailto:shea@ucar.edu" target="_blank" href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br clear="none"></font></div> <br clear="none"><br clear="none"> <div class="yiv2211168187m_4253948981041010272y_msg_container"><div id="yiv2211168187m_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="yiv2211168187m_4253948981041010272yiv8220239606gmail_extra"><br clear="none"><div class="yiv2211168187m_4253948981041010272yiv8220239606gmail_quote">On Thu, Feb 16, 2017 at 1:54 AM, Najib Yusuf <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:najibgal@yahoo.com" target="_blank" href="mailto:najibgal@yahoo.com">najibgal@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv2211168187m_4253948981041010272yiv8220239606gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv2211168187m_4253948981041010272yiv8220239606yqt2290930492" id="yiv2211168187m_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="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Dear all,</div><div dir="ltr" id="yiv2211168187m_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="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Kindly assist me on how to achieve this.</div><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Thank you.</div><span class="yiv2211168187m_4253948981041010272yiv8220239606HOEnZb"><font color="#888888"></font></span><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324"><br clear="none"></div><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Najib Yusuf</div><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Centre for Atmospheric Research</div><div dir="ltr" id="yiv2211168187m_4253948981041010272yiv8220239606m_8522460107081934798yui_3_16_0_ym19_1_1487234697222_8324">Anyigba. Nigeria.</div><div dir="ltr" id="yiv2211168187m_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" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/ mailman/listinfo/ncl-talk</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div></blockquote></div></div><br clear="none"></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>