Changelog#
This packages uses semantic versioning.
Version 0.4.0#
- Features:
Update to Python 3.11 and new numba version.
- Bugfixes:
Solve mypy issues with matplotlib figure.
Version 0.3.2#
- Features:
Major update of sphinx and minor update of pydata-sphinx-theme. Adjusted configuration to new schema.
Version 0.3.1#
- Bugfixes:
Fix documentation build by switching from conda to mamba in order to reduce the memory consumption of the dependency solving process.
Version 0.3.0#
- Features:
Remove the direct dependency on GDAL via the
osgeopackage and use therasteriopackage to read and write raster files instead.
- Bugfixes:
Fix failing CI due to an defunct poetry installation instruction.
Version 0.2.0#
- Features:
Use of the
.flake8config file.Configured Dependabot.
Add
CITATION.cfffile for citing the repository and linking to zenodo for DOI generation.Use python
loggingmodule and remove inheritance fromBaseclass.Use internal method
self._iterateto simluate years in order to reduce duplicate code.Getter and setter methods for the
plotinstance variable, which initializes or destroys thematplotlib.pyplot.figure.Functionality to export the glacier layers and statistics of the model as
.csvand.tifusing theself.export()method.Reproject example DEM
aletsch.tiffrom Swiss CH1903 / LV03 (EPSG:21781) to Swiss CH1903+ / LV95 (EPSG:2056).Add flow and model parameters as class attributes.
Add
fracd8algorithm as new submodule. The algorithm is JIT compiled using numba.Add
utilsmodule for helper utilities: Recording arrays and generating hillshades.
- 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
udas 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.
Version 0.1.2#
- Bugfixes:
Format shell scripts.
Adjust URLs to GitHub account due to renaming munterfinger to munterfi.
Version 0.1.1#
- 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
.whlininstall.shscript.
Version 0.1.0#
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 usingnumpydocdocstring style.
- Submodules:
model: The
GlacierFlowModelclass.internal: Base class and internals.
data: Stores example data, which can be accessed using the
PkgDataAccessclass.
- Scripts:
install.sh: Builds the package and installs it to the global python version.check.sh: Automates checks and documentation build.