comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: frustrated by hdf_sd_adddata
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: frustrated by hdf_sd_adddata [message #24210 is a reply to message #24209] Thu, 15 March 2001 07:50 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
George McCabe wrote:
>
> hello,
>
> attempting to replace a subset of existing data in an HDF SD, using
> idl procedure hdf_sd_adddata, receive the following error which i can
> not readily diagnose -
> % HDF_SD_ADDDATA: Unable to write the specified HDF-SD slice.
>
> hdf opens, sd starts /RDWR ok, sd selected ok
> i have veryfied the size and order of the data variable, count and
> start keyword variables.
>
> help is appreciated,
> george

Some things to check:

You might not have access. What are the file permissions, owner, and
group membership?

The file may be corrupt. Can you view the HDF file with ncdump, or
similar utilities? Can you open it read-only, and view its contents
using HDF_SD_GETDATA?

Is this new code, or code that has already worked on a different file,
but is failing with this one?

You imply that you've already collected the following information, and
that it checked out OK, but maybe you've misinterpreted it - could you
tell us:

What values does HDF_SD_GETINFO give you for DIMS, HDF_TYPE, and TYPE?

What values are you giving HDF_SD_ADDDATA for START, COUNT, and STRIDE?

What do you get when you type

HELP,mydata

where 'mydata' represents the name of the field you're passing as the
data argument to HDF_SD_ADDDATA?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Regular Expressions
Next Topic: Gridding/Interpolating a large image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 05:11:41 PDT 2025

Total time taken to generate the page: 2.47495 seconds