[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frustrated by hdf_sd_adddata



i checked that david. without write permission i would not be able to hdf_sd_start as in the following,

IDL> sd_id=HDF_SD_START(f,/RDWR)
% HDF_SD_START: Unable to start the HDF-SD interface.

which i am able to do.

thank you,
george

David Fanning wrote:

George McCabe (george.mccabe@gsfc.nasa.gov) writes:

> 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,

No file writing permissions?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155

-- 
George McCabe (CUofA)
NASA / Goddard Space Flight Center / Code 693 
Building 2, Room 151 / Greenbelt, MD 20771
voice: (301)286-8283, fax: (301)286-0212
george.mccabe@gsfc.nasa.gov