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

Home » Public Forums » archive » Re: HDF vs HDF-EOS?
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: HDF vs HDF-EOS? [message #66530 is a reply to message #66529] Fri, 22 May 2009 06:43 Go to previous message
jameskuyper is currently offline  jameskuyper
Messages: 79
Registered: October 2007
Member
David Fanning wrote:
> Folks,
>
> Does anyone know off-hand how you can programmatically tell the
> difference between an HDF file and an HDF-EOS file? I'd like
> to know when to use the EOS_* routines and when to use the HDF_*
> routines.

That's the wrong question, because HDF-EOS files are HDF files, just
in a particular format. The question you probably want the answer to
is "How do I tell whether an HDF file is an HDF-EOS file?".

The simplest way I can think of is to look for an HDF file attribute
named "HDFEOSVersion". It should contain a string like "HDFEOS_V2.9".
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Transporting code from one mac to another: Problem connection to X windows server...
Next Topic: OT: Re: HDF vs HDF-EOS?

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

Current Time: Sat Oct 11 08:43:24 PDT 2025

Total time taken to generate the page: 1.12201 seconds