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

Home » Public Forums » archive » HDF_SD_ADDDATA problem
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_SD_ADDDATA problem [message #60123 is a reply to message #59951] Tue, 29 April 2008 23:43 Go to previous messageGo to previous message
adfraser is currently offline  adfraser
Messages: 9
Registered: April 2008
Junior Member
Just an update: I ran the original code, line by line from the IDL
command line, but substituted in your two lines

HDF_SD_GetData, thisSdsID, olddata
newdata = olddata+500

instead of how I was creating my new data. And it worked!

I went back to my original program. Here's some stats about the "old"
and "new" data (the second line produced by "help, L1B_emiss, /stru"):

olddata:
Max: 9931, Min: 2969, Mean: 5842.88
L1B_EMISS UINT = Array[1354, 2030, 2]

newdata:
Max: 9931, Min: 0, Mean: 718.132
L1B_EMISS UINT = Array[1354, 2030, 2]


The dimensionality, size and type of the arrays is identical. No NaNs
are present (otherwise I couldn't have calculated the mean). But
still, I get the "slice" error! Could the HDF interface possibly be
complaining about the presence of zeros in the new data set?!?!

I also tried creating blank int arrays of the same dimensions. Still
no go.

Any more ideas?! I'm at a loss!

Thanks,
Alex.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL plotting query - how can I get rid of unwanted colour for a particular data value???
Next Topic: Multiple draw widget events

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

Current Time: Sat Oct 25 12:29:26 PDT 2025

Total time taken to generate the page: 1.67924 seconds