NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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.


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