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

Home » Public Forums » archive » 2 questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
2 questions [message #26318] Wed, 15 August 2001 19:49 Go to previous message
Bob Fugate is currently offline  Bob Fugate
Messages: 18
Registered: March 2001
Junior Member
I am batch processing a number of HDF files, saving output to results files.
I have a short procedure that first checks the validity of the files using
HDF_ISHDF -- just to avoid file access problems during the main processing
routines. The files are located on a server, or if old enough, on a tape
library, with only a stub left on the server. A file on tape opened by
HDF_ISHDF (or any other routine) is automatically restored from tape to the
server. The problem is, if the file is on tape, HDF_ISHDF times out before
the file gets reloaded. HDF_ISHDF fails. I could modify the check routine to
put these files in a separate list to process on the second pass once the
files are restored. I don't have a simple way (and apparently not even a
complicated way) to check on the status of these files to know whether they
are on the server or in the library.

Question: Is there a better way to handle this? For instance, is there a way
to extend the time-out period to allow the file to be restored so it can be
checked and subsequently processed? Is there a way to terminate the
HDF_ISHDF query before it times out and put this file on a list to process
in a second batch? Any suggestions greatly appreciated.

Question 2: I am using IDL on 2 platforms: MacOS and Windows NT, both
versions 5.4. On the Mac, there is a feature that lets one select any number
of lines in the editor and comment them all out in one command (and
subsequently uncomment them when needed)--- a very valuable feature for
someone like me who is not proficient at programming. I can't find this
feature in the Windows version. Am I missing it somehow? Any suggested
approaches short of saving the file under a new name and deleting lines in
that file?

Thanks in advance. This group is one reason I like IDL.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Grudging Praise for IDL 7.0
Next Topic: Completing a Gaussian Fit

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

Current Time: Wed Oct 08 13:31:13 PDT 2025

Total time taken to generate the page: 0.00471 seconds