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

Home » Public Forums » archive » EOS_SW_CREATE HDF function file path issue
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
EOS_SW_CREATE HDF function file path issue [message #80193] Thu, 10 May 2012 09:37
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
So, I think I got this working, but having found nothing on the Googs
about this problem, I am posting to the newsgroup so there will be a
reference, and maybe someone can shed some light on the root cause.

Symptom: Adding data to HDF-EOS file created with EOS_SW_OPEN() causes
a segfault-- IDL crashes. The specific circumstance of the crash seems
to be opening an existing HDF-EOS file using EOS_SW_OPEN().
Resolution: The crash occurs at:
HDFEOS_FID = EOS_SW_OPEN(FULL_PATH,/RDWR)
The crash does not occur if this is substituted with
CD,FILE_DIRNAME(FULL_PATH)
HDFEOS_FID = EOS_SW_OPEN(FILE_BASENAME(FULL_PATH),/RDWR)

Anyway, that's a weird one and took a while to debug, so I'm posting
it here if anyone in the future is foolish enough to try to use IDL
for this.
[Message index]
 
Read Message
Previous Topic: Re: Algorithm for PCA transform in ENVI
Next Topic: Re: EOS_SW_CREATE HDF function file path issue

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

Current Time: Fri Oct 10 12:41:35 PDT 2025

Total time taken to generate the page: 2.47869 seconds