Re: EOS-HDF routines [message #49044] |
Thu, 15 June 2006 09:10  |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
David Fanning wrote:
> Daniel writes:
...
>> Most of examples I saw use hdf_sd routines...
That's because HDF-EOS is an incomplete wrapper for HDF, so there are
still a few things that can only be done by calling HDF routines. For
example, setting up a dimension scale requires using the SCALE argument
of HDF_SD_DIMSET. Call EOS_EH_IDINFO to return a file handle suitable
for passing to those HDF routines.
...
> * define structure {...}
EOS_SW_DEF*
> * write data EOS_SW_WRITEFIELD
Also, use EOS_SW_WRITEATTR, EOS_SW_WRITEDATAMETA, and
EOS_SW_WRITEGEOMETA to write things other than field data.
|
|
|
|
Re: EOS-HDF routines [message #49137 is a reply to message #49044] |
Fri, 16 June 2006 09:38  |
Maarten[1]
Messages: 176 Registered: November 2005
|
Senior Member |
|
|
kuyper@wizard.net wrote:
> David Fanning wrote:
>> Daniel writes:
> ...
>>> Most of examples I saw use hdf_sd routines...
>
> That's because HDF-EOS is an incomplete wrapper for HDF, so there are
> still a few things that can only be done by calling HDF routines. For
> example, setting up a dimension scale requires using the SCALE argument
> of HDF_SD_DIMSET. Call EOS_EH_IDINFO to return a file handle suitable
> for passing to those HDF routines.
Not to mention that HDF-EOS5 isn't supported with separate routines at
all. The normal HDF-5 routines work fine though, so the separate layer
isn't really needed.
Maarten
|
|
|