<div dir="ltr"><div>Attached is a script.<br><br></div><div>The golden rules of data processing are: (a) Know your data; (b) Look at your data; (c) Think about what you are doing.<br><br></div>It is *your* responsibility to read and understand the TRMM binary data structure and netCDF structure. The attached script is a guide to help you. It may work directly. It is your responsibility to (1) look carefully at what it does; (2) look up functions that it is calling; (3) read the documentation of the functions; <br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 23, 2016 at 5:07 AM, Marston Johnston <span dir="ltr"><<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" link="blue" vlink="purple" lang="EN-GB"><div class="m_2306048099044948314WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Without your script we cannot do anything to help the situation.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">It is a good idea to post enough info for us to help. I hope you have modified the NCL script you copied online to suit your particular needs. Check where you got the TRMM file for info on what type of binary file it is and how to read it. They might even have a script of their own. The more info you have about the data, the more it helps you understand what’s going wrong, and the more we can do to help you.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">/M<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span></b><span style="font-family:Calibri;color:black">Arunima Singh <<a href="mailto:arunima@vassarlabs.com" target="_blank">arunima@vassarlabs.com</a>><br><b>Date: </b>Wednesday, 23 November 2016 at 13:00<br><b>To: </b>Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>>, <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br><b>Subject: </b>Re: [ncl-talk] How to convert TRMM real time binary file to netcdf format<u></u><u></u></span></p></div><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Hi,</span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Thanks for suggestion.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">I ran ncl script but got following error : fatal:syntax error: line 1 in file 3B42RT.<a href="tel:2016112303" value="+12016112303" target="_blank">2016112303</a>.7.bin before or near 42<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">PFA screenshot for reference.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Thanks and Regards.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt">Arunima Singh.<u></u><u></u></span></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Nov 23, 2016 at 5:19 PM, Arunima Singh <<a href="mailto:arunima@vassarlabs.com" target="_blank">arunima@vassarlabs.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks for suggestion.<u></u><u></u></p></div><div><p class="MsoNormal">I ran ncl script but got following error : fatal:syntax error: line 1 in file 3B42RT.<a href="tel:2016112303" value="+12016112303" target="_blank">2016112303</a>.7.bin before or near 42<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">PFA screenshot for reference <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Wed, Nov 23, 2016 at 4:06 PM, Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Hi,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">“ncdump” is a netcdf command that reads netcdf data files. It is not a tool for reading binary data or conversion to netcdf. </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">For that you will have to read in the TRMM data in NCL and write the results to a netcdf file.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Take a look at NCL script:</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><a href="http://www.ncl.ucar.edu/Applications/Scripts/trmm_3B42RT_1.ncl" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/Scripts/trmm_<wbr>3B42RT_1.ncl</a></span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Best,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">/M</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span></b><span style="font-family:Calibri;color:black"><<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>> on behalf of Arunima Singh <<a href="mailto:arunima@vassarlabs.com" target="_blank">arunima@vassarlabs.com</a>><br><b>Date: </b>Wednesday, 23 November 2016 at 11:29<br><b>To: </b><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br><b>Subject: </b>[ncl-talk] How to convert TRMM real time binary file to netcdf format</span><u></u><u></u></p></div><div><div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Can we convert TRMM near real time binary file to netcdf format using ncdump command ?<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Regards.<u></u><u></u></p></div><div><p class="MsoNormal">Arunima Singh.<u></u><u></u></p></div></div></div></div><p class="MsoNormal">______________________________<wbr>_________________ ncl-talk mailing list <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> List instructions, subscriber options, unsubscribe: <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a> <u></u><u></u></p></div></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>