Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: HDF_SD_ADDD...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 18 of 20 Topic 5658 of 5734
Post > Topic >>

Re: HDF_SD_ADDDATA problem

by adfraser@[EMAIL PROTECTED] Apr 29, 2008 at 11:43 PM

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.




 20 Posts in Topic:
HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-21 16:24:17 
Re: HDF_SD_ADDDATA problem
"brodzik@[EMAIL PROT  2008-04-22 07:23:38 
Re: HDF_SD_ADDDATA problem
"brodzik@[EMAIL PROT  2008-04-22 07:25:50 
Re: HDF_SD_ADDDATA problem
UV_Catastrophe <bripma  2008-04-22 13:57:56 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-23 19:17:22 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-23 19:18:31 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-23 19:23:27 
Re: HDF_SD_ADDDATA problem
jameskuyper@[EMAIL PROTEC  2008-04-24 06:00:58 
Re: HDF_SD_ADDDATA problem
"brodzik@[EMAIL PROT  2008-04-24 07:25:39 
Re: HDF_SD_ADDDATA problem
jameskuyper@[EMAIL PROTEC  2008-04-25 09:15:05 
Re: HDF_SD_ADDDATA problem
liamgumley@[EMAIL PROTECT  2008-04-25 09:18:25 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-27 18:05:57 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-27 18:08:32 
Re: HDF_SD_ADDDATA problem
James Kuyper <jameskuy  2008-04-28 02:52:31 
Re: HDF_SD_ADDDATA problem
jameskuyper@[EMAIL PROTEC  2008-04-28 16:07:27 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-29 22:57:17 
Re: HDF_SD_ADDDATA problem
James Kuyper <jameskuy  2008-04-30 11:13:39 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-04-29 23:43:34 
Re: HDF_SD_ADDDATA problem
James Kuyper <jameskuy  2008-04-30 11:20:11 
Re: HDF_SD_ADDDATA problem
adfraser@[EMAIL PROTECTED  2008-05-01 19:05:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 7:51:13 CDT 2008.