[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: frustrated by hdf_sd_adddata
- Subject: Re: frustrated by hdf_sd_adddata
- From: James Kuyper <kuyper(at)wizard.net>
- Date: Thu, 15 Mar 2001 10:50:52 -0500
- Newsgroups: comp.lang.idl-pvwave
- Organization: Not enough
- References: <3AAFECCC.3CD1CDE9@gsfc.nasa.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23992
George McCabe wrote:
> 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,
Some things to check:
You might not have access. What are the file permissions, owner, and
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
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
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
where 'mydata' represents the name of the field you're passing as the
data argument to HDF_SD_ADDDATA?