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>&nbsp; #000: H5D.c line 340 in H5Dopen2(): not a location</div><div>&nbsp; &nbsp; major: Invalid arguments to routine</div><div>&nbsp; &nbsp; minor: Inappropriate type</div><div>&nbsp; #001: H5Gloc.c line 173 in H5G_loc(): invalid file ID</div><div>&nbsp; &nbsp; major: Invalid arguments to routine</div><div>&nbsp; &nbsp; minor: Bad value</div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div>&nbsp; #000: H5D.c line 534 in H5Dget_type(): not a dataset</div><div>&nbsp; &nbsp; major: Invalid arguments to routine</div><div>&nbsp; &nbsp; minor: Inappropriate type</div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div>&nbsp; #000: H5D.c line 460 in H5Dget_space(): not a dataset</div><div>&nbsp; &nbsp; major: Invalid arguments to routine
 </div><div>&nbsp; &nbsp; minor: Inappropriate type</div><div>HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:</div><div>&nbsp; #000: H5S.c line 1739 in H5Sget_simple_extent_type(): not a dataspace</div><div>&nbsp; &nbsp; major: Invalid arguments to routine</div><div>&nbsp; &nbsp; 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;">-----------------------------------------------------------------</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: &nbsp;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: +86-18800116539</font></span></div><div><span style="font-family: Helvetica, 'Microsoft Yahei', verdana; line-height: 23.324px;"><font size="2">E-mail: heq16@mails.tsinghua.edu.cn</font></span></div><div><pre style="white
 -space: pre-wrap; word-wrap: break-word; width: 1076.34px; line-height: 23.324px;">-----------------------------------------------------------------</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>