ncvue.ncvue#
Calling routine of ncvue.
The calling routine sets up the toplevel root window, opens the netcdf file and gets an instance of the ncvMain class.
This module was written by Matthias Cuntz while at Institut National de Recherche pour l’Agriculture, l’Alimentation et l’Environnement (INRAE), Nancy, France.
- copyright:
Copyright 2020-2021 Matthias Cuntz - mc (at) macu (dot) de
- license:
MIT License, see LICENSE for details.
The following functions are provided:
|
The main function to start the data frame GUI. |
- History
Written Nov-Dec 2020 by Matthias Cuntz (mc (at) macu (dot) de)
Separate Tk() and Toplevel() widgets to communicate via Tk() between windows, Jan 2021, Matthias Cuntz
Set titlebar and taskbar icon only if “standalone” not in ipython or jupyter, May 2021, Matthias Cuntz
Different themes for different OS, May 2021, Matthias Cuntz
Font size 13 on Windows for plots, Jun 2021, Matthias Cuntz
Allow groups in netcdf files, Jan 2024, Matthias Cuntz
Allow multiple netcdf files, Jan 2024, Matthias Cuntz
Move themes/ and images/ directories from src/ncvue/ to src/ directory, Jan 2024, Matthias Cuntz
Move themes/ and images/ back to src/ncvue/, Feb 2024, Matthias Cuntz
Change formatting of file string for multiple files, Jul 2024, Matthias Cuntz
Use CustomTkinter if installed, Nov 2024, Matthias Cuntz
Use own ncvue-blue theme for customtkinter, Dec 2024, Matthias Cuntz
Include xarray to read input files, Feb 2025, Matthias Cuntz
- ncvue(ncfile=[], miss=nan, usex=False)[source]#
The main function to start the data frame GUI.
- Parameters:
ncfile (list of str, optional) – Name of netcdf file (default: []).
miss (float, optional) – Add value to list of missing values: _FillValue, missing_value, and the standard netCDF missing value for current datatype from netcdf4.default_fillvals (default: np.nan).
usex (bool, optional) – If True, use xarray to read input files. Multiple input files will be read using xarray.open_mfdataset.