File Viewer


The File Viewer tab provides a file browser for accessing your data and processing directories on the facility file system (Fig. 1). By default, the page opens your /data/username directory. If you want to open your /home directory, click the home icon in the breadcrumbs. Then select My Home to open /home/username. The File Viewer displays the contents of most file types.

The File Viewer tab

Figure 1. The File Viewer tab opens most file types (text, JSON, images, binary file headers, plots, scan files, etc.).

Browsing Files

  • Navigate directories using the file listing or the breadcrumb trail at the top of the page (Fig. 1).
  • Sort by Name or Date by clicking the column label; the triangle shows the sort direction.
  • Hidden files can be shown by checking the Show hidden files box.

Viewing Files

Different file types open in different ways:

  • Diffraction images (CBF, etc.): Opens an image viewer with zoom, pan and grayscale adjustments, along with the header metadata (Fig. 2).
  • Regular images (JPG, PNG, GIF, SVG): Displays the image.
  • Plot files (.scan, etc.): Displays the data and the plot on separate subtabs (Fig. 3).
  • Text files (TXT, LOG, CSV, JSON, XML, PY, CIF, etc.): Displays the file contents with proper formatting.
  • HTML files (processing reports, etc.): Opens in a new browser tab.
  • Binary files: Displays the file's metadata.
CBF File Viewer

Figure 2. The File Viewer tab can be used to open diffraction images.

The File Viewer strip chart plot display

Figure 3. The File Viewer can display strip chart plots and the associated data.