Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evetion/ogh2023
Teaching material for the OpenGeoHub summer school
https://github.com/evetion/ogh2023
julia lecture
Last synced: about 2 months ago
JSON representation
Teaching material for the OpenGeoHub summer school
- Host: GitHub
- URL: https://github.com/evetion/ogh2023
- Owner: evetion
- License: mit
- Created: 2023-08-23T06:14:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-04T09:59:09.000Z (over 1 year ago)
- Last Synced: 2024-05-01T15:52:37.387Z (8 months ago)
- Topics: julia, lecture
- Language: Jupyter Notebook
- Homepage: https://opengeohub.org/summer-school/opengeohub-summer-school-poznan-2023/
- Size: 27.3 MB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OGH2023
Julia teaching materials for the [OpenGeoHub summer school 2023](https://opengeohub.org/summer-school/opengeohub-summer-school-poznan-2023/) in Poznan, Poland.## Hackathons
I've participated in the OGH2023 hackathons by using Julia (and won 🎉). The notebooks are here:
- `hackathons/ticks.ipynb` (for https://www.ratnaweera.xyz/OpenGeoHub_2023/)
- `hackathons/landcover.ipynb` (for https://www.kaggle.com/competitions/ogh2023)## Schedule
See the [schedule at pretalx](https://pretalx.earthmonitor.org/opengeohub-summer-school-2023/schedule/).### Tuesday 29th of August 2023 in Room 18
### 09:00 - 10:30
- Introduction (`ogh_summerschool_julia.pdf`, `intro.ipynb`)
- Differences with other languages (`differences.ipynb`)
- Managing packages (`package-manager.ipynb`)
- Parallel processing (`parallel.ipynb`)### 11:00 - 12:30
- Geospatial processing in Julia (`juliageo.ipynb`)
- Opening the hackathon files (`ogh2023.ipynb`)## Prerequisites
Please install Julia either from the [Windows store](https://www.microsoft.com/store/apps/9NJNWW8PVKMN) or follow the instructions for installing Julia with Juliaup [here](https://github.com/JuliaLang/juliaup?tab=readme-ov-file#installation).Afterwards run the following in a command-line to install the packages used in this session.
`julia -e "using Pkg; Pkg.add([\"GeoDataFrames\", \"Rasters\", \"GeoArrays\", \"GeoInterface\", \"IJulia\", \"Plots\", \"WellKnownGeometry\"])"`One can also run the same from *within* Julia by starting Julia, typing `]` to enter package mode (the prompt should turn blue) and input:
`add GeoDataFrames Rasters GeoArrays GeoInterface IJulia Plots WellKnownGeometry`## Usage
Please git clone this repository and run jupyterlab to run these notebooks.```julia
using IJulia
jupyterlab() # this will launch a browser window
```Alternatively, you could run these notebooks interactively in VS Code (with the Julia plugin). After following the steps in prerequisites, one could also use their existing Jupyter installation to open/create Julia notebooks.