-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session initiations functions for Jupyter Notebooks #1629
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this. I think it will be good to get this to a working state even with some prototype API and merge it (based on the timing, we may need to consider how it will fit into 8.0 release - currently, the things merged to master will become part of 8.0 release).
Anyway, this will change massively, but having something working in the code may be helpful for testing and developing ideas, so that's what I think should be the aim in this PR.
Example notebook belongs in binder-button PR.
doc/notebooks/.ipynb_checkpoints/GSoC2021_GRASS_Jupyter_Integration-checkpoint.ipynb
Outdated
Show resolved
Hide resolved
…it-funcs Merging remote edits with local
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Poor doc/notebooks/example_notebook.ipynb, by deleting the file, you are asking for it to be deleted in the main code. Practically, this will cause a merge conflict with the PR where you are modifying it.
|
I think the data is in We can revisit the question of where the data should be, but that's for another PR. Let's keep the policy of un-computed notebooks in the source code. We can also revisit this later. Try-in-Binder link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The quotes are consistent, +1, but it is the other kind. Then, I think we are done.
|
Oops - I'm reading your comments above correctly now. They are double quotes now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. Works great for me with the Binder link. The CI fail is unrelated.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* develop: Add session initiations functions for Jupyter Notebooks (OSGeo#1629)
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
* Create subpackage grass.jupyter. * Add examples as an additional notebook. * The API is experimental. * The init function starts a session, but there is no way of ending it. * The display function reflects the current practice in notebooks. It will be reworked during GSoC 2021.
This PR contains several functions that simplify and shorten the launch of GRASS in Jupyter Notebooks, written as part of my Google Summer of Code project (https://trac.osgeo.org/grass/wiki/GSoC/2021/JupyterAndGRASS). It also contains a Jupyter Notebook (which launches in Binder) to demonstrate usage of the functions.