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

Home » Public Forums » archive » skip_lun question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
skip_lun question [message #65939] Tue, 31 March 2009 13:54
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi people,
I've a question with the skip_lun function.

Looks the following example:
I've a .dat file that contains a BYTARR(180,240,24) and I want to read
a 180x240 matrix on the 7th position ([*,*,7])

I tried something like that:

openr, un$lun, file, /get_lun
skip_lun, un$lun, (180.*240.*7)
data=bytarr(180,240)
readu, un$lun, data
------------------------------------------------------------ ----
Now I verify the reading......

point_lun, un$lun, 0
all_data=bytarr(180,240,24)
readu, un$lun, all_data

print, total(abs(all_data[*,*,7]-data))
IDL> 6.71223e+06

The result is so different and I don't know why.
Any suggestions? Does anybody knows how is the information saved in a
DAT file.
Thanks,

B.
[Message index]
 
Read Message
Previous Topic: Re: Recombining Real and Imaginary parts of FT in IDL?
Next Topic: Re: skip_lun question

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

Current Time: Sun Oct 12 00:05:04 PDT 2025

Total time taken to generate the page: 1.34456 seconds