From: Tess on
Yes! Done. Thank you.

This is a long shot, but do you have any idea whether there is any intention to add the subsetting functionality of hdfread (for HDF4) into hdf5read? That was so much simpler.

"Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.u2t76p0ya5ziv5(a)uthamaa.dhcp.mathworks.com>...
> On Tue, 03 Nov 2009 16:09:01 -0500, Tess <tess.brandon(a)noaa.gov> wrote:
>
> > I just ran your code and realized that while you defined the memory
> > space to be rank 3, [x y z], the output is only one value. The way
> > you've defined start, stride and count, you should have ended up with a
> > 1x3 vector. I need to be able to subset, say, a [1x512x512] slice of
> > data.
>
> With this:
> start=[7 18 26];
> stride=[1 1 1];
> count=[1 1 1]; block=[ ];
>
> Count is the number of data points along that specific dimension.
> Total number of actual data points selected is 1x1x1 = 1
>
>
> Did you consider using this:
>
> start=[1 1 1];
> stride=[1 1 1];
> count=[1 512 512]; block=[];
From: Ashish Uthama on
On Tue, 03 Nov 2009 16:48:02 -0500, Tess <tess.brandon(a)noaa.gov> wrote:

> Yes! Done. Thank you.
>
> This is a long shot, but do you have any idea whether there is any
> intention to add the subsetting functionality of hdfread (for HDF4) into
> hdf5read? That was so much simpler.

The team may be aware of this need, I'll pass on the message.