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

Home » Public Forums » archive » Question regarding HDF file
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: Question regarding HDF file [message #55195 is a reply to message #55144] Tue, 07 August 2007 14:25 Go to previous messageGo to previous message
None[1] is currently offline  None[1]
Messages: 13
Registered: August 2007
Junior Member
>> But if i open the hdf file, I am getting values like -3.5123 -1.5232
>> -3.5138 .............
>
> How exactly are you reading the file? If you use the same methods
> shown in this code, you should be reading in the ImageData SDS as a
> BYTE array, which should be incapable of representing either negative
> or fractional values.

Hi. The dataset I am using is a kind of remote sensing dataset
(ASTER). Sorry to let you know lately that I was opening the hdf file
in ENVI 4.1 software. Yes, if I read it using HDF_SD_GETDATA, I will
get all zeros. I understood your point,
This result is consistent with my expectation that HDF_SD_AddData
performs automatic conversion from the IDL data type to the HDF data
type.

But is there a way to avoid this?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Thinning algorithm without for loops
Next Topic: Re: Another simple one

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

Current Time: Mon Dec 01 07:59:35 PST 2025

Total time taken to generate the page: 2.16090 seconds