https://github.com/sydney-informatics-hub/geopython
Introduction to Python for Geoscientists
https://github.com/sydney-informatics-hub/geopython
Last synced: over 1 year ago
JSON representation
Introduction to Python for Geoscientists
- Host: GitHub
- URL: https://github.com/sydney-informatics-hub/geopython
- Owner: Sydney-Informatics-Hub
- Created: 2020-09-23T02:01:13.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T03:16:52.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T11:13:20.456Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage: https://sydney-informatics-hub.github.io/geopython/
- Size: 114 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
title: "SIH Python for Geoscience"
---
# Readme
All of the jupyter notebooks are in the `_ipynb` notebook.
Python for Geoscience SIH materials
Rendered at: https://sydney-informatics-hub.github.io/geopython/
- All notebooks go into `notebooks` folder
- Edit `index.qmd` to change the main landing page.
- Edit `setup.qmd` to change the Setup instruction pages.
- Edit `_quarto.yml` to change the dropdown menu options.
- Add additional `*.md` files to the root dir to have them converted to html files (and add them to `_quarto.yml` to make them navigable).
- Run the below commands to render the notebooks into markdown files and copy everything to the `/docs` folder, which will be what is hosted on the github pages.
- You will need to have jupyter and quarto installed to convert the notebooks and render them for the web.
```
quarto render
#First time you create the file, add them to be tracked by github, e.g.
git add docs/*
git commit -am "your comments"
git push
```
You can browse the result locally by exploring the html files created (note: sometimes figures display locally but not on web and the other way around too.)
***
When you want to convert the notebooks to pdf for the students, use the following command:
```sh
jupyter nbconvert --execute --to pdf notebook.ipynb
```