Re: Fwd: Problem reading HDF5 data

From: Andrea Chini <andrea.chini_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 04 2013 - 13:44:12 MDT

Hi,

yes that was the problem. I've found out that the "Segmentation fault" depend on the printVarSummary(g).

Thanks a lot.

Andrea

On Tuesday 4 June 2013 09:52:14 you wrote:
> Hi, Andrea
>
> I think you forgot to add '/' at the beginning.
>
> I tried your file and the script below worked fine:
> --------------------------------
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>
> begin
>
> f=addfile("file.h5","r")
>
> g=f->/dataset2/data1/data
> printVarSummary(g)
>
> end
> --------------------------------
> --
> HDF: Software that Powers Science
>
>
> On Mon, Jun 3, 2013 at 6:37 PM, Andrea Chini
> <andrea.chini@meteonetwork.it> wrote:
> > I have NCL 6.1.2 in a arch linux 64 bit system with kernel 3.9.2-1.
> >
> > I've uploaded the file (file.h5) in ftp server.
> >
> >
> > Andrea
> >
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jun 4 13:44:28 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 11 2013 - 12:03:58 MDT