<div dir="ltr"><div class="gmail_default" style="font-size:small">Xiaoli,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks for providing the file offline.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I was able to read this data using NCL V6.4.0. There is indeed a problem if you read it with NCL V6.3.0.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've attached the simple script I used, to try two reading two different precip variables, using two different methods for reading the group data. Both methods resulted in the same min/max being printed:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><div class="gmail_default"><div class="gmail_default">min=0 max=265.672</div><div class="gmail_default">min=0 max=294.619</div><div class="gmail_default">min=0 max=265.672</div><div class="gmail_default">min=0 max=294.619</div><div class="gmail_default">difference between two methods for HS group : min=0 max=0</div><div class="gmail_default">difference between two methods for NS group : min=0 max=0</div><div class="gmail_default"><br></div><div class="gmail_default">If you are running NCL V6.3.0, then I suggest that you upgrade to 6.4.0. The easy way to upgrade may be with conda:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Download/conda.shtml">http://www.ncl.ucar.edu/Download/conda.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 2:25 PM, Liu, Xiaoli <span dir="ltr"><<a href="mailto:xiaoli.liu@ou.edu" target="_blank">xiaoli.liu@ou.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-5363809035931338943divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-5363809035931338943divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Liu, Xiaoli <<a href="mailto:xiaoli.liu@ou.edu" target="_blank">xiaoli.liu@ou.edu</a>><br>
<b>Sent:</b> Wednesday, August 30, 2017 6:18 AM<br>
<b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Can't got value of variables other than Lat and Lon</font>
<div> </div>
</div>
<div>
<div id="m_-5363809035931338943divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p>Hello,</p>
<p>I want use the data of GPM <span>2A.GPM.DPR.V7 with NCL. I found that I can get the value of Lat and lon correctlly. But as to the other variables, the value got is very unusal.</span></p>
<p><span>Here is my script:</span></p>
<p><span></span></p>
<div> dir="/scratch/liu4119/gpm/<wbr>data/"</div>
<div> FILES=systemfunc(" ls -1 "+dir+"*.HDF5")</div>
<div> numFILES = dimsizes(FILES)</div>
<div>; print("numFILES = " + numFILES)</div>
<div>; print(FILES)</div>
<div>; print (" ")</div>
<div> do i=32,32 </div>
<div> h5_file = addfile(FILES(i),"r") </div>
<div>; g = h5_file=>/NS </div>
<div>; print(g) </div>
<div>; g1=g=>/SLV</div>
<div>; print(g1) </div>
<div>; list_filevars(g)</div>
<div> data_raw = h5_file->/NS/SLV/<wbr>precipRateESurface</div>
<div> print(data_raw(5396,:))</div>
<div> data = data_raw</div>
<div> data@long_name = "precipRate"</div>
<div> data@_FillValue = -9999.9</div>
<div> data@units = data_raw@Units</div>
<div> longitude=h5_file->/NS/<wbr>Longitude</div>
<div> printVarSummary(longitude)</div>
<div> latitude=h5_file->/NS/Latitude</div>
<div> print(latitude(5396,:))</div>
<div> print(longitude(5396,:))</div>
<div> printVarSummary(latitude)</div>
<div><br>
</div>
<img size="25095" id="m_-5363809035931338943img721" style="max-width:99.9%" src="cid:c1ec0f44-513a-44d6-964c-a1000a7b32ce"><br>
<img size="33981" id="m_-5363809035931338943img221087" style="max-width:99.9%" src="cid:891609e8-6d88-4b50-ace4-52853a685e3f"><br>
<img size="32193" id="m_-5363809035931338943img26098" style="max-width:99.9%" src="cid:ab77d561-deb8-4ef8-82d6-06293786eb5d"><br>
Thanks!
<span class="HOEnZb"><font color="#888888"><p></p>
<p><span>Xiaoli</span></p>
</font></span></div>
</div>
</div>
</div>
</div>
</blockquote></div><br></div>