CDAT / cdat

Community Data Analysis Tools
Other
174 stars 68 forks source link

ESGF-GridFTP-HTTP Download #6

Open williams13 opened 11 years ago

williams13 commented 11 years ago

When I bring up the ESGF GUI for loading a file from the ESGF archive, I enter in the search window "cmip5", then I browse down until I get to a GridFTP file. When I click or double click on the file nothing happens. If I double click on the HTTP file, it pops up a window for me to place the file on my laptop. But it just sits there and does nothing.

In both cases I have not give my username and password.

Now I am stuck and I have to kill the system.

doutriaux1 commented 11 years ago

It is because I don't know how to retrieve files via GridFTP if you tell me how I will add it. I guess in the mean time I could pop up a dialog window that says "Not implemented yet"

doutriaux1 commented 11 years ago

@leung25 Elo did you add a pop up error dialog box?

benbu commented 11 years ago

Clicking on GridFTP file shows a popup stating 'Not implemented yet'.

Clicking on the HTTPServer file start a download progress window, but the progress stayed at 0% for me and when I clicked cancel, I get

Traceback (most recent call last): File "/Users/benbu/src/uvcdat/vistrails/vistrails/gui/uvcdat/esgf.py", line 131, in cancel w.cancel() File "/Users/benbu/src/uvcdat/vistrails/vistrails/gui/uvcdat/esgf.py", line 73, in cancel self.pipe.terminate() File "/usr/local/uvcdat/1.3.1/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1462, in terminate self.send_signal(signal.SIGTERM) File "/usr/local/uvcdat/1.3.1/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1457, in send_signal os.kill(self.pid, sig) OSError: [Errno 3] No such process

And the progress dialog remains. I then have to click the 'x' button to close the download progress dialog.

doutriaux1 commented 11 years ago

Elo, can you take a loo kat this please. The http download should be rewritten to use the newer "wget scripts" interface from ESGF.

C.

doutriaux1 commented 11 years ago

yes just open your ports, you might need to tweak it to pass the correct certificate. See: http://wiki.openwrt.org/doc/howto/wget-ssl-certs I think it tells us how to do this.