<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Handwriting";
        panose-1:3 1 1 1 1 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jianfu,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You may try switch from:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">g = f=>Global_Projection <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">to<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">g = f=>/Global_Projection <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">to see if it makes a difference.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also, NCL has released 6.3.0, you may want to update your NCL,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">As there are quite few bug fixed regarding read HDF5 files.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:17.0pt;font-family:"Lucida Handwriting";color:#1F497D">Wei Huang</span></b><span style="font-size:9.5pt;font-family:"Lucida Handwriting";color:#222222"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Pan, Jianfu (GSFC-423.0)[COLUMBUS TECHNOLOGIES AND SERVICES INC] [mailto:jianfu.pan@nasa.gov]
<br>
<b>Sent:</b> Tuesday, July 14, 2015 2:22 PM<br>
<b>To:</b> Wei Huang; ncl-talk@ucar.edu<br>
<b>Subject:</b> RE: ncl core dump when accessing hdf5 group<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";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/">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 </Global_Projection><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>
...<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div id="divRpF470561">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> Wei Huang [whuang@univ-wea.com]<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">
ncl-talk@ucar.edu</a><br>
<b>Subject:</b> RE: ncl core dump when accessing hdf5 group</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jianfu,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Do a “ncl_filedump your-filename”,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Or a “print(f)” after opened the file,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Will help you and the people who is willing to help.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:17.0pt;font-family:"Lucida Handwriting";color:#1F497D">Wei Huang</span></b><span style="color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></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:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
<a href="mailto:ncl-talk-bounces@ucar.edu">ncl-talk-bounces@ucar.edu</a> [<a href="mailto:ncl-talk-bounces@ucar.edu">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">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> [ncl-talk] ncl core dump when accessing hdf5 group</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";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("smap_L1C_file.h5", "r")<br>
g = f=>Global_Projection ; Core dump happens here<br>
<br>
I'm using ncl version 6.2.1. Thank you.<br>
<br>
Jianfu</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>