<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1493978121223_67612"><span id="yui_3_16_0_ym19_1_1493978121223_67879">Hi Mary and dave. </span></div><div id="yui_3_16_0_ym19_1_1493978121223_67612">Thank you for plotting the Lightning data for me. </div><div id="yui_3_16_0_ym19_1_1493978121223_67612"><br></div><div id="yui_3_16_0_ym19_1_1493978121223_67612">I am using two datasets, LIS (Lightning, which is in HDF4 had issue with this file), and 2A25 which has reflectivity at 80 levels, both are Orbital data sets but with different swaths. Pls see the figures. </div><div id="yui_3_16_0_ym19_1_1493978121223_67612"><br></div><div id="yui_3_16_0_ym19_1_1493978121223_67612" dir="ltr">Lis is plotted at the locations where Lightning is seen. I have to extract the maxZ at the locations where Lightning is seen (pls see the code, this would be 4th level of filtering that I will be doing to my Reflectivity data, ref to fig4.000007.png). </div><div id="yui_3_16_0_ym19_1_1493978121223_67612" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1493978121223_67612" dir="ltr">My purpose is to show that "<b id="yui_3_16_0_ym19_1_1493978121223_77883">severe storms </b>are the ones that have lightning associated with them". Rest can be called as convective echoes. </div><div id="yui_3_16_0_ym19_1_1493978121223_67612" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1493978121223_67612" dir="ltr">My problem is that the Lat/lon of both datasets Do not match. One is a point data and the other is a swath data. </div><div id="yui_3_16_0_ym19_1_1493978121223_67612"><br></div><div id="yui_3_16_0_ym19_1_1493978121223_67612">I want to know if it is possible to do??? and how, what logic</div><div id="yui_3_16_0_ym19_1_1493978121223_67612"><br></div><div id="yui_3_16_0_ym19_1_1493978121223_67612" dir="ltr">you all do a great job in helping us. That is why i am able to move ahead</div><div></div><div id="yui_3_16_0_ym19_1_1493978121223_67610"> thanks</div><div class="signature" id="yui_3_16_0_ym19_1_1493978121223_67608">Geeta.</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_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 Friday, 5 May 2017 4:05 AM, Mary Haley <haley@ucar.edu> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv6674687900"><div><div dir="ltr"><div class="yiv6674687900gmail_default" style="font-size:small;">Geeta,</div><div class="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv6674687900gmail_default" style="font-size:small;">I'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="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv6674687900gmail_default" style="font-size:small;">Also, you attached two plots, but I'm not sure if you are trying to ask a specific question about them.</div><div class="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv6674687900gmail_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="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv6674687900gmail_default" style="font-size:small;">As for the contour plot with the labelbar, I'm assuming this is the reflectivity plot, but again, what is the "non-zero data of LIS"? Is LIS one of the columns of data in your ASCII file?</div><div class="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv6674687900gmail_default" style="font-size:small;">You need to be more specific about what you need.</div><div class="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div><div class="yiv6674687900gmail_default" style="font-size:small;">--Mary</div><div class="yiv6674687900gmail_default" style="font-size:small;"><br clear="none"></div></div><div class="yiv6674687900yqt6093166415" id="yiv6674687900yqt22219"><div class="yiv6674687900gmail_extra"><br clear="none"><div class="yiv6674687900gmail_quote">On Wed, May 3, 2017 at 11:06 PM, Geeta Geeta <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:geetag54@yahoo.com" target="_blank" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv6674687900gmail_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="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><span id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183228">Thanks Mary and Dave. </span></div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><span id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_185059">these files are not avaible in netcdf. Mary's script is plotting it when input file is txt. </span></div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193">I have to try that HDF4->HDF5 tool. </div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><br clear="none"></div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193">Pls tell me when u upload the script for it's conversion to H5. </div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><br clear="none"></div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193">I actually have to extract 2A25 reflectivity data depending on non-zero data of LIS. I am attaching the Figures. </div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><br clear="none"></div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193">I dont know how to do using the txt file. </div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193"><br clear="none"></div><div dir="ltr" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183193">thanks</div><span class="yiv6674687900HOEnZb"><font color="#888888"></font></span><div></div><div id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183192"> </div><div class="yiv6674687900m_-7739091494909923904signature" id="yiv6674687900m_-7739091494909923904yui_3_16_0_ym19_1_1493792079122_183191">Geeta.</div><div><div class="yiv6674687900h5"> <div class="yiv6674687900m_-7739091494909923904qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv6674687900m_-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 <<a rel="nofollow" shape="rect" ymailto="mailto:dbrown@ucar.edu" target="_blank" href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a>> wrote:<br clear="none"></font></div> <br clear="none"><br clear="none"> <div class="yiv6674687900m_-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 rel="nofollow" shape="rect" target="_blank" href="https://ftp.hdfgroup.org/h4toh5/download.html.">https://ftp.hdfgroup.org/ 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 "File I/O Improvements" section of the latest NCL<br clear="none">release notes (<a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/current_release.shtml#FileIOImprovements6.4.0">http://www.ncl.ucar.edu/ current_release.shtml# 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 <<a rel="nofollow" shape="rect" ymailto="mailto:haley@ucar.edu" target="_blank" href="mailto:haley@ucar.edu">haley@ucar.edu</a>> wrote:<br clear="none">> Geeta,<br clear="none">><br clear="none">> This appears to be HDF4 VDATA data, which NCL doesn't currently support. We<br clear="none">> haven't received many requests for this, so it has been very low on our list<br clear="none">> of things to add support for.<br clear="none">><br clear="none">> I added your email to the ticket we have on this (NCL-1195) in case this<br clear="none">> becomes something we need to support.<br clear="none">><br clear="none">> Meanwhile, have you checked around to see if this data is available in<br clear="none">> NetCDF format instead?<br clear="none">><br clear="none">> --Mary<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> On Tue, May 2, 2017 at 5:59 PM, Geeta Geeta <<a rel="nofollow" shape="rect" ymailto="mailto:geetag54@yahoo.com" target="_blank" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>> wrote:<br clear="none">>><br clear="none">>> dear ncl users.<br clear="none">>> I have lighening data (orbital) which I wish to plot. the image downloaded<br clear="none">>> from web is attached.<br clear="none">>> but when I doenload the datafile, from the following link.<br clear="none">>><br clear="none">>> <a rel="nofollow" shape="rect" target="_blank" href="https://lightning.nsstc.nasa.gov/lisib/lis1orbit.exe?which=qc&year=2011&day=104&orbit=76394">https://lightning.nsstc.nasa. gov/lisib/lis1orbit.exe?which= qc&year=2011&day=104&orbit= 76394</a><br clear="none">>><br clear="none">>> <a rel="nofollow" shape="rect" ymailto="mailto:aditya@agniilap" target="_blank" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/ MYLIS$ ../bin/ncl trmm.lis.ncl<br clear="none">>> Copyright (C) 1995-2014 - All Rights Reserved<br clear="none">>> University Corporation for Atmospheric Research<br clear="none">>> NCAR Command Language Version 6.2.1<br clear="none">>> The use of this software is governed by a License Agreement.<br clear="none">>> See <a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/ </a>for more details.<br clear="none">>><br clear="none">>> Variable: hdf4_file<br clear="none">>> Type: file<br clear="none">>> File path: ./test.HDF<br clear="none">>> Number of global attributes: 0<br clear="none">>> Number of dimensions: 0<br clear="none">>> Number of variables: 0<br clear="none">>> warning:getfilevarnames: test contains no variables readable by NCL<br clear="none">>> (0) missing<br clear="none">>> I get this message.<br clear="none">>><br clear="none">>> pls help me how to check the data file.<br clear="none">>><br clear="none">>> Geeta.<br clear="none">>><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><div class="yiv6674687900m_-7739091494909923904yqt4965764296" id="yiv6674687900m_-7739091494909923904yqtfd50986"><br clear="none">>><br clear="none">><br clear="none">><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"></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div></blockquote></div><br clear="none"></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>