-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add eo-datascience-cookbook to cookbook_gallery.txt #224
Conversation
👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. |
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.
Hi @MartinSchobben and the rest of the EO Data Science Cookbook team, thanks for contributing these tutorials! I think the Cookbook is in great shape, so I just have a few minor comments:
- Like most other Project Pythia tutorials, I think it would be helpful to include a prerequisite section somewhere. I think it's fine to not have one for every notebook, but this section overview notebook might be a good place to list some prereqs.
- I was unable to download the data in the Datacubes notebook when running locally. It seems to work fine when running on GitHub actions, so I'm not sure what the issue is.
- The instructions on running locally in the README didn't really work for me, since conda was taking too long to resolve conflicts. Instead, creating environments from the .yml files in the three notebook directories with mamba worked fine. I was then able to run
make kernel
. I'm not familiar with this way of creating environments, so maybe some additional guidance in the README would help. - I opened a PR with some README and typo fixes, but I messed up some of the notebook metadata because of my confusion with the environments, so feel free to make those changes on your end. The only changes there that matter in my opinion are the author links in the README.
Thanks @r-ford! I agree with you about the multiple environments for each distinct notebook subdirectory. I combined each of them into a single top-level environment.yml, built the environment locally, and then ran through each notebook without error. This also has the nice effect of making the Binderhub image build a lot faster too. See ProjectPythia/eo-datascience-cookbook#4. |
Hi @jukent, @r-ford and @ktyle, Thanks a lot for the review and feedback. I respond here to clarify our course of action in regards to the comments and requested changes.
We agree that this is indeed a valuable addition that guides the reader. We will add a prerequisite to each of the courses and the separate notebooks of the tutorials and templates.
We can't replicate this issue. For reference I add here a link to the huggingface client used in the notebook.
That is an interesting observation. The idea of separating/modularizing the environments was made after much deliberation in order to prevent future conflicts in setting up one big conda environment. We will gives some more feedback below (in response to @ktyle ) on why we think that this is the better maintainable approach in the long run. We have not seen issues with setting up the environments. This should also be unrelated to using GNU Make, which is still calling conda. Besides running it on GitHub Actions, setting up environments in Linux Mint 21.3, Windows with WSL and the TU Vienna JupyterHub did not indicate any issues here. Perhaps it would, however, be better to show the user the standard way of creating a conda environment locally (with a
Thanks for the edits. We will make sure that we fix the author links.
@ktyle Thank you very much for looking into such detail in our cookbook. As already mentioned above, we only came up with this structure after much deliberation and through some experience which we gained from using the notebooks for teaching. The following things made use consider a multiple environment setup:
Of course, as you have noted, there are also some downsides to this approach:
Proposed solutions We can think of three solutions:
I hope we can have some discussion on the possible solutions. Ultimately we will respect your decision on the matter. Thanks once more! We are glad to be able to contribute to this awesome project! |
I'm interested in this hybrid approach if possible, since it makes the Cookbook testing and maintenance simpler, while still meeting your needs for standalone courses. I'm not familiar enough with our Cookbook Actions to know if you can store some environment |
@MartinSchobben yep sounds like a great plan! |
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 making those changes! I was able to run the notebooks without issue. I think this is ready to merge.
LGTM! Thanks so much for your persistence and hard work. I hope you'll consider joining us for the Cook-off next summer. |
Did we already add @MartinSchobben to the ProjectPythia GitHub org? |
@brian-rose , yes we did. |
Thank you all for the help an patience! I will consider the Cook-off. |
Waiting for Cookbook to pass nightly tests