Skip to content

Commit

Permalink
Prepare release 0.18.0 (#1281)
Browse files Browse the repository at this point in the history
# Description
Prepare 0.18.0 release. I took the liberty of slightly improving the
cleanup example in the user guide, before it is pushed to the online
documentation.

I modified:
- select the last image as thumbnail
- Add titles to last plots

# Checklist
<!---
Before requesting review, please go through this checklist:
-->

- [ ] Links to correct issue
- [x] Update changelog, if changes affect users
- [ ] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [ ] Unit tests were added
- [x] **If feature added**: Added/extended example
  • Loading branch information
JoerivanEngelen authored Nov 11, 2024
1 parent 1c1a446 commit 5fe981f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/api/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ The format is based on `Keep a Changelog`_, and this project adheres to
`Semantic Versioning`_.


[Unreleased]
------------
[0.18.0]
--------

Fixed
~~~~~
Expand Down
9 changes: 7 additions & 2 deletions examples/user-guide/10-cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
datasets.
"""

# sphinx_gallery_thumbnail_number = -1

# %%
# We'll start with the usual imports
import numpy as np
Expand Down Expand Up @@ -169,9 +171,10 @@

diff_stage = dirty_ds["stage"] - cleaned_ds["stage"]

imod.visualize.plot_map(
fig, ax = imod.visualize.plot_map(
diff_stage.max(dim="layer"), "viridis", np.linspace(0, max_diff, 9)
)
ax.set_title("stage lowered by cleanup (m)")

# %%
#
Expand All @@ -182,9 +185,11 @@

diff_riv_bot = dirty_ds["bottom_elevation"] - cleaned_ds["bottom_elevation"]

imod.visualize.plot_map(
fig, ax = imod.visualize.plot_map(
diff_riv_bot.max(dim="layer"), "viridis", np.linspace(0, max_diff, 9)
)
ax.set_title("river bottom lowered by cleanup (m)")

# %%
#
# You can see the bottom elevation was lowered by the cleanup method.
Expand Down
2 changes: 1 addition & 1 deletion imod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
)
from imod.formats import gen, idf, ipf, prj, rasterio

__version__ = "0.17.2"
__version__ = "0.18.0"
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "imod-python"
version = "0.17.2"
version = "0.18.0"
description = "Make massive MODFLOW models"
authors = ["Deltares <[email protected]>", ]
channels = ["conda-forge", ]
Expand Down

0 comments on commit 5fe981f

Please sign in to comment.