Catalog Search Tool: Tables

The Catalog Search Tool returns catalogs as interactive tables. This section describes features of these interactive tables.

Contents of page/chapter:
+Interacting with Catalogs
+Hierarchical Catalog Display
+Table Header
+Table Columns
+Adding Columns
+Table Filters
+Row Details
+Table Cells
+Saving Tables
+Table Navigation

 


Interacting with Catalogs

When you get a catalog, the tool creates a table, a plot, and overlays the catalog on an image. The tables, plots, and overlays on images are all interlinked and interactive.

Details of how to interact with the table is later in this chapter. Plots are covered in a different chapter, as are basic information about images and the visualization tools.

When you have more than one catalog loaded into the tool, the header of each catalog has the name of the catalog and a color swatch:

This color swatch corresponds to the symbol color that is used in the image overlays. You can change the color by clicking on the color swatch in the header, or by navigating to the layers in the image pane. See the color picker section of the visualization chapter for more information.

Tips and Troubleshooting


Hierarchical Catalog Display

For catalogs below about 1000 points, the tool will show the individual points on the image.

For catalogs above that threshold, the tool will bin up the catalogs based on HEALPix pixels (see HiPS section here for more links). In summary, the sky is broken up into sections, and the tool will show symbols with a number indicating the number of sources in that region. Then, when you zoom in, it will dynamically adapt to show you smaller and smaller cells until it shows you all the individual sources.

From the layers icon ( see visualization chapter), you can bring up many display options. Below are examples of what is displayed, the options seen in the layers, and additional options. The same catalog and zoom level and minimum group size are used for each view. The "Min Group" option here is 50, so if there are cells with fewer than 50 sources, then the individual sources are shown, and if there are more than 50 sources, then the cell is shown with a number inside corresponding to the number of sources from the catalog. (See below for additional information.)


In this view, the 'cells' used are the cells explicitly associated with the HEALPix grid, so the size of the cells is very clear. In the top row here, three of the diamond-shaped cells across the top have fewer than 50 sources (so they do not have cell boundaries and the individual sources are shown), then the next row of diamond-shaped cells have 87, 86, and 57 sources respectively.

In this view, the 'cells' are shown by circles enclosed within boxes. The locations and cell sizes are the same as in the prior screenshot, but the boundaries between tiles may be less obvious to new users.

In this view, the 'cells' are shown by ellipses shown with dashed lines. The locations and cell sizes are the same as in the prior screenshot, but the boundaries between tiles may be less obvious to new users. It may be more obvious, though, that these are representations of groups of points.

Finally, in this view, the 'cells' are again shown as the HEALPix tiles, but in this case the color of the cells corresponds to the number of sources in the cell. You can choose "Linear", "Linear Compressed", or "Log Stretch" to assign the colors, and you can change the color range by changing the color using the color picker in the layers pop-up, from which you can also change the transparency. This approach makes it more visually clear how many sources are in each cell, but makes it harder to see the background image. Even though you can change the transparency of this overlay to reveal more of the background, it still can make seeing the image challenging in some cases.

Tips and Troubleshooting


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.

It can be that the table has a tab with a name on it. The tab (and table) name itself likely indicates its origin. It may be that you can remove the tab; if so, you can click on the "X" on the tab to remove it.

Immediately below the tab name, 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 100 rows of the retrieved catalog are displayed in the table. In the example here, there are 319 sources that were retrieved as a result of the search, grouped into 4 'pages.' The left/right black arrows plus the page number allow you to navigate among these 'pages' of 100 sources each. Note that the entire set of results (not just the 100 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.

Expand
Clicking on this expands the catalog window pane to take up the entire browser window. To return to the prior view, click on "Close" in the upper left.

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, with all columns as defined for that catalog. To understand what each column is, please see the documentation associated with that catalog. (For IRSA catalogs, this documentation is available via navigating through the IRSA website.)

Depending on what you did to display a table, the columns that are shown may be in easily-human-readable form, or may reflect column names used within the individual catalog. Please consult the detailed documentation associated with your specific archive if the headers are not clear to you.

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. When you do a single-position search on catalogs, two new columns are appended to the end of the catalog as it is returned to you. These columns are:

When you do a multi-position search on catalogs, you could have three new columns prepended to the catalog as it is returned to you. These columns are : These additional columns can help you assess if the target it found is the target that should be matched to the position you requested.

Columns in the uploaded table will be included in the output table, with a suffix attached. This suffix will be "_01" unless the column name ends with "_NN" where NN is any integer from 01 to 98. In the latter case, the suffix will be incremented by one, to a maximum value of 99.

When you do a multi-position search on catalogs, and you choose "one-to-one matching", one line (and only one line) of output is included for each line of input. It chooses the closest source within the radius you specify, or if there is no match, it adds a line indicating no match.

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 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.

Example: From a catalog, show only those sources with declination above a certain value (say, 31 degrees), type "> 31" in the box at the top of the "dec" column. Or, if you have retrieved a WISE catalog and would like to only view the objects with a W1 (3.4 micron) profile-fitted magnitude less than 6 magnitudes, in the box at the top of the 'w1mpro' column, type "< 6" in the form.

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.

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 interactively impose filters from plots from a catalog. Moreover, all the same operators that are available for making plots can be applied in filters. In both cases, see the plots section for more information.

You may also be able to select rows one at a time via the far left column and then filter that down. Example: Retrieve a catalog of any sort. Select rows by ticking the box on the far 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


Row Details

This icon is not always available. When it is available, when you click on it, a new pop-up window appears with information about the row you have selected:

In some tools, this content appears as additional tab elsewhere in the tool (not in the table pane, but often viewable at the same time as the table itself), as an additional tab called "Details."

In either incarnation, this information is sometimes called a "property sheet."

This table consists of each of the columns of the retrieved catalog with additional information about each field where available. (Not every catalog may have this information available.) For additional information, please consult the full documentation that accompanies the catalog.

Note that if you leave the pop-up or tab open as you select different rows in your main table (or catalog), it is dynamically updated.

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 also save the file in DS9 Regions file format. See the DS9 website for more information on the syntax of these DS9 region files. The advantage of saving it here (as opposed to from the visualization) is that this way, the entire catalog is guaranteed to be saved.

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."


Table Navigation

At any time, you can move among tables by just clicking on the tab name.

There is also another way to navigate among the table tabs.

On the far right, there is a downward pointing arrow. When you click on it, you get a drop-down, showing all the tabs that are loaded. From there, you can select the tab you want to bring to the foreground.