Image and Spectrum Viewer (Atlas): Tables

The Image and Spectrum Viewer (Atlas) returns results in an interactive table. This section describes features of this interactive table.

Contents of page/chapter:
+Table Header
+Table Columns
+Adding Columns
+Table Filters
+Table Actions: Searches
+Row Details
+Table Cells
+Saving Tables
+Table Navigation

 


Table Header

These interactive tables -- called Firefly tables, after the software that is running here -- all have the same functionality, regardless of the contents of the table. If it looks like this sort of table, you can work with it whether it is a catalog, an image header, a list of images, etc.

The table is shown exactly as it has been provided to the tool, with all columns as defined by the creator of the table. To understand what each column is, please see the documentation associated with that catalog or table.

At the top of the table, there can be several symbols:

which we now describe, going from left to right along the top of the catalog tab.

Table navigation
The first thing to notice is that (typically) only the first 50 rows are displayed in the table. In the example here, there are 316 results that were retrieved as a result of the search, grouped into 7 'pages.' The left/right black arrows plus the page number allow you to navigate among these 'pages' of 50 results each. Note that the entire set of results (not just the 50 rows you are currently viewing) can be sorted by clicking on any column's name.

Filter
Filters are complex and powerful enough that they are covered in a separate section below.

Table as text
Clicking on this changes the table display into a fixed-width text display. The icon then changes to click this again to return to the default table view.

Save table
This is how you can save the table. It has a separate section below.

Add a column
This icon adds a new column to the table. This has a separate section below.

Info link
You may or may not see this icon. This is an "information" button and, if it exists, it may provide additional information about the table. It could have information about the job that was used to retrieve it:

where the direct link to the job is given there (and can be copied by clicking on the clipboard, ready to be pasted into a helpdesk query, for example), with a job id as shown. It could also just have information about the table metadata:

where the information about this table includes information about the query that produced it.

Row details
You may or may not see this icon. This is how you get more information about the currently-selected row. It has a separate section below.

Table options
Clicking on this icon brings up options for the table, e.g., how many rows are displayed per page, which columns are shown, metadata about each column if available, whether units and data types are shown at the top of the column, shown here:

By default, it is often but not always the case that all columns are shown. To show or hide columns, select the tickbox in each given row. The default page size is 100 rows. Note that expanding the page size to numbers much greater than 100 may result in a substantial performance degradation (e.g., your browser will appear to freeze or not appear to be doing anything while it manages and renders the large table). See the Filters section below for more things to do from the table options pop-up.

Help
The last option on the top of the catalog tab may be a context-sensitive help marker, which should bring you to this online help.


Table Columns

The table is shown exactly as it appears in the corresponding database.

Clicking on the column names sorts the table by that column; clicking once sorts in ascending order, clicking a second time sorts in descending order, and clicking a third time returns the table to the original order. Small arrows appear next to the column names to remind you if the column is sorted in ascending or descending order.

Tips and Troubleshooting


Adding Columns

This icon allows you to add a new column to your catalog. When you click on it, it brings up this pop-up window:

This window asks for: In order to construct the expression for your new column, your input should follow the syntax of an SQL expression. If you click on the magnifying glass next to the form input, you get a pop-up window that can help you construct an expression; click "apply" to apply the expression.

You need to use the column names exactly as they appear in your catalog. Supported operators are: +, -, *, /, =, >, <, >=, <=, !=, LIKE, IN, IS NULL, IS NOT NULL. You may use functions as well; for a list of all available functions, see here . Some examples (from the general case where these tables are used for catalogs) include:

Tips and Troubleshooting

Table Filters

Filters are a very powerful way of exploring the table full of search results. Click on this icon in order to start the process of adding filters. A text entry box appears above each of the current catalog columns, with a small version of the filter icon corresponding to that row on the far left. You can type operators and values in these boxes -- hit return or tab after typing or click in another box to implement the filter.

For columns (fields) with a limited set of choices, on the right edge of the text entry box, an arrow appears; click on it to get a drop-down from which you can select the available choices. To implement the filter, make the choices, and click "Apply" when you are done. Click "clear" in the top of the drop-down menu to remove that filter.

Example: Your search results are a list of images, which may include science images, uncertainty images, coverage images, and more. Click on the filter icon, and click on the downard pointing arrow at the top of the "Type of Data" column. Select "science" and click "apply." The table is now limited to science images.

After you impose a filter, then the number of rows in the table is restricted according to the rules you have specified, and the "filters" icon on the top right of the catalog pane has changed to remind you that there has been a filter applied, in this case four filters: . To clear the filters, click on the cancel filters icon (which also appears after you impose filters): .

Filters can be used in combination. Note that the filters between columns are logically "AND"ed together, but filters within the same column can be logically "AND"ed or "OR"ed together; examples are below.

The available logical operators are :

Examples: You can also select rows one at a time from the far left column and then filter that down. Example: Search on anything. Select rows by ticking the box on the left, say, every other row out of the first 12. Click on the filter icon on the top of the column. The filter is imposed to only include the 6 rows you selected.

If you click on the table options icon (), you get a pop-up that includes a place to filter columns. Here is an example of the table columns for a WISE catalog that has been filtered to just have SNR>10 for each of the four bands:

You can type in constraints in the filter box in much the same way as you can from the catalog itself; note that the column description is included here, which may make this way of setting filters more useful when working with a new (to you) catalog.

The second tab is the advanced filter interface:

Here, the columns are listed alphabetically on the left, the constraints you have imposed are in the "current constraints" box, and you can apply additional SQL constraints via the free-form text box. Hints for syntax are given below the entry box. This window can be resized such that you can see the whole set of hints and imposed filters. Note that in this interface, column headers must be enclosed within double quotes.

Cancelling filters

After you impose a filter, then the "filters" icon on the top right of the catalog pane has changed to remind you that there has been a filter applied, in this case just one filter: To clear all the filters at once, click on the cancel filters icon (which also appears after you impose filters): .

Tips and Troubleshooting


Table Cells

Some cell values may be too long for the cell space. If that is the case, an ellipsis ("...") will appear in the cell as you mouse over it:

If you click on the ellipsis, you get a drop-down menu:
from which you can choose to copy the cell value or view it in a pop-up window.

If you view it in a pop-up window, it will attempt to format it in a readable fashion:

which, for most cells, will be functionally indistinguishable from no special formatting. It will only matter for very complicated cells.


Saving Tables

Click on the diskette icon (), if available, to save the table.

You obtain this pop-up:

You have several choices to make. In order, they are:

File format
You can save the table in a variety of formats:

It defaults to saving it as an IPAC table file , which is basically ASCII text with headers explaining the type of data in each column, separated by vertical bars.

Other formats include comma-separated values (csv, suitable for, e.g., Excel), tab-separated values (tsv), and three different versions of VO tables . You can save the file in parquet file format , which is a highly efficient, compressed, column-oriented format for tabular data that has been adopted by many recent wide area survey projects. You can also save the file in DS9 Regions file format , although that makes very little sense in the Atlas tool.

File name
The tool tries to make a guess at a sensible filename. Feel free to change it to something that makes sense to you.

File location
You may save your file to a local file (on your disk) or, if you are logged in, in the IRSA Workspace .

Modifications to the table
Depending on what you have been doing to the table at this point, you may have filtered or added columns. If you want to save the table as it is currently displayed, with all filters as imposed and any columns hidden, and any added columns as shown, select "Save table as displayed." If you want to save the original table, with all rows and the original columns intact, choose "Save table as originally retrieved."