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.

The *run_network_generator_OpenTopoDEM* tutorial notebook is failing

See original GitHub issue

The run_network_generator_OpenTopoDEM notebook is failing with the latest version of rasterio (v1.3). I believe this is due to a regression in rasterio and should, ultimately, be fixed there (see rasterio/rasterio#2538 for my attempt at a fix).

Until that fix is made, the offending cell could be modified to be,

x_UTM13, _ = rasterio.transform.xy(transform, [0] * dim_x_transf, np.arange(0, dim_x_transf))
_, y_UTM13 = rasterio.transform.xy(transform, np.arange(0, dim_y_transf), [0] * dim_y_transf)

Not pretty but it should work.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
mcflugencommented, Aug 9, 2022

how can we process to deactivate the notebook test and let the pull requests going on? Should I make a pull request with the updated landlab/notebooks/exclude.yml file?

@sebastien-lenard See #1463

1reaction
mcflugencommented, Aug 7, 2022

From what @shelbyahrendt says, it seems like there might be a bigger issue so I think I’ll just disable testing of this notebook for now and try to fix it in a new pull request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SimpleITK/TUTORIAL - GitHub
Fixing failing tests in all notebooks, mostly url changes. Fixing failing tests in all notebooks, mostly url changes.
Read more >
Solve problems with Jupyter Notebooks - coursera.support
Your Notebook lesson item will now launch to the fresh notebook. Find missing work. If your Jupyter Notebook files have disappeared, it means ......
Read more >
iPython Notebook/Jupyter autosave failed - Stack Overflow
The autosave has failed for the past 3 hours. The error says: "Last Checkpoint: 3 hours ago Autosave Failed! I try to manually...
Read more >
I don't like notebooks.- Joel Grus (Allen Institute for ... - YouTube
I have been using and teaching Python for many years. I wrote a best-selling book about learning data science. And here's my confession:...
Read more >
Troubleshoot an Amazon SageMaker notebook instance that's ...
Why does my Amazon SageMaker notebook instance get stuck in the Pending state, and then fail? Last updated: 2022-11-21. When I create or...
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