Skip to content

glacier-flow-model 0.2.0

Compare
Choose a tag to compare
@munterfi munterfi released this 06 Apr 13:30
· 391 commits to master since this release
  • 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 from
      Base 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 the matplotlib.pyplot.figure.
    • Functionality to export the glacier layers and statistics of the model as
      .csv and .tif using the self.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.
  • 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.