Skip to content

Commit ef2d33f

Browse files
committed
Bump to version 6.1
1 parent 1d3c7e2 commit ef2d33f

File tree

7 files changed

+146
-133
lines changed

7 files changed

+146
-133
lines changed

CHANGELOG.rst

Lines changed: 132 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1,191 +1,196 @@
11
Changelog
22
---------
33

4+
v6.1 (Mar 2025)
5+
- Windows installer.
6+
- Correct logic to check for new file.
7+
- macOS installers with or without CustomTkinter on Intel and ARM64.
8+
49
v6.0 (Mar 2025)
5-
* Set delay for tooltips from 1 s to 0.5 s.
6-
* Use exclusively `add_*` for widget creation.
7-
* Remove delay in `ncvmap`.
8-
* Add `analyse_netcdf_xarray`.
9-
* New utility functions `xzip_dim_name_length`, `get_standard_name`,
10+
- Set delay for tooltips from 1 s to 0.5 s.
11+
- Use exclusively `add_*` for widget creation.
12+
- Remove delay in `ncvmap`.
13+
- Add `analyse_netcdf_xarray`.
14+
- New utility functions `xzip_dim_name_length`, `get_standard_name`,
1015
and `get_units` used in `ncvmethods`.
11-
* Add xarray support for reading files.
12-
* Use f-strings for most string operations.
13-
* New widgets `add_button` and `add_label`.
14-
* Increased number of digits in coordinate formatters.
16+
- Add xarray support for reading files.
17+
- Use f-strings for most string operations.
18+
- New widgets `add_button` and `add_label`.
19+
- Increased number of digits in coordinate formatters.
1520

1621
v5.1 (Dec 2024)
17-
* Use ncvue-specific theme with customtkinter.
18-
* Update images for new matplotlib cmaps.
19-
* Bugfix: file not updated in all tabs when opened with file dialog
22+
- Use ncvue-specific theme with customtkinter.
23+
- Update images for new matplotlib cmaps.
24+
- Bugfix: file not updated in all tabs when opened with file dialog
2025
in one tab with CustomTkinter.
21-
* Bugfix: dimensions not shown when file opened with file dialog.
22-
* Updated documentation.
26+
- Bugfix: dimensions not shown when file opened with file dialog.
27+
- Updated documentation.
2328

2429
v5.0 (Dec 2024)
25-
* Use CustomTkinter if installed.
26-
* Add Quit button.
27-
* Correct datetime formatting in coordinate printing.
28-
* Move from token to trusted publisher on PyPI.
30+
- Use CustomTkinter if installed.
31+
- Add Quit button.
32+
- Correct datetime formatting in coordinate printing.
33+
- Move from token to trusted publisher on PyPI.
2934

3035
v4.4.3 (Jul 2024)
31-
* Use `draw_idle` instead of `draw` in map update method for
32-
faster animation.
33-
* Change formatting of file string for multiple files.
36+
- Use `draw_idle` instead of `draw` in map update method for
37+
faster animation.
38+
- Change formatting of file string for multiple files.
3439

3540
v4.4.2 (Jul 2024)
36-
* Use `matplotlib.colormaps[name]` instead of
37-
`matplotlib.colormaps.get_cmap(name)` to work with
38-
matplotlib >= v3.9.0.
41+
- Use `matplotlib.colormaps[name]` instead of
42+
`matplotlib.colormaps.get_cmap(name)` to work with
43+
matplotlib >= v3.9.0.
3944

4045
v4.4.1 (Feb 2024)
41-
* Move themes and images back to src/ncvue.
46+
- Move themes and images back to src/ncvue.
4247

4348
v4.4 (Feb 2024)
44-
* Added borders, rivers, and lakes checkbuttons in map.
45-
* Bugfix: formatted string used wrong data type in `analyse_netcdf`.
46-
* Move themes and images directories from src/ncvue to src directory.
49+
- Added borders, rivers, and lakes checkbuttons in map.
50+
- Bugfix: formatted string used wrong data type in `analyse_netcdf`.
51+
- Move themes and images directories from src/ncvue to src directory.
4752

4853
v4.3 (Jan 2024)
49-
* Added conda and continuous integration badges.
50-
* Allow multiple netcdf files.
51-
* Squeeze output in `get_slice_miss` only if more than 1 dimension.
54+
- Added conda and continuous integration badges.
55+
- Allow multiple netcdf files.
56+
- Squeeze output in `get_slice_miss` only if more than 1 dimension.
5257

5358
v4.2 (Jan 2024)
54-
* Updated versions of github actions.
55-
* Changed to sphinx_book_theme for documentation.
56-
* Use local copy of `tooltip.py` from idle.
57-
* Allow groups in netcdf files.
58-
* Made ``ncvue`` work with newer matplotlib versions, updating
59-
colormaps and using matplotlib.pyplot.style 'seaborn-v0_8-dark'.
60-
* Made ``ncvue`` work with newer Tcl/Tk versions (ttk.Style.theme_use).
59+
- Updated versions of github actions.
60+
- Changed to sphinx_book_theme for documentation.
61+
- Use local copy of `tooltip.py` from idle.
62+
- Allow groups in netcdf files.
63+
- Made ``ncvue`` work with newer matplotlib versions, updating
64+
colormaps and using matplotlib.pyplot.style 'seaborn-v0_8-dark'.
65+
- Made ``ncvue`` work with newer Tcl/Tk versions (ttk.Style.theme_use).
6166

6267
v4.1.2 (Jun 2022)
63-
* Made ``ncvue`` a gui_script entry_point, so it can be called by
64-
`python -m ncvue`.
65-
* Bumped minimum Python version to 3.7 because of proj4.
68+
- Made ``ncvue`` a gui_script entry_point, so it can be called by
69+
`python -m ncvue`.
70+
- Bumped minimum Python version to 3.7 because of proj4.
6671

6772
v4.1.1 (Nov 2021)
68-
* Added package_data to `setup.cfg`.
73+
- Added package_data to `setup.cfg`.
6974

7075
v4.1 (Nov 2021)
71-
* Add final routines `add_cyclic` and `has_cyclic` committed to cartopy
72-
v0.20.1.
73-
* Added `ncvue` to conda-forge.
74-
* Added `scripts` in [options] section in `setup.cfg`.
76+
- Add final routines `add_cyclic` and `has_cyclic` committed to cartopy
77+
v0.20.1.
78+
- Added `ncvue` to conda-forge.
79+
- Added `scripts` in [options] section in `setup.cfg`.
7580

7681
v4.0 (Oct 2021)
77-
* Move to new pip structure using `pyproject.toml`.
78-
* Versioning with `setuptools_scm`.
79-
* Move to src directory structure.
80-
* Move to Github actions.
82+
- Move to new pip structure using `pyproject.toml`.
83+
- Versioning with `setuptools_scm`.
84+
- Move to src directory structure.
85+
- Move to Github actions.
8186

8287
v3.8 (Oct 2021)
83-
* Work with files without an unlimited (time) dimension.
84-
* Removed bug in detection of lon/lat.
85-
* Identify lon/lat also by axis attributes x/y or X/Y.
86-
* Do not default the unlimited dimension to 'all' if no lon/lat were found.
88+
- Work with files without an unlimited (time) dimension.
89+
- Removed bug in detection of lon/lat.
90+
- Identify lon/lat also by axis attributes x/y or X/Y.
91+
- Do not default the unlimited dimension to 'all' if no lon/lat were found.
8792

8893
v3.7 (Sep 2021)
89-
* Use Azure theme v2.0 on Linux and Sun Valley theme v1.0 on Windows from
90-
rdbende (https://github.com/rdbende).
91-
* Does not provide standalone package (no installer) on macOS with Apple
92-
Silicon (M1) chip anymore (no paid Apple Developer ID).
94+
- Use Azure theme v2.0 on Linux and Sun Valley theme v1.0 on Windows from
95+
rdbende (https://github.com/rdbende).
96+
- Does not provide standalone package (no installer) on macOS with Apple
97+
Silicon (M1) chip anymore (no paid Apple Developer ID).
9398

9499
v3.6 (Jun 2021)
95-
* Separate variables and dimensions by space again but deal with space in
96-
variable names.
97-
* Use cx_Freeze to make standalone apps.
98-
* Font size 13 on Windows in plot panel.
100+
- Separate variables and dimensions by space again but deal with space in
101+
variable names.
102+
- Use cx_Freeze to make standalone apps.
103+
- Font size 13 on Windows in plot panel.
99104

100105
v3.5.1 (Jun 2021)
101-
* Set labelling of second y-axis to the right explicitly, which needs to be
102-
done with newer Matplotlib versions.
106+
- Set labelling of second y-axis to the right explicitly, which needs to be
107+
done with newer Matplotlib versions.
103108

104109
v3.5 (Jun 2021)
105-
* Uses different themes on different operating systems.
106-
* New add_cyclic function used as submitted to Cartopy.
110+
- Uses different themes on different operating systems.
111+
- New add_cyclic function used as submitted to Cartopy.
107112

108113
v3.4 (May 2021)
109-
* Works in ipython and jupyter notebooks. Adapted documentation accordingly.
110-
* Added license to documentation.
111-
* Change separator character to unit separator (ASCII 31).
112-
* Print correct coordinates and values on plotting window.
113-
* Set time axis to numpy's datetime64 format.
114-
* Moved from Matplotlib style `seaborn-darkgrid` to `seaborn-dark`.
115-
* Grid is drawn by hand in contour plot. Set automatic grid to False:
116-
`self.axes.grid(False)`.
114+
- Works in ipython and jupyter notebooks. Adapted documentation accordingly.
115+
- Added license to documentation.
116+
- Change separator character to unit separator (ASCII 31).
117+
- Print correct coordinates and values on plotting window.
118+
- Set time axis to numpy's datetime64 format.
119+
- Moved from Matplotlib style `seaborn-darkgrid` to `seaborn-dark`.
120+
- Grid is drawn by hand in contour plot. Set automatic grid to False:
121+
`self.axes.grid(False)`.
117122

118123
v3.3.1 (Feb 2021)
119-
* Better installation instructions for all platforms.
120-
* Dropped claim of Python 2 support, which was not given.
124+
- Better installation instructions for all platforms.
125+
- Dropped claim of Python 2 support, which was not given.
121126

122127
v3.3 (Feb 2021)
123-
* Main window disappears if closed even if called from within Python.
124-
* Added Windows Installer for ncvue standalone program.
125-
* Added standalone app for macOS.
128+
- Main window disappears if closed even if called from within Python.
129+
- Added Windows Installer for ncvue standalone program.
130+
- Added standalone app for macOS.
126131

127132
v3.2 (Jan 2021)
128-
* Added 'Open File' button to switch between files.
129-
* Separated Tk() and Toplevel() to communicate via Tk() between windows.
130-
* Externalise analysis of netcdf file for open file button.
131-
* Allow finding images path in standalone applications using pyinstaller.
133+
- Added 'Open File' button to switch between files.
134+
- Separated Tk() and Toplevel() to communicate via Tk() between windows.
135+
- Externalise analysis of netcdf file for open file button.
136+
- Allow finding images path in standalone applications using pyinstaller.
132137

133138
v3.1 (Jan 2021)
134-
* Include `ncvue/images/*.png` in PyPI wheel.
139+
- Include `ncvue/images/*.png` in PyPI wheel.
135140

136141
v3.0 (Jan 2021)
137-
* Moved from ReadTheDocs to Github Pages for documentation.
138-
* Added tooltips to all selectors, entries, menus.
139-
* Variable names are now separated by SEPCHAR=chr(6) because netcdf variable
140-
names can have spaces, parentheses, brackets, etc.
141-
* Map panel is only chosen first if either lon or lat have more than one
142-
grid cell.
143-
* Central longitude is now calculated in 0-360 range but set in -180 to 180
144-
range. Seems to be more stable for grids that are missing for example the
145-
southern hemisphere.
146-
* Catch a few errors if variable is for example a simple string (e.g.
147-
vegetation type, basin name or similar).
142+
- Moved from ReadTheDocs to Github Pages for documentation.
143+
- Added tooltips to all selectors, entries, menus.
144+
- Variable names are now separated by SEPCHAR=chr(6) because netcdf variable
145+
names can have spaces, parentheses, brackets, etc.
146+
- Map panel is only chosen first if either lon or lat have more than one
147+
grid cell.
148+
- Central longitude is now calculated in 0-360 range but set in -180 to 180
149+
range. Seems to be more stable for grids that are missing for example the
150+
southern hemisphere.
151+
- Catch a few errors if variable is for example a simple string (e.g.
152+
vegetation type, basin name or similar).
148153

149154
v2.0 (Jan 2021)
150-
* Added Map panel.
151-
* Assure 2-digit month and day and 4 digit year in time unit.
152-
* Added return on numeric keyboard to key bindings.
153-
* Changed layout so that dimensions are below variable selection spinboxes.
154-
* Transpose array by default in Contour panel so that first dimension (time)
155-
is on x-axis (col) because contourf/pcolormesh use (row,col).
156-
* Common arithmetic operations on axes: mean, std, min, max, ptp, sum,
157-
median, var.
158-
* General get_slice function for x, y, y2, and z.
159-
* Only activate valid dimensions for chosen variable, disable others.
160-
* Axis labels are now the long_name attribute then the standard_name
161-
attribute and only if both are missing the variable name.
155+
- Added Map panel.
156+
- Assure 2-digit month and day and 4 digit year in time unit.
157+
- Added return on numeric keyboard to key bindings.
158+
- Changed layout so that dimensions are below variable selection spinboxes.
159+
- Transpose array by default in Contour panel so that first dimension (time)
160+
is on x-axis (col) because contourf/pcolormesh use (row,col).
161+
- Common arithmetic operations on axes: mean, std, min, max, ptp, sum,
162+
median, var.
163+
- General get_slice function for x, y, y2, and z.
164+
- Only activate valid dimensions for chosen variable, disable others.
165+
- Axis labels are now the long_name attribute then the standard_name
166+
attribute and only if both are missing the variable name.
162167

163168
v1.4 (Dec 2020)
164-
* Colorbar menu with images of colorbars.
165-
* Use unlimited dimension instead of first dimension in Scatter and Contour
166-
panels as default for 'all'.
167-
* Use slice function rather than numpy.take to extract slices of arrays,
168-
i.e. reads only the current slice from disk.
169-
* Enhanced documentation with automatic API generation.
169+
- Colorbar menu with images of colorbars.
170+
- Use unlimited dimension instead of first dimension in Scatter and Contour
171+
panels as default for 'all'.
172+
- Use slice function rather than numpy.take to extract slices of arrays,
173+
i.e. reads only the current slice from disk.
174+
- Enhanced documentation with automatic API generation.
170175

171176
v1.3 (Dec 2020)
172-
* Use zmin/zmax to fix colorbar for different dimensions in Contour panel.
173-
* Optional grid lines in Contour panel.
174-
* Possibility to invert x-axis in Scatter/Line panel.
175-
* Rename Scatter to Scatter/Line.
176-
* Use build instead of cibuildwheel to make pure Python wheels.
177+
- Use zmin/zmax to fix colorbar for different dimensions in Contour panel.
178+
- Optional grid lines in Contour panel.
179+
- Possibility to invert x-axis in Scatter/Line panel.
180+
- Rename Scatter to Scatter/Line.
181+
- Use build instead of cibuildwheel to make pure Python wheels.
177182

178183
v1.2 (Dec 2020)
179-
* Put common methods in ncvmethods (first arg is self).
180-
* Make lists of labels, spinboxes and values of dimensions rather than
181-
exhaustive lists of if/elif statements.
184+
- Put common methods in ncvmethods (first arg is self).
185+
- Make lists of labels, spinboxes and values of dimensions rather than
186+
exhaustive lists of if/elif statements.
182187

183188
v1.1 (Dec 2020)
184-
* Modularised ncvue to have utilities and different panels in individual
185-
files.
186-
* Open new window without helper class ncvWin to avoid circular import when
187-
modularised.
189+
- Modularised ncvue to have utilities and different panels in individual
190+
files.
191+
- Open new window without helper class ncvWin to avoid circular import when
192+
modularised.
188193

189194
v1.0 (Nov 2020)
190-
* Initial release on Github.
191-
* Scatter and Contour plot panels.
195+
- Initial release on Github.
196+
- Scatter and Contour plot panels.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ everything needed to run ``ncvue`` including Python:
100100

101101
and a tentative Windows installer (to be checked):
102102

103-
- `ncvue 6.0 Windows`_
103+
- `ncvue 6.1.dev4 Windows`_
104104

105105
`ncvue 4.0` should work from macOS 10.13 (High Sierra) onward on Intel
106106
processors. `ncvue > 5.0` is either for Intel processors or for Apple
@@ -340,7 +340,7 @@ Different netCDF test files were provided by `Juliane Mai`_.
340340
.. _ncvue 6.0 ARM: https://www.macu.de/extra/ncvue-6.0.aqua.arm64.dmg
341341
.. _ncvue 6.0 CTk Intel: https://www.macu.de/extra/ncvue-6.0.ctk.intel.dmg
342342
.. _ncvue 6.0 CTk ARM: https://www.macu.de/extra/ncvue-6.0.ctk.arm64.dmg
343-
.. _ncvue 6.0 Windows: https://www.macu.de/extra/ncvue-6.0.win64.msi
343+
.. _ncvue 6.1.dev4 Windows: https://www.macu.de/extra/ncvue-6.1.dev4-win64.msi
344344
.. _panoply: https://www.giss.nasa.gov/tools/panoply/
345345
.. _rdbende: https://github.com/rdbende
346346
.. _template: https://github.com/MuellerSeb/template

docs/html/changelog.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,12 @@ <h1>Changelog</h1>
381381
<section id="changelog">
382382
<span id="id1"></span><h1>Changelog<a class="headerlink" href="#changelog" title="Link to this heading">#</a></h1>
383383
<dl class="simple">
384+
<dt>v6.1 (Mar 2025)</dt><dd><ul class="simple">
385+
<li><p>Windows installer.</p></li>
386+
<li><p>Correct logic to check for new file.</p></li>
387+
<li><p>macOS installers with or without CustomTkinter on Intel and ARM64.</p></li>
388+
</ul>
389+
</dd>
384390
<dt>v6.0 (Mar 2025)</dt><dd><ul class="simple">
385391
<li><p>Set delay for tooltips from 1 s to 0.5 s.</p></li>
386392
<li><p>Use exclusively <cite>add_*</cite> for widget creation.</p></li>

docs/html/package.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,8 @@ <h2>Subpackages<a class="headerlink" href="#subpackages" title="Link to this hea
482482
<li><p>v4.4.3 Use draw_idle for faster animation, Jul 2024, Matthias Cuntz</p></li>
483483
<li><p>v5.0 Use CustomTkinter if installed, Nov 2024, Matthias Cuntz</p></li>
484484
<li><p>v5.1 make notarized standalone versions, Dec 2024, Matthias Cuntz</p></li>
485-
<li><p>v6.0 Include xarray to read input files, Feb 2025, Matthias Cuntz</p></li>
485+
<li><p>v6.0 Include xarray to read input files, Mar 2025, Matthias Cuntz</p></li>
486+
<li><p>v6.1 macOS and Windows installers, Mar 2025, Matthias Cuntz</p></li>
486487
</ul>
487488
</dd>
488489
</dl>

docs/html/readme.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ <h2>Installation<a class="headerlink" href="#installation" title="Link to this h
474474
<p>and a tentative Windows installer (to be checked):</p>
475475
<blockquote>
476476
<div><ul class="simple">
477-
<li><p><a class="reference external" href="https://www.macu.de/extra/ncvue-6.0.win64.msi">ncvue 6.0 Windows</a></p></li>
477+
<li><p><a class="reference external" href="https://www.macu.de/extra/ncvue-6.1.dev4-win64.msi">ncvue 6.1.dev4 Windows</a></p></li>
478478
</ul>
479479
</div></blockquote>
480480
<p><cite>ncvue 4.0</cite> should work from macOS 10.13 (High Sierra) onward on Intel

docs/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ncvue/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
* v4.4.3 Use draw_idle for faster animation, Jul 2024, Matthias Cuntz
6868
* v5.0 Use CustomTkinter if installed, Nov 2024, Matthias Cuntz
6969
* v5.1 make notarized standalone versions, Dec 2024, Matthias Cuntz
70-
* v6.0 Include xarray to read input files, Feb 2025, Matthias Cuntz
70+
* v6.0 Include xarray to read input files, Mar 2025, Matthias Cuntz
71+
* v6.1 macOS and Windows installers, Mar 2025, Matthias Cuntz
7172
7273
"""
7374
# helper functions

0 commit comments

Comments
 (0)