area=AreaAdapter(request) force time out

I am reading some mcidas data files directly from a local network disk.
I use the following in python:

area=AreaAdapter(request)

about 10% of the time the hangs up, probably because my local network is
busy.
The problem is that it hangs forever.

Is there a way to put a timer on this so that it will time out after a
few seconds?
So that I can try again.

G. Garrett Campbell Ph. D.
Cooperative Institute for Research in the Atmosphere
Colorado State University
Ft. Collins, CO, USA
970 491 8497
campbell@xxxxxxxxxxxxxxxxxx 


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: