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

Home » Public Forums » archive » Reading sequence of HDF files fails after some number of successes
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: Reading sequence of HDF files fails after some number of successes [message #82191 is a reply to message #82103] Tue, 20 November 2012 18:47 Go to previous message
BLesht is currently offline  BLesht
Messages: 89
Registered: March 2007
Member
On Tuesday, November 20, 2012 6:13:11 PM UTC-6, David Fanning wrote:
> David Fanning writes:
>
>
>
>> Do you really program with all those line continuation characters!?
>
>> Sheesh! That must be a bother! :-)
>
>
>
> Just to clarify, I'm not trying to be my usual snarky self.
>
> I just really admire a guy who can stay true to the ol'
>
> DEC PDP 8 programming standards in this day and age! ;-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
Well David, give me a break - I only go back to the PDP-11, though I do remember 'programming' by toggling switches on the front panel.

The IDL code is part of a larger script that gets fed to SeaDAS in batch mode. When passed to SeaDAS, IDL statements in loops need the continuation characters. Indeed, it is a bother.

Right - there was no HDF_CLOSE, but neither was there an HDF_OPEN. I've been confused about the relationship between HDF_OPEN - HDF_CLOSE pairs and HDF_SD_START - HDF_SD_ENDACCESS - HDF_SD_END triplet. If I add an HDF_CLOSE, referencing the index number that goes with the HDF_SD_START, I get the same error as before. If I bracket the code with HDF_OPEN - HDF_CLOSE, it fails with "HDF_CLOSE: Invalid file id, FID(xxxxxxx).

I guess I can play with different combinations, but I'd like to understand what is going on and what I read baffles me. It was a lot simpler to toggle switches - there were only eight after all.

B.


>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with vert_colors and rgb_table
Next Topic: Help with SVDC procedure

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

Current Time: Fri Oct 10 13:35:57 PDT 2025

Total time taken to generate the page: 1.11870 seconds