<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_1493792079122_183193"><span id="yui_3_16_0_ym19_1_1493792079122_183228">Thanks Mary and Dave. </span></div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><span id="yui_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 id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">I have to try that HDF4->HDF5 tool. </div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">Pls tell me when u upload the script for it's conversion to H5. </div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="yui_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="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">I dont know how to do using the txt file. </div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1493792079122_183193" dir="ltr">thanks</div><div></div><div id="yui_3_16_0_ym19_1_1493792079122_183192"> </div><div class="signature" id="yui_3_16_0_ym19_1_1493792079122_183191">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 Thursday, 4 May 2017 12:22 AM, David Brown <dbrown@ucar.edu> wrote:<br></font></div> <br><br> <div class="y_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/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 shape="rect" href="http://www.ncl.ucar.edu/current_release.shtml#FileIOImprovements6.4.0" target="_blank">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 shape="rect" ymailto="mailto:haley@ucar.edu" 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 shape="rect" ymailto="mailto:geetag54@yahoo.com" 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 shape="rect" href="https://lightning.nsstc.nasa.gov/lisib/lis1orbit.exe?which=qc&year=2011&day=104&orbit=76394" target="_blank">https://lightning.nsstc.nasa.gov/lisib/lis1orbit.exe?which=qc&year=2011&day=104&orbit=76394</a><br clear="none">>><br clear="none">>> <a shape="rect" ymailto="mailto:aditya@agniilap" 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 shape="rect" href="http://www.ncl.ucar.edu/" target="_blank">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 shape="rect" ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">>> List instructions, subscriber options, unsubscribe:<br clear="none">>> <a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><div class="yqt4965764296" id="yqtfd50986"><br clear="none">>><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> ncl-talk mailing list<br clear="none">> <a shape="rect" ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">> List instructions, subscriber options, unsubscribe:<br clear="none">> <a 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"></div></div><br><br></div> </div> </div> </div></div></body></html>