This packages uses semantic versioning.
- Features:
- Update to Python 3.11 and new numba version.
- Bugfixes:
- Solve mypy issues with matplotlib figure.
- Features:
- Major update of sphinx and minor update of pydata-sphinx-theme. Adjusted configuration to new schema.
- Bugfixes:
- Fix documentation build by switching from conda to mamba in order to reduce the memory consumption of the dependency solving process.
- Features:
- Remove the direct dependency on GDAL via the
osgeo
package and use therasterio
package to read and write raster files instead.
- Remove the direct dependency on GDAL via the
- Bugfixes:
- Fix failing CI due to an defunct poetry installation instruction.
- Features:
- Use of the
.flake8
config file. - Configured Dependabot.
- Add
CITATION.cff
file for citing the repository and linking to zenodo for DOI generation. - Use python
logging
module and remove inheritance fromBase
class. - Use internal method
self._iterate
to simluate years in order to reduce duplicate code. - Getter and setter methods for the
plot
instance variable, which initializes or destroys thematplotlib.pyplot.figure
. - Functionality to export the glacier layers and statistics of the model as
.csv
and.tif
using theself.export()
method. - Reproject example DEM
aletsch.tif
from Swiss CH1903 / LV03 (EPSG:21781) to Swiss CH1903+ / LV95 (EPSG:2056). - Add flow and model parameters as class attributes.
- Add
fracd8
algorithm as new submodule. The algorithm is JIT compiled using numba. - Add
utils
module for helper utilities: Recording arrays and generating hillshades.
- Use of the
- Bugfixes:
- Fix failing CI: Update package dependencies, set GitHub actions to python 3.10, set GDAL version to 3.4.1 and remove shebang from tests.
- Updated mypy configuration.
- Calling
self.reach_steady_state()
on an already iterated model, will now perform a clean reset of the model. - A model destructor ensures closing the model figure, when the model is deleted or garbage collected.
- Clarify the velocity variable
ud
as surface ice deformation velocity (at medium height), and point out that basal sliding and soft bed deformation are ignored. - Fix mass balance long-term trend line in plot, when calling simulate on a model in steady state.
- Bugfixes:
- Format shell scripts.
- Adjust URLs to GitHub account due to renaming munterfinger to munterfi.
- Features:
- New issue templates for bug reports and feature requests.
- Documentation and PyPI link in the project description.
- Bugfixes:
- Typo in documentation link.
- Force install from
.whl
ininstall.sh
script.
- Initial release of the glacier-flow-model on pypi.org package; a python tool to model glacier flow.
- Development setup:
poetry
: Managing dependencies and package build env.pytest
: Framework for testing.mypy
: Static type checking.flake8
: Code linting.sphinx
: Documentation of the package usingnumpydoc
docstring style.
- Submodules:
- model: The
GlacierFlowModel
class. - internal: Base class and internals.
- data: Stores example data, which can be accessed using the
PkgDataAccess
class.
- model: The
- Scripts:
install.sh
: Builds the package and installs it to the global python version.check.sh
: Automates checks and documentation build.