• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OGGM / oggm / 17591501557
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 09 Sep 2025 06:04PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2025 06:03PM UTC coverage: 84.559% (+0.06%) from 84.504%
17591501557

push

github

web-flow
Adding DailyTIModel (#1800)

* feat: child DailyTIModel, refactor MonthlyTIModel

Adds the DailyTIModel from OGGM/massbalance-sandbox.
Relies on subclass' methods instead of if statements in parent.
No breaking changes!

The output from DailyTIModel is slightly different as it switches to the
Julian year for calculating melt_f (mean percentage difference -0.23%).

* tests(models): add template for DailyTIModel

Some tests are skipped as daily data is not yet implemented into
ref_mb_data.

* feat(shop): download W5E5 data at daily resolution

Links ``process_w5e5_data`` to ``process_gswp3_w5e5_data_daily`` to
preserve workflow for other daily resolution datasets. Data is currently
pulled from ~dtcg until it is available on OGGM.

Refactors:
  - Duplicated code
  - URL checking in conftest
Removes:
 - Unused gradient computations, unused imports.

Refs: #1750

* feat: convert between hydro/julian dates

Adds support for converting between hydro/julian date arrays and vice
versa, used for daily W5E5 data.

Refs: #844, #1349

* refactor(models): MB models switch more cleanly between resolutions

Fixes missing ``climate_historical_daily`` file and monthly data passed
to daily model.

* refactor(shop): drop hydroyear support, tests

Removes support for hydroyear conversion as data now follow Julian
calendar.

Adds tests for W5E5 shop.

Bugs: Some statistical functions do not yet support daily data.

* fix(massbalance): incorrect dimensions for daily climate data

* feat(massbalance): daily specific mass balance output

Adds daily specific mass balance to output via ``get_specific_mb_daily``.

Daily MB is not fully integrated with the rest of OGGM, nor with leap years.

Bug: ``get_annual_mb`` and hence ``get_specific_mb`` skips the last month of
data.

* fix(massbalance): W5E5 shop now downloads last month of data

Fixes bug where the last month of data was not downloaded from the shop, which
then affected annual mass balance calculations.

* fix: specific m... (continued)

404 of 442 new or added lines in 14 files covered. (91.4%)

17 existing lines in 7 files now uncovered.

12612 of 14915 relevant lines covered (84.56%)

3.78 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.12
-0.4% oggm/core/dynamic_spinup.py
1
89.26
-0.1% oggm/core/flowline.py
2
95.83
-1.14% oggm/core/climate.py
2
94.87
7.87% oggm/shop/w5e5.py
5
84.28
2.85% oggm/utils/_funcs.py
9
86.3
-0.38% oggm/utils/_workflow.py
18
91.41
0.16% oggm/core/massbalance.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.26
-0.1% oggm/core/flowline.py
1
91.41
0.16% oggm/core/massbalance.py
1
88.39
-0.19% oggm/graphics.py
1
94.87
7.87% oggm/shop/w5e5.py
1
74.0
-0.08% oggm/utils/_downloads.py
2
86.3
-0.38% oggm/utils/_workflow.py
10
78.12
-0.4% oggm/core/dynamic_spinup.py
Jobs
ID Job ID Ran Files Coverage
1 17591501557.1 09 Sep 2025 06:25PM UTC 33
84.56
GitHub Action Run
Source Files on build 17591501557
  • Tree
  • List 33
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 49a1f9aa on github
  • Prev Build on dev (#17064419897)
  • Next Build on dev (#17612829718)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc