Hi,
i'm trying to read data in HDF5 format with multiple groups .
This is the first part of "ncdump $namefile.h5":
netcdf \2013-05-03-13-00-00.itspc.PVOL.0 {
// global attributes:
:Conventions = "ODIM_H5/V2_0" ;
group: dataset1 {
group: data1 {
dimensions:
phony_dim_0 = 450 ;
phony_dim_1 = 500 ;
variables:
ushort data(phony_dim_0, phony_dim_1) ;
data: ......
"
When i try to read de data variable of the group "/dataset1/data1" i get
segmentation fault.
This is the code of my script:
"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("20130503/2013-05-03-13-00-00.itspc.PVOL.0.h5","r")
g= f=>dataset2/data1
vel= g->data
end"
Is there something wrong in my script? How can I read the variables
correctly?
Thanks a lot.
-- Andrea
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 3 17:23:06 2013
This archive was generated by hypermail 2.1.8 : Tue Jun 04 2013 - 09:50:17 MDT