ftp://server.name/and or an authenticated ftp url like
ftp://user:email@example.com/path. The contents are displayed, are browsable, it's possible to upload , overwrite, download, delete files & folders. Ftp locations can also be bookmarked so that they're easy to revisit. So far so good...
ivo://wfau.roe.ac.uk/ssa-dsa/ceaApplication, and ran a simple cone-search, position
m32. Running this with a direct result (i.e. 'results to cache') ran to completion, as expected. Then I tried re-running and sending the results to FTP. Clicking the 'indirect' button in the task runner brings up the file chooser dialogue - in which I can use the previously bookmarked ftp location to select a new output file on the ftp server). So everything is fine from the UI side. However, running the application produced an the error message from the CEA server:
failed to retrieve ftp://.../result.vot - does not existWhich is odd, as this is an output, and shouldn't need to exist beforehand. As a work-around, I created the output file in fileexplorer, and tried re-running. This time the application ended with 'ERROR'. No further information given. The logs on the server contain the following exception:
Query parameter error: couldn't process results destination: String index out of range: -1 executing wfau.roe.ac.uk/ssa-dsa/ceaApplication org.astrogrid.applications.CeaException: Query parameter error: couldn't process results destination: String index out of range: -1 at org.astrogrid.dataservice.service.cea.DatacenterApplication.getResultTargetIdentifier(DatacenterApplication.java:268) at org.astrogrid.dataservice.service.cea.DatacenterApplication.run(DatacenterApplication.java:131) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:725) at java.lang.Thread.run(Thread.java:595)
Select Top 100 a.ssaID From CrossNeighbours2MASSPSC as aand ran it in direct-result mode. As expected, it produced a votable of numbers. I then altered the TaskRunner form to take the query parameter from a FTP location. Once I'd created the query file*, it was straightforward to select it from the filechooser dialogue. The CEA application ran fine, fetching the query from ftp and producing the expected results.
I actually found it quite hard to create the remote query file. As this query is to be passed straight to the DSA, it needs to be in ADQL/x format - but there's no facility (that I could see) in the TaskRunner / QueryBuilder to save, export, cut-n-paste, or drag-n-drop the adql/x query. I guess eventually DSA will accept ADQL/s queries natively, but for now, I had to save the CEA tool document, then edit it to cut out and unescape the embedded ADQL/x query - much too techy.
|Click here for the
AstroGrid Service Web
|This is the AstroGrid