Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: Can't run SatDisplay

"Ricardo Mantilla" wrote:
> I have been trying to run SatDisplay from the visad Examples.  I execute
> it and after a while I get the following message:
> 
> java.net.NoRouteToHostException: Operation timed out: no further
> information
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
>         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>         at java.net.Socket.<init>(Socket.java:273)
>         at java.net.Socket.<init>(Socket.java:100)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
>         at sun.net.NetworkClient.openServer(NetworkClient.java:38)
>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:267)
>         at sun.net.ftp.FtpClient.<init>(FtpClient.java:381)
>         at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:77)
>         at 
> sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:96)
>         at java.net.URL.openStream(URL.java:798)
>         at visad.data.mcidas.BaseMapAdapter.<init>(BaseMapAdapter.java:104)
>         at SatDisplay.<init>(SatDisplay.java:82)
>         at SatDisplay.main(SatDisplay.java:208)

SatDisplay needs two files, ftp://www.ssec.wisc.edu/pub/visad-2.0/OUTLSUPW
and ftp://www.ssec.wisc.edu/pub/visad-2.0/AREA2001

Since it looks like you can't get to the Internet, you could:

 * download OUTLSUPW and AREA2001
 * copy them to your machine
 * change lines 187 and 188 (where the 'mapFile' and 'imageSource'
   variables are assigned) to point to the local copies of those
   files

after doing that, SatDisplay should work for you.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690