-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
263 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
# 13+14 Nov geogeeks workshop material | ||
|
||
|
||
1. [Session #1 -- writing (13 Nov 8:45--12:00)](session1/index.md) | ||
1. [Session #2 -- Git (13 Nov 13:45--17:00)](session2/index.md) | ||
1. [Session #3 -- Linux(14 Nov 8:45--12:00)](session3/index.md) | ||
1. [Session #4 -- geo-Python (14 Nov 13:45--17:00)](session4/index.md) | ||
|
||
![](schedule.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
|
||
|
||
# Session #1 support material/info | ||
|
||
## Markdown | ||
|
||
- exercise #1: [HTML page to replicate](md_result.html) | ||
- exercise #2: convert your .md file to a PDF with [Pandoc](https://pandoc.org/) | ||
|
||
|
||
## LaTeX | ||
|
||
### Intro slides (as presented during GEO1002) | ||
|
||
[Intro slides to LaTeX](../../writing/files/intro_latex_tudelft3d.pdf) by [tudelft3d](https://3d.bk.tudelft.nl) | ||
|
||
### Exercises | ||
|
||
1. Register at <https://overleaf.com> with your `@tudelft.nl` email (for an account with more options, TUDelft pays for it) | ||
1. Start with the template below here and discover/try some features. Notice that this won't compile correctly because of the reference on line 26: the file `myreferences.bib` should be in the same folder | ||
1. copy the content of the second file to a file `myreferences.bib` and add it to the same folder | ||
1. check this [demo template](https://github.com/tudelft3d/latex-getting-started/tree/main/template) to know the best way to make complex things (tables, code, etc.) | ||
1. when all this works, try to replicate [this PDF](latex_result.pdf) | ||
|
||
|
||
### A better starting template for simple LaTeX | ||
|
||
```tex | ||
\documentclass[a4paper,11pt]{scrartcl} | ||
\usepackage{graphicx} | ||
\usepackage[utf8]{inputenc} %-- pour utiliser des accents en français | ||
\usepackage{amsmath,amssymb,amsthm} | ||
\usepackage[round]{natbib} | ||
\usepackage{url} | ||
\usepackage{mathpazo} | ||
\usepackage{booktabs} | ||
\usepackage{hyperref} | ||
\title{My great title} | ||
\author{Jan Smit\\ \url{[email protected]}} | ||
\date{\today} | ||
\begin{document} | ||
\maketitle | ||
\section{Introduction} | ||
Lemongrass frosted gingerbread bites banana bread orange crumbled lentils sweet potato black bean burrito green pepper springtime. | ||
Strawberry ginger lemongrass agave green tea smoky maple tempeh glaze enchiladas couscous. | ||
Cranberry spritzer Malaysian cinnamon pineapple salsa apples spring cherry bomb bananas blueberry pops scotch bonnet pepper. | ||
Bento box roasted peanuts pasta Sicilian~\citep{DeVries20}. | ||
\bibliographystyle{abbrvnat} | ||
\bibliography{references.bib} | ||
\end{document} | ||
``` | ||
|
||
```tex | ||
@article{DeVries20, | ||
author = {De Vries, Piet}, | ||
doi = {10.1016/j.scs.2022.104225}, | ||
journal = {Sustainable Cities and Society}, | ||
pages = {102222}, | ||
title = {Understanding the relationship between urban morphology and other things}, | ||
year = {2021} | ||
} | ||
``` | ||
|
||
|
||
## Python venv | ||
|
||
1. [install pyenv](../../python/install.md) | ||
1. [create a new venv](../../python/venv.md) called "geogeeks" | ||
1. activate it (with the console or with PyCharm) | ||
1. install [pyproj](https://pyproj4.github.io/pyproj/): `pip install pyproj` | ||
1. try to import it: `import pyproj` and you shouldn't get any errors | ||
|
||
## The slides | ||
|
||
Today's slides are available [there](files/slides.pdf). |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
# Session #2 support material/info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
# Session #3 support material/info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
|
||
|
||
# Session 4: geo-Python (Jupyter, Numpy, GeoPandas, Matplotlib) | ||
|
||
Instructors: Lukas Beuster & Gina Stavropoulou | ||
|
||
|
||
# Requirements: | ||
|
||
A computer with Python3.8 or higher. | ||
|
||
|
||
# Getting Started: | ||
|
||
You will need to use your [terminal](../../computer/terminal.md) on Linux/macOS, or your PowerShell on Windows. | ||
|
||
## Clone the repo (or use GitHub Desktop) | ||
|
||
```bash | ||
git clone https://github.com/GinaStavropoulou/geogeek-workshop.git | ||
cd geogeek-workshop | ||
``` | ||
|
||
## Create a new venv | ||
|
||
Use either [pyenv](../../python/venv.md) or the following commands: | ||
|
||
=== ":simple-apple: macOS + :simple-linux: Linux" | ||
|
||
Create a virtual environment: | ||
``` | ||
python -m venv .venv | ||
``` | ||
Activate the environment | ||
```bash | ||
source .venv/bin/activate | ||
``` | ||
|
||
=== ":simple-windows: Windows" | ||
|
||
Create a virtual environment: | ||
``` | ||
python -m venv .venv | ||
``` | ||
Activate the environment | ||
``` | ||
.venv\Scripts\Activate.ps1 | ||
``` | ||
|
||
|
||
## Install the requirements: | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
### Then get started with: | ||
|
||
```bash | ||
jupyter lab | ||
``` | ||
|
||
This will open jupyter lab on your browser. You can choose the notebook of Exercise 0 to start with. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
# Jupyter notebooks | ||
|
||
![](https://upload.wikimedia.org/wikipedia/commons/2/21/OpenGL_Tutorial_TODO.png){width=300x} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters