IRSA Workspace: Documentation
The IRSA Workspace
- What is the IRSA Workspace?
- The IRSA Workspace is your area on the IRSA disks (disk space, or
storage) where you can keep your own files: catalogs, images, IPAC
table files, etc. It is proprietary to you, so you need an account at IRSA before you can use the
IRSA Workspace.
- How do I get an account on the IRSA Workspace? How do I log in?
- See this page.
- What can I do with the IRSA Workspace?
- As of this writing, the following tools can all access the IRSA
Workspace:
tool operation possible with the IRSA Workspace Catalog Search Tool Save results to the Workspace Finder Chart Load a table for searching from the Workspace; save catalogs, images, pngs, region files to the Workspace IRSA Viewer Load an image or catalog from the Workspace; save catalogs, images, pngs, region files to the Workspace
- How can I get files from my computer into the IRSA Workspace? Or get files back from the IRSA Workspace to my computer?
- You can interact with the Workspace via a command-line interface via an API, or
via WebDAV. In the below, $USER is your username.
- WebDAV
- This method mounts the disk and you can interact with it just
as with a mounted disk.
- Mac: in the Finder, choose Go > Connect to
Server, enter the address of the server in the Server Address field,
then click Connect. The WebDAV server address should be:
https://irsa.ipac.caltech.edu/ssospace/$USER
where $USER is your username, e.g., the email address you use to log into IRSA. To disconnect, Select the server, right-click, then choose Eject. - Linux: For the GNOME file browser, select "Connect to Server". Note that the prefix for the server is 'davs', not 'https'.
For the server, enter
davs://irsa.ipac.caltech.edu/ssospace/$USER
- Windows: In Explorer, open a new location. For the server, enter
https://irsa.ipac.caltech.edu/ssospace/$USER
Can also be done with "Add a Network Location" wizard
- Mac: in the Finder, choose Go > Connect to
Server, enter the address of the server in the Server Address field,
then click Connect. The WebDAV server address should be:
- Command line
- The workspace files are located at
https://irsa.ipac.caltech.edu/ssospace/$USER, where $USER is your
username, e.g., the email address you use to log into IRSA. You first
need to convince the server you are who you say you are. Get a cookie
from IRSA's servers.
- Set $USER and $PASS appropriately for you, and use either curl or
wget as follows:
curl -c cookies.txt "https://irsa.ipac.caltech.edu/account/signon/login.do?josso_cmd=login&josso_username=$USER&josso_password=$PASS"
or
wget --save-cookies=cookies.txt "https://irsa.ipac.caltech.edu/account/signon/login.do?josso_cmd=login&josso_username=$USER&josso_password=$PASS"
The cookie will be issued by ".ipac.caltech.edu". You can also pass the username/password separately for each operation, e.g., curl -u $USER:$PASSWORD followed by the rest of your query. - List files:
curl -b cookies.txt -u x:x "https://irsa.ipac.caltech.edu/ssospace/$USER/"
(this comes back in html format.)
- Put a file:
curl -b cookies.txt -u x:x -T my_file "https://irsa.ipac.caltech.edu/ssospace/$USER/my_file"
- Get a file:
curl -b cookies.txt -u x:x -o my_file "https://irsa.ipac.caltech.edu/ssospace/$USER/my_file"
(Alternatively, can load https://irsa.ipac.caltech.edu/ssospace/$USER into your browser, and save the files from the browser)
- Rename a file:
curl -b cookies.txt -u x:x -X MOVE --header "Destination: https://irsa.ipac.caltech.edu/ssospace/$USER/my_file_moved" "https://irsa.ipac.caltech.edu/ssospace/$USER/my_file"
- Create a directory:
curl -b cookies.txt -u x:x -X MKCOL "https://irsa.ipac.caltech.edu/ssospace/$USER/my_directory"
- List a directory:
curl -b cookies.txt -u x:x "https://irsa.ipac.caltech.edu/ssospace/$USER/my_directory"
- Delete files or directories (note directories must have trailing slash '/'):
curl -b cookies.txt -u x:x -X DELETE "https://irsa.ipac.caltech.edu/ssospace/$USER/my_directory/"
- Troubleshooting: if you have a space in your filename or directory, encode it as "%20".
- Set $USER and $PASS appropriately for you, and use either curl or
wget as follows:
- How long will my files stay in the IRSA Workspace?
- 3 days from when you last modified them.
- How do I get more help?
-
You can submit questions to the IRSA
Help Desk.