question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OGGM tutorial error

See original GitHub issue

I’m playing around with the tutorials to better figure out how to compare my mass balance measurements and ice thickness observations to the modeled MB and ice thickness.

Using thickness_model.ipynb I am throwing a few errors, which may all be related to the first.

First error is thrown when running: # Tested tasks task_list = [ tasks.gridded_attributes, tasks.gridded_mb_attributes, ] for task in task_list: workflow.execute_entity_task(task, gdirs)

OSError: [Errno -101] NetCDF: HDF error: b’/tmp/OGGM/OGGM_Toy_Thickness_Model/per_glacier/RGI60-01/RGI60-01.16/RGI60-01.16195/gridded_data.nc’

Second error when plotting the aspect and oggm_mb_above_z variables: AttributeError: ‘Proj’ object has no attribute ‘is_latlong’

Third error when using cross-validation to select the regularization parameter: ValueError: Input contains NaN, infinity or a value too large for dtype(‘float64’).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
fmaussioncommented, Aug 17, 2020

@AndreasLuckert thanks for the report. This is more an issue for https://github.com/fmaussion/salem , but I agree. I will do a release shortly.

0reactions
fmaussioncommented, Aug 20, 2020

OK, a new release is on PyPi: https://pypi.org/project/salem/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing with errors after a run
In this example, we run the model on a list of three glaciers: two of them will end with errors: one because it...
Read more >
The Open Global Glacier Model
Online tutorials: http://oggm.org/tutorials ... complexes and ice divides (this problem can be mitigated by defining glacier complexes as one single entity, ...
Read more >
Getting started with OGGM: Ötztal case study
We are going to use the case we use for testing the oggm codebase. ... The inversion is already fully automated in OGGM,...
Read more >
OGGM Online tutorial notes
tags: `oggm` # OGGM Online tutorial notes 16.04.2020, 14H [Fabien Maussion](https://fabienm. ... the problem of bed topography:.
Read more >
3. Deal with errors — OGGM 1.1 documentation
preprocessing_errors.ipynb reproduces the error analysis of our GMD paper. You can open these tutorials online by following this link: https://img.shields.io/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found