The PyFluxPro GUI - OzFlux/PyFluxPro GitHub Wiki

The PyFluxPro GUI

General

This section describes the main components of the PyFluxPro GUI. Using the GUI to edit the control files is described in the sections covering processing levels.

The image below shows the main window displayed when PyFluxPro is started.

Image of PFP GUI when first started.

The PyFluxPro main window consists of a menu bar at the top with a tab bar immediately below the menu. In the example shown above, only the Log tab is visible. Tabs containing the control file name are added to the tab bar whenever a control file is opened by PyFluxPro, see the image below.

Image of PFP GUI with L1 control file opened

The standard window controls for your operating system can be used to move and resize the PyFluxPro main window.

The File menu

The File menu options are shown in the image below.

Image of the PyFluxPro File menu

The File menu is divided into 3 sections.

The top section contains file operations (Open, Save and Save As...) that relate to control (text) files. Open brings up a file open dialogue which allows the user to select a control file. Save and Save As... will save the control file with its current name or a different name specified by the user respectively.

The middle section contains file operations (Convert, Explore and Split) that relate to data (netCDF) files. Convert brings up a sub-menu that allows the user to convert a netCDF file to an Excel workbook, an EddyPro biomet CSV file or an REddyProc input CSV file. Explore allows the user to open a netCDF file in a separate tab. Split brings up a separate GUI that allows the user to split a netCDF file into 2 separate files.

The bottom section contains a single entry, Quit, which quits PyFluxPro.

The Edit menu

This menu option has not been implemented yet. When done, this menu option will allow the user to edit global settings for PyFluxPro.

The Run menu

There is only 1 option under the Run menu at present, shown in the image below.

Image of Run menu option

Selecting the Current... option of the Run menu will cause PyFluxPro to run with the currently selected control file, the L1 control file for Calperum in the PFP_examples directory in the image shown above. Log messages generated by PyFluxPro during the execution of the current control file are displayed in the Log window. Log messages may be general messages (INFO), warnings if PyFluxPro encounters something about which it is unsure (WARNING) and errors if PyFluxPro encounters something it knows is wrong (ERROR).

The Plot menu

Time series plots of various kinds are automatically produced by the L2, L3, L4, L5 and L6 processing. The details of these plots are described in the relevant sections of this Wiki.

PyFluxPro can also produce several plots of data that has been processed and these are available through the Plot menu. The screenshot below shows the options available from the Plot menu.

Image of the Plot menu

The different types of plots are described in the Wiki section Plots in PyFluxPro.

The Utilities menu

PyFluxPro provides short cuts to several utility processing steps under the Utilities menu, see the screenshot below.

Image of the Utilities menu

The Climatology option runs the climatology processing with a standard list of variables on a netCDF file selected by the user. The u* threshold options, CPD (McHugh), CPD (Barr) and MPT offer 3 methods for estimating the u* threshold using the Change Point Detection and Moving Point Threshold algorithms (see Barr et al 2013, Reichstein et al, Papale et al 2006).