<div dir="ltr"><div><div><div>Hi Wei &amp; Jianfu,<br><br></div>I am curious about the meaning of &quot;=&gt;/&quot;. Could you please exploit it a little bit? And what are the differences of &quot;=&gt;/&quot;, &quot;=&gt;&quot;, &quot;-&gt;/&quot;, and &quot;-&gt;&quot;? Actually, I only use &quot;-&gt;&quot; while I read variables from NCL supported files (like .nc, .hdf files). Thank you.<br><br></div>Best,<br></div>Zhifeng<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 3:33 PM, Pan, Jianfu (GSFC-423.0)[COLUMBUS TECHNOLOGIES AND SERVICES INC] <span dir="ltr">&lt;<a href="mailto:jianfu.pan@nasa.gov" target="_blank">jianfu.pan@nasa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div link="blue" vlink="purple" lang="EN-US">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Wei,<br>
<span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black"><br>
Adding &quot;/&quot; to the group name, g = f=&gt;/Global_Projection</span>, didn&#39;t seem to help.  I&#39;ll try the new version of NCL.  Thanks!<br>
<br>
Jianfu<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Wei Huang [<a href="mailto:whuang@univ-wea.com" target="_blank">whuang@univ-wea.com</a>]<br>
<b>Sent:</b> Tuesday, July 14, 2015 2:29 PM<div><div class="h5"><br>
<b>To:</b> Pan, Jianfu (GSFC-423.0)[COLUMBUS TECHNOLOGIES AND SERVICES INC]; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> RE: ncl core dump when accessing hdf5 group<br>
</div></div></font><br>
</div><div><div class="h5">
<div></div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Jianfu,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">You may try switch from:</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">g = f=&gt;Global_Projection           </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">to</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">g = f=&gt;/Global_Projection           </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">to see if it makes a difference.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Also, NCL has released 6.3.0, you may want to update your NCL,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">As there are quite few bug fixed regarding read HDF5 files.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:17.0pt;font-family:&quot;Lucida Handwriting&quot;;color:#1f497d">Wei Huang</span></b><span style="font-size:9.5pt;font-family:&quot;Lucida Handwriting&quot;;color:#222222"></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Pan, Jianfu (GSFC-423.0)[COLUMBUS TECHNOLOGIES AND SERVICES INC] [mailto:<a href="mailto:jianfu.pan@nasa.gov" target="_blank">jianfu.pan@nasa.gov</a>]
<br>
<b>Sent:</b> Tuesday, July 14, 2015 2:22 PM<br>
<b>To:</b> Wei Huang; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> RE: ncl core dump when accessing hdf5 group</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">Thanks Wei for your quick response.  I was able to dump or print(f).  It has too much text to put it here, including metadata in
 ISO XML format.  The following is part of the printout.  Thanks.  -Jianfu<br>
<br>
ncl_filedump outputs:<br>
Copyright (C) 1995-2014 - All Rights Reserved<br>
 University Corporation for Atmospheric Research<br>
 NCAR Command Language Version 6.2.1<br>
 The use of this software is governed by a License Agreement.<br>
 See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
<br>
Variable: f<br>
Type: file<br>
filename:       SMAP_L1C_TB_00869_D_20150331T235250_R11340_001<br>
path:   /SMAP/SPL1CTB/SMAP_L1C_TB_00869_D_20150331T235250_R11340_001.h5<br>
   file global attributes:<br>
   dimensions:<br>
      DIM_000 = 8286<br>
      DIM_001 = 8162<br>
      DIM_002 = 16521<br>
   variables:<br>
      group &lt;/Global_Projection&gt;<br>
<br>
<br>
      float cell_antenna_scan_angle_aft ( DIM_002 )<br>
         _FillValue :   -9999<br>
         coordinates :  /Global_Projection/cell_lat /Global_Projection/cell_lon<br>
         long_name :    Representative scan angle of the SMAP antenna on the spacecraft for all aft looking footprints within the cell.<br>
         units :        degreesntative scan angle of the SMAP antenna on the spacecraft for all aft looking footprints within the cell.<br>
         valid_max :    359.999<br>
         valid_min :     0<br>
......<br>
      ushort cell_tb_qual_flag_3_aft ( DIM_002 )<br>
         _FillValue :   65534<br>
         coordinates :  /Global_Projection/cell_lat /Global_Projection/cell_lonrature for all forward looking footprints that fall within the grid cell.thin the grid cell.l.the grid cell.vector for forward looking footprints within the cell.<br>
         flag_masks :   1s, 2s, 4s, 8s, 16s, 32s, 64s, 128s, 256s, 512s, 1024s, 4096s, 8192s, 16384sd looking footprints that fall within the grid cell.thin the grid cell.l.the grid cell.vector for forward looking footprints within the cell.<br>
         flag_meanings :        Aft_looking_3rd_Stokes_quality_flag Aft_looking_3rd_Stokes_range_flag Aft_looking_3rd_Stokes_RFI_clean_flag Aft_looking_3rd_Stokes_RFI_repair_flag Aft_looking_3rd_Stokes_NEDT_flag Aft_looking_3rd_Stokes_direct_sun_correction
 Aft_looking_3rd_Stokes_reflected_sun_correction Aft_looking_3rd_Stokes_reflected_moon_correction Aft_looking_3rd_Stokes_direct_galaxy_correction Aft_looking_3rd_Stokes_reflected_galaxy_correction Aft_looking_3rd_Stokes_correction_for_atmospheric_conditions
 Aft_looking_3rd_Stokes_null_value_bit Aft_looking_3rd_Stokes_parameter_half_orbit_location Aft_looking_3rd_Stokes_RFI_check<br>
         long_name :    Bit flags that represent the quality of the aft looking third stokes parameters within each grid cell._flag Aft_looking_3rd_Stokes_RFI_repair_flag Aft_looking_3rd_Stokes_NEDT_flag Aft_looking_3rd_Stokes_direct_sun_correction Aft_looking_3rd_Stokes_reflected_sun_correction
 Aft_looking_3rd_Stokes_reflected_moon_correction Aft_looking_3rd_Stokes_direct_galaxy_correction Aft_looking_3rd_Stokes_reflected_galaxy_correction Aft_looking_3rd_Stokes_correction_for_atmospheric_conditions Aft_looking_3rd_Stokes_null_value_bit Aft_looking_3rd_Stokes_parameter_half_orbit_location
 Aft_looking_3rd_Stokes_RFI_check<br>
...</span></p>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="color:black">
<hr align="center" size="2" width="100%">
</span></div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black"> Wei Huang [<a href="mailto:whuang@univ-wea.com" target="_blank">whuang@univ-wea.com</a>]<br>
<b>Sent:</b> Tuesday, July 14, 2015 2:06 PM<br>
<b>To:</b> Pan, Jianfu (GSFC-423.0)[COLUMBUS TECHNOLOGIES AND SERVICES INC]; <a href="mailto:ncl-talk@ucar.edu" target="_blank">
ncl-talk@ucar.edu</a><br>
<b>Subject:</b> RE: ncl core dump when accessing hdf5 group</span><span style="color:black"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Jianfu,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Do a “ncl_filedump your-filename”,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Or a “print(f)” after opened the file,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Will help you and the people who is willing to help.</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span style="color:black"></span></p>
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:17.0pt;font-family:&quot;Lucida Handwriting&quot;;color:#1f497d">Wei Huang</span></b><span style="color:black"></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span style="color:black"></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">
<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a> [<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">mailto:ncl-talk-bounces@ucar.edu</a>]
<b>On Behalf Of </b>Pan, Jianfu (GSFC-423.0)[COLUMBUS TECHNOLOGIES AND SERVICES INC]<br>
<b>Sent:</b> Tuesday, July 14, 2015 2:02 PM<br>
<b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> [ncl-talk] ncl core dump when accessing hdf5 group</span><span style="color:black"></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:black">When I tried to access an h5 group in ncl, I got a core dump.  Does anyone know if there is a limit on the amount of data or number of variables an h5 group
 can have?  Here is the snippet:<br>
<br>
f = addfile(&quot;smap_L1C_file.h5&quot;, &quot;r&quot;)<br>
g = f=&gt;Global_Projection            ; Core dump happens here<br>
<br>
I&#39;m using ncl version 6.2.1.  Thank you.<br>
<br>
Jianfu</span><span style="color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>