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 
Switch to threaded view of this topic 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.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 11:43:21 PDT 2025

Total time taken to generate the page: 0.00511 seconds