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

Home » Public Forums » archive » Re: 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
Re: EOS_SW_CREATE HDF function file path issue [message #80191 is a reply to message #80190] Thu, 10 May 2012 10:24 Go to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Thursday, May 10, 2012 10:37:13 AM UTC-6, Edward Hyer wrote:
> 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.

Can you show an example of the string you're using for FULL_PATH? Perhaps it's a function of escapes needed by one internal routine or another.

Jim P.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: EOS_SW_CREATE HDF function file path issue
Next Topic: A little help

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

Current Time: Wed Oct 08 19:36:52 PDT 2025

Total time taken to generate the page: 0.00354 seconds