<div dir="ltr"><div class="gmail_default" style="font-size:small">Geeta,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;m not clear on your question about extracting 2A25 reflectivity data depending on non-zero data of LIS. The text file I was looking at yesterday had no header information, so I have no idea what the various columns mean.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, you attached two plots, but I&#39;m not sure if you are trying to ask a specific question about them.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I just plotted every lat/lon point that you had, which is what I assume is what you used to create the lightning marker plot. Is there something more you need to do with this particular plot?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As for the contour plot with the labelbar, I&#39;m assuming this is the reflectivity plot, but again, what is the &quot;non-zero data of LIS&quot;? Is LIS one of the columns of data in your ASCII file?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You need to be more specific about what you need.</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"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 3, 2017 at 11:06 PM, Geeta Geeta <span dir="ltr">&lt;<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>&gt;</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:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><span id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183228">Thanks Mary and Dave. </span></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><span id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_185059">these files are not avaible in netcdf.  Mary&#39;s script is plotting it when input file is txt. </span></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">I have to try that HDF4-&gt;HDF5 tool. </div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">Pls tell me when u upload the script for it&#39;s conversion to H5. </div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">I actually have to extract 2A25 reflectivity data depending on non-zero data of LIS. I am attaching the Figures. </div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">I dont know how to do using the txt file. </div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">thanks</div><span class="HOEnZb"><font color="#888888"><div></div><div id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183192"> </div><div class="m_-7739091494909923904signature" id="m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183191">Geeta.</div></font></span><div><div class="h5"> <div class="m_-7739091494909923904qtdSeparateBR"><br><br></div><div class="m_-7739091494909923904yahoo_quoted" style="display:block"> <div style="font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"> <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 Thursday, 4 May 2017 12:22 AM, David Brown &lt;<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>&gt; wrote:<br></font></div>  <br><br> <div class="m_-7739091494909923904y_msg_container"><div dir="ltr">Hi Geeta,<br clear="none"><br clear="none">As Mary says, NCL does not currently support the Vdata type in HDF4,<br clear="none">but there is a tool called h4toh5 that you can download from the HDF<br clear="none">group site at <a shape="rect" href="https://ftp.hdfgroup.org/h4toh5/download.html." target="_blank">https://ftp.hdfgroup.org/<wbr>h4toh5/download.html. </a>It was a<br clear="none">little hard to build on my Mac, but eventually I managed. (I would be<br clear="none">happy to fill you in on the details -- although you may be able to use<br clear="none">the binaries if you are working on Linux.)  It will convert HDF4 files<br clear="none">to HDF5. The Vdata type is converted to the HDF5 compound data type,<br clear="none">which NCL is able to interpret.I<br clear="none">I am attaching a print out of the output from ncl_filedump on the<br clear="none">converted test.h5 file. I will also upload test.h5 to the ftp site so<br clear="none">you can try it for yourself.<br clear="none">You should definitely use NCL 6.4.0 to work with this file. Also you<br clear="none">should read the &quot;File I/O Improvements&quot; section of the latest NCL<br clear="none">release notes (<a shape="rect" href="http://www.ncl.ucar.edu/current_release.shtml#FileIOImprovements6.4.0" target="_blank">http://www.ncl.ucar.edu/<wbr>current_release.shtml#<wbr>FileIOImprovements6.4.0</a>)<br clear="none">for information on working with groups and compound data in NCL 6.4.0.<br clear="none">Hope this helps.<br clear="none"> -dave<br clear="none"><br clear="none">On Wed, May 3, 2017 at 12:01 PM, Mary Haley &lt;<a shape="rect" href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:<br clear="none">&gt; Geeta,<br clear="none">&gt;<br clear="none">&gt; This appears to be HDF4 VDATA data, which NCL doesn&#39;t currently support. We<br clear="none">&gt; haven&#39;t received many requests for this, so it has been very low on our list<br clear="none">&gt; of things to add support for.<br clear="none">&gt;<br clear="none">&gt; I added your email to the ticket we have on this (NCL-1195) in case this<br clear="none">&gt; becomes something we need to support.<br clear="none">&gt;<br clear="none">&gt; Meanwhile, have you checked around to see if this data is available in<br clear="none">&gt; NetCDF format instead?<br clear="none">&gt;<br clear="none">&gt; --Mary<br clear="none">&gt;<br clear="none">&gt;<br clear="none">&gt;<br clear="none">&gt;<br clear="none">&gt; On Tue, May 2, 2017 at 5:59 PM, Geeta Geeta &lt;<a shape="rect" href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>&gt; wrote:<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; dear ncl users.<br clear="none">&gt;&gt; I have lighening data (orbital) which I wish to plot. the image downloaded<br clear="none">&gt;&gt; from web is attached.<br clear="none">&gt;&gt; but when I doenload the datafile, from the following link.<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; <a shape="rect" href="https://lightning.nsstc.nasa.gov/lisib/lis1orbit.exe?which=qc&amp;year=2011&amp;day=104&amp;orbit=76394" target="_blank">https://lightning.nsstc.nasa.<wbr>gov/lisib/lis1orbit.exe?which=<wbr>qc&amp;year=2011&amp;day=104&amp;orbit=<wbr>76394</a><br clear="none">&gt;&gt;<br clear="none">&gt;&gt; <a shape="rect" href="mailto:aditya@agniilap" target="_blank">aditya@agniilap</a>:~/geeta/ncl/<wbr>MYLIS$ ../bin/ncl trmm.lis.ncl<br clear="none">&gt;&gt;  Copyright (C) 1995-2014 - All Rights Reserved<br clear="none">&gt;&gt;  University Corporation for Atmospheric Research<br clear="none">&gt;&gt;  NCAR Command Language Version 6.2.1<br clear="none">&gt;&gt;  The use of this software is governed by a License Agreement.<br clear="none">&gt;&gt;  See <a shape="rect" href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; Variable: hdf4_file<br clear="none">&gt;&gt; Type: file<br clear="none">&gt;&gt; File path: ./test.HDF<br clear="none">&gt;&gt; Number of global attributes: 0<br clear="none">&gt;&gt; Number of dimensions: 0<br clear="none">&gt;&gt; Number of variables: 0<br clear="none">&gt;&gt; warning:getfilevarnames: test contains no variables readable by NCL<br clear="none">&gt;&gt; (0) missing<br clear="none">&gt;&gt; I get this message.<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; pls help me how to check the data file.<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; Geeta.<br clear="none">&gt;&gt;<br clear="none">&gt;&gt; ______________________________<wbr>_________________<br clear="none">&gt;&gt; ncl-talk mailing list<br clear="none">&gt;&gt; <a shape="rect" href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br clear="none">&gt;&gt; List instructions, subscriber options, unsubscribe:<br clear="none">&gt;&gt; <a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><div class="m_-7739091494909923904yqt4965764296" id="m_-7739091494909923904yqtfd50986"><br clear="none">&gt;&gt;<br clear="none">&gt;<br clear="none">&gt;<br clear="none">&gt; ______________________________<wbr>_________________<br clear="none">&gt; ncl-talk mailing list<br clear="none">&gt; <a shape="rect" href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br clear="none">&gt; List instructions, subscriber options, unsubscribe:<br clear="none">&gt; <a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br clear="none">&gt;<br clear="none"></div></div><br><br></div>  </div> </div>  </div></div></div></div></div></blockquote></div><br></div>