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

OGGM / oggm / 29021012713
85%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2026 01:29PM 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 Jul 2026 01:20PM UTC coverage: 84.789%. First build
29021012713

push

github

web-flow
Raise a clear error for UTM map_proj beyond its validity band (>84N / <80S) (#1946)

* Raise a clear error for UTM projection beyond its validity band

When cfg.PARAMS['map_proj'] == 'utm' and the outline has no UTM zone, OGGM
looks the zone up from the glacier center with pyproj's query_utm_crs_info.
UTM is only defined between 80S and 84N, so for glaciers in the high Arctic
or Antarctica the query returns an empty list and `utm_crs_list[0]` raised a
cryptic `IndexError: list index out of range`.

Extract the UTM lookup into a reusable `utm_proj4_from_lonlat` helper and
raise an informative InvalidParamsError that points the user to
map_proj='tmerc' (the default, valid at any latitude). Add a unit test.

Fixes #1945

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs: add whats-new entry for the UTM projection error fix

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Address review: neutral UTM out-of-band error wording

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: HoHo <HoHo@localhost>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

4181 of 5816 branches covered (71.89%)

9 of 10 new or added lines in 1 file covered. (90.0%)

13952 of 16455 relevant lines covered (84.79%)

4.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.65
oggm/utils/_workflow.py
Jobs
ID Job ID Ran Files Coverage
1 29021012713.1 09 Jul 2026 01:54PM UTC 33
84.79
GitHub Action Run
Source Files on build 29021012713
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • cb45e808 on github
  • Prev Build on master (#29020760782)
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