[ncl-talk] looping errors in reading HDF5 files

Dennis Shea shea at ucar.edu
Wed Nov 2 07:57:12 MDT 2016


There have been many improvements to NCL's H5 handling since 6.3.0.

Can you please provide one or two sample files?

ftp ftp.cgd.ucar.edu
anonymous
your_email
cd incoming
put GW1AM2_201.......h5
put GW1AM2_201.......h5
quit

Respond to ncl-talk when this has been completeed.

Also, please provide the output from

%> uname -a
%> gcc --V

Regards

On Wed, Nov 2, 2016 at 1:15 AM, QingHE <heq16 at mails.tsinghua.edu.cn> wrote:

> 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
>
> -----------------------------------------------------------------
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161102/e560b619/attachment.html 


More information about the ncl-talk mailing list