Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ v1.6.x (not released)

Enhancements
~~~~~~~~~~~~

- Resolved inverted sign of flowline diagnostics flux divergence (:pull:`1815`).
By `Brandon Tober <https://github.com/btobers>`_
- Added ``tasks.compute_fl_diagnostics_quantiles``, this task is designed to
calculate quantiles from multiple fl_diagnostic files. It enables users to
compute metrics such as the median flowline across various GCM projections
Expand Down
2 changes: 1 addition & 1 deletion oggm/core/flowline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ def run_until_and_store(self, y1,
surface_h_previous[fl_id] = fl.surface_h
if 'flux_divergence' in ovars_fl and (yr > self.y0):
# calculated after the formula dhdt = mb + flux_div

@pat-schmitt pat-schmitt Apr 28, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this to '# calculated after the formula mb = dhdt + flux_div'

val = ds['dhdt'].data[i, :] - ds['climatic_mb'].data[i, :]
val = ds['climatic_mb'].data[i, :] - ds['dhdt'].data[i, :]
# special treatment for retreating: If the glacier
# terminus is getting ice free it means the
# climatic mass balance is more negative than the
Expand Down
Loading