[ncl-talk] looping errors in reading HDF5 files

QingHE heq16 at mails.tsinghua.edu.cn
Wed Nov 2 01:15:27 MDT 2016


Hi,


I'm trying to use a loop to read multiple files which format is HDF5 ,but I'm getting this error:


HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5D.c line 340 in H5Dopen2(): not a location
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: H5Gloc.c line 173 in H5G_loc(): invalid file ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5D.c line 534 in H5Dget_type(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5D.c line 460 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: H5S.c line 1739 in H5Sget_simple_extent_type(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
fatal:["NclNewHDF5.c":4154]:
Unknown space_type: -1, file: NclNewHDF5.c, line: 4154


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.


Many thanks and regards.


Yours Sincerely,
QingHE
Nov. 2, 2016







--



-----------------------------------------------------------------
Qing.He, Dr.Sc
Center for Earth System Science, Tsinghua University
Address:  Meng Minwei Building, Tsinghua University, Haidian District, Beijing, 100084, China
Phone: +86-18800116539
E-mail: heq16 at mails.tsinghua.edu.cn
-----------------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161102/dd7a22f5/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amsr2_ansm.ncl
Type: application/octet-stream
Size: 3513 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161102/dd7a22f5/attachment.obj 


More information about the ncl-talk mailing list