Re: Fwd: Problem reading HDF5 data

From: H. Joe Lee <hyoklee_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 04 2013 - 08:52:14 MDT

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 08:52:23 2013

This archive was generated by hypermail 2.1.8 : Tue Jun 04 2013 - 09:50:17 MDT