SPICE_XCONTROL_L23 - ITA-Solar/solo-spice-ql GitHub Wiki

Description

SPICE_XCONTROL_L23 is a GUI utility to view, edit or create level 3 SPICE FITS files, along with the corresponding level 2 file. The tool takes as input a level 2 or a level 3 file, and then displays 3 columns. Each column stands for one file, first the level 2 file, then the official level 3 file, i.e. the level 3 that is found in the official location, i.e. $SPICE_DATA/level3. The third column shows the level 3 file that the user can create with his/her own options and fitting components.

Each window can be viewed/edited or created separately and the FITS file can then be saved. Alternatively, with the upper most button, all or some windows can be (re)created in one go. This will overwrite all previous data, i.e. windows that had level 3 data, and that were not selected in this round, will get deleted.

When viewing a level 3 window (in xcfit_block) the tool assumes that the window was edited, and will mark it as such, even though no changes were made. This is because the tool can not know whether the user actually made changes or not.

Syntax

spice_xcontrol_l23, file [, group_leader = group]

Arguments

file

A SPICE file, either level 2 or level 3.

Optional Input

group_leader

Widget ID of parent widget. If provided, this widget will be a modal widget.

Description of the GUI

Column 1

This is the column for the level 2 file. The level 2 file will be shown if it either was provided as input, or if it was found in the official location, i.e. under $SPICE_DATA/level2/yyyy/mm/dd/.

Column 2

This is the column for the official level 3 file. The level 3 file will be shown if it either was provided as input, or if it was found in the official location, i.e. under $SPICE_DATA/level3/yyyy/mm/dd/.

Column 3

This is the column for the user's level 3 file. This level 3 file will be shown if it either was provided as input, or if it was found in the user subdirectory, i.e. under $SPICE_DATA/user/level3/yyyy/mm/dd/.