<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>There have been many improvements to NCL's H5 handling since 6.3.0.<br><br></div>Can you please provide one or two sample files? <br><br></div>ftp <a href="http://ftp.cgd.ucar.edu">ftp.cgd.ucar.edu</a><br></div>anonymous<br></div>your_email<br></div>cd incoming<br></div>put GW1AM2_201.......h5<br>put GW1AM2_201.......h5<br></div>quit<br><br></div>Respond to ncl-talk when this has been completeed.<br><br></div>Also, please provide the output from<br><br></div>%> uname -a<br></div>%> gcc --V<br><br></div>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 2, 2016 at 1:15 AM, QingHE <span dir="ltr"><<a href="mailto:heq16@mails.tsinghua.edu.cn" target="_blank">heq16@mails.tsinghua.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I'm trying to use a loop to read multiple files which format is HDF5 ,but I'm getting this error:</div><div><br></div><div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div> #000: H5D.c line 340 in H5Dopen2(): not a location</div><div> major: Invalid arguments to routine</div><div> minor: Inappropriate type</div><div> #001: H5Gloc.c line 173 in H5G_loc(): invalid file ID</div><div> major: Invalid arguments to routine</div><div> minor: Bad value</div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div> #000: H5D.c line 534 in H5Dget_type(): not a dataset</div><div> major: Invalid arguments to routine</div><div> minor: Inappropriate type</div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div> #000: H5D.c line 460 in H5Dget_space(): not a dataset</div><div> major: Invalid arguments to routine
</div><div> minor: Inappropriate type</div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div> #000: H5S.c line 1739 in H5Sget_simple_extent_type(): not a dataspace</div><div> major: Invalid arguments to routine</div><div> minor: Inappropriate type</div><div>fatal:["NclNewHDF5.c":4154]:</div><div>Unknown space_type: -1, file: NclNewHDF5.c, line: 4154</div></div><div><br></div><div>I'm wondering whether it is due to the language of my script or the bug of NCL v6.3.0 becuase when I read the single HDF5 file ,the script works well with it.The script is uploaded to the attachment,and I'm looking forward to getting help from you.</div><div><br></div><div>Many thanks and regards.</div><div><br></div><div>Yours Sincerely,</div><div>QingHE</div><div>Nov. 2, 2016</div><div><br></div><div><br></div><div><br></div><br><span>--<br><div><br></div><div><pre style="white-space:pre-wrap;word-wrap:break-word;width:1076.34px;line-height:23.324px">------------------------------<wbr>------------------------------<wbr>-----</pre></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:21.658px"><font size="2">Qing.He, Dr.Sc</font></span></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:21.658px"><font size="2">Center for Earth System Science, Tsinghua University</font></span></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"><font size="2">Address: Meng Minwei Building, Tsinghua University, Haidian District, Beijing, 100084, China</font></span></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"><font size="2">Phone: <a href="tel:%2B86-18800116539" value="+8618800116539" target="_blank">+86-18800116539</a></font></span></div><div><span style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px"><font size="2">E-mail: <a href="mailto:heq16@mails.tsinghua.edu.cn" target="_blank">heq16@mails.tsinghua.edu.cn</a></font></span></div><div><pre>------------------------------<wbr>------------------------------<wbr>-----</pre></div><div><p dir="ltr" style="font-family:Helvetica,'Microsoft Yahei',verdana;line-height:23.324px;margin-right:0px"><font size="2"></font></p></div></span><br><br><br><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>