Skip to content

Commit ee3cda4

Browse files
committed
Merge branch 'gh-pages' of github.com:datacarpentry/geospatial-workshop into gh-pages
2 parents c25d442 + f828284 commit ee3cda4

4 files changed

Lines changed: 51 additions & 21 deletions

File tree

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
carpentry: "dc"
1111

1212
# Overall title for pages.
13-
title: "Data Carpentry Geospatial Workshop"
13+
title: "Geospatial Workshop Overview"
1414

1515
# Life cycle stage of the lesson
1616
# possible values: "pre-alpha", "alpha", "beta", "stable"

_extras/guide.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,29 @@
22
layout: page
33
title: "Instructor Notes"
44
---
5-
FIXME
5+
## Instructor notes
6+
7+
## Workshop Structure
8+
9+
The following table provides the structure for the Geospatial Workshop and *estimated* timings for each lesson.
10+
11+
| Lesson | Length | Include if: |
12+
|---|---|---|
13+
| [Introduction to Geospatial Concepts](https://datacarpentry.org/organization-geospatial/) ([instructor notes](https://datacarpentry.org/organization-geospatial/guide/index.html)) | **75 minutes** - estimated, will not be accurate | Learners have no experience with geospatial data. |
14+
| [Introduction to R for Geospatial Data](https://datacarpentry.org/r-intro-geospatial/) ([instructor notes](https://datacarpentry.org/r-intro-geospatial/guide/index.html)) | **4 hours** - estimated, will not be accurate | Learners have no experience with R. |
15+
| [Introduction to Geospatial Raster and Vector Data with R](https://datacarpentry.org/r-raster-vector-geospatial/) ([instructor notes](https://datacarpentry.org/r-raster-vector-geospatial/guide/index.html)) | **7 hours** - estimated, will not be accurate | Always. |
16+
17+
If the workshop audience is experienced in both R and geospatial concepts, this workshop could theoretically be taught in one day. However, note that these timings are estimates and we are relying on feedback from pilot workshop Instructors to add accurate timing information.
18+
19+
[Instructors: add information about timing and selecting materials as these workshops are piloted]
20+
21+
## Technical tips and tricks
22+
23+
#### Installation
24+
- For the [Introduction to Geospatial Raster and Vector Data with R](https://datacarpentry.org/r-raster-vector-geospatial/) lesson, learners MUST download the data and install the software before the workshop. The data set is large (>150 Mb) and there are numerous software packages and R libraries to install. **Remind your learners multiple times!**
25+
- Instructions to download data and set up a machine to analyze and process geospatial data: http://datacarpentry.org/geospatial-workshop/setup.html
26+
- You may find it helpful to host an "install party" prior to your workshop where you and your co-instructors help learners install the necessary software for the workshop. If this is unfeasible, leave time at the beginning of your workshop to ensure that learners have necessary geospatial software (GDAL, GEOS, PROJ.4) installed prior to teaching the course.
27+
28+
[Instructors: add information about supporting learners with installation here]
29+
30+
## Common problems

index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ root: .
55

66
Data Carpentry's aim is to teach researchers basic concepts, skills, and tools for working with data so that they can get more done in less time, and with less pain.
77

8+
9+
Interested in teaching these materials? We have an [onboarding video](https://www.youtube.com/watch?v=Qtnb_eeHt7E) available to prepare Instructors to teach these lessons. After
10+
watching this video, please contact [team@carpentries.org](mailto:team@carpentries.org) so that we can record your status as an onboarded
11+
Instructor. Instructors who have completed onboarding will be given priority status for teaching at centrally-organized Data Carpentry Geospatial workshops.
12+
13+
814
> ## Getting Started
915
>
1016
> Data Carpentry’s teaching is hands-on, so participants are encouraged to use

setup.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ title: Setup
55

66
# Overview
77

8-
This workshop is designed to be run on your local machine. First, you will need to download the data we use in the workshop. Then, you need to set up your machine to analyze and process geospatial data. We provide below instructions to either install all components manually (option A), or to use a Docker image that provides all the software and dependencies needed (option B).
8+
This workshop is designed to be run on your local machine. First, you will need to download the data we use in the workshop. Then, you need to set up your machine to analyze and process geospatial data. We provide instructions below to either install all components manually (option A), or to use a Docker image that provides all the software and dependencies needed (option B).
99

1010
## Data
1111

12-
You can download all of the data used in this workshop by clicking
13-
[this download link](https://ndownloader.figshare.com/articles/2009586/versions/10).
12+
You can download all of the data used in this workshop by clicking
13+
[this download link](https://ndownloader.figshare.com/articles/2009586/versions/10).
1414
Clicking the download link will automatically download all of the files to your default download directory as a single compressed
15-
(`.zip`) file. To expand this file, double click the folder icon in your file navigator application (for Macs, this is the Finder
15+
(`.zip`) file. To expand this file, double click the folder icon in your file navigator application (for Macs, this is the Finder
1616
application).
1717

1818
For a full description of the data used in this workshop see the [data page](data).
@@ -30,7 +30,7 @@ For a full description of the data used in this workshop see the [data page](dat
3030
| [RStudio](https://www.rstudio.com) | [Link](https://www.rstudio.com/products/rstudio/download/#download) | | Linux, MacOS, Windows | GUI for R |
3131
| [UDUNITS](https://www.unidata.ucar.edu/software/udunits/) | [Link](https://www.unidata.ucar.edu/downloads/udunits/index.jsp) | [Link](https://www.unidata.ucar.edu/software/udunits/#documentation) | Linux, MacOS, Windows | Unit conversions |
3232

33-
We provide below quick instructions for installing the various software needed for this workshop. At points, they assume familiarity with the command line and with installation in general. As there are different operating systems and many different versions of operating systems and environments, these may not work on your computer. If an installation doesn't work for you, please refer to the installation instructions for that software, listed in the table above.
33+
We provide quick instructions below for installing the various software needed for this workshop. At points, they assume familiarity with the command line and with installation in general. As there are different operating systems and many different versions of operating systems and environments, these may not work on your computer. If an installation doesn't work for you, please refer to the installation instructions for that software listed in the table above.
3434

3535

3636
### GDAL, GEOS, and PROJ.4
@@ -46,14 +46,14 @@ The installation of the geospatial libraries GDAL, GEOS, and PROJ.4 varies signi
4646
> ## macOS
4747
>
4848
> For participants who do not already have [homebrew](https://brew.sh) installed, and who may be less comfortable with the command line, the easiest was to obtain the geospatial libraries is to install the latest version of [Kyng Chaos's pre-built package](http://www.kyngchaos.com/software/frameworks) for GDAL Complete. Be aware that several other libraries are also installed, including the UnixImageIO, SQLite3, and `NumPy`.
49-
>
50-
> After downloading the package in the link above, you will need to double-click the
49+
>
50+
> After downloading the package in the link above, you will need to double-click the
5151
> cardbord box icon to complete the installation. Depending on your security settings,
52-
> you may get an error message about "unidentified developers". You can enable the
52+
> you may get an error message about "unidentified developers". You can enable the
5353
> installation by following [these instructions](https://kb.wisc.edu/page.php?id=25443)
5454
> for installing programs from
55-
> unidentified developers.
56-
>
55+
> unidentified developers.
56+
>
5757
> Alternatively, participants who are comfortable with the command line can install the geospatial libraries individually using [homebrew](https://brew.sh):
5858
>
5959
>~~~
@@ -94,7 +94,7 @@ The installation of the geospatial libraries GDAL, GEOS, and PROJ.4 varies signi
9494
>~~~
9595
>{: .language-bash}
9696
>
97-
> For **Debian**: The [rocker geospatial](https://github.com/rocker-org/geospatial) Dockerfiles may be helpful. Ubuntu Dockerfiles are found [here](https://github.com/r-spatial/sf/tree/master/inst/docker).
97+
> For **Debian**: The [rocker geospatial](https://github.com/rocker-org/geospatial) Dockerfiles may be helpful. Ubuntu Dockerfiles are found [here](https://github.com/r-spatial/sf/tree/master/inst/docker). These may be helpful to get an idea of the commands needed to install the necessary dependencies.
9898
>
9999
{: .solution}
100100
@@ -160,8 +160,7 @@ Participants who do not already have `R` installed should download and install i
160160
{: .solution}
161161
162162
### RStudio
163-
RStudio is an GUI for using R that is available for Windows, macOS, and various Linux operating systems. It can be downloaded [here](https://www.rstudio.com/products/rstudio/download/). You will need the **free** Desktop version for your computer.
164-
163+
RStudio is a GUI for using `R` that is available for Windows, macOS, and various Linux operating systems. It can be downloaded [here](https://www.rstudio.com/products/rstudio/download/). You will need the **free** Desktop version for your computer. *In order to address issues with `ggplot2`, learners and instructors should run a recent version of RStudio (v1.2 or greater).*
165164
166165
### R Packages
167166
@@ -176,7 +175,7 @@ The following `R` packages are used in the various geospatial lessons.
176175
* [`sf`](https://cran.r-project.org/package=sf)
177176
178177
To install these packages in RStudio, do the following:
179-
1\. Open RStudio by double-clicking the RStudio application icon. You should see
178+
1\. Open RStudio by double-clicking the RStudio application icon. You should see
180179
something like this:
181180
182181
![RStudio layout](/fig/01-rstudio.png)
@@ -204,7 +203,7 @@ downloaded 3.4 MB
204203
~~~
205204
{: .output}
206205
207-
When the installation is complete, you will see a status message like:
206+
When the installation is complete, you will see a status message like:
208207
209208
~~~
210209
The downloaded binary packages are in
@@ -218,13 +217,13 @@ You are now ready for the workshop!
218217
219218
[Docker](https://www.docker.com) provides developers with a means for creating interactive [containers](https://docs.docker.com/glossary/?term=container) that contain pre-installed software. A selection of pre-installed software in Docker is called an [image](https://docs.docker.com/glossary/?term=image). An image can be downloaded and used to create a local container, allowing end-users to get software up and running quickly. This is particularly useful when a local installation of the software could be complex and time consuming. For `R` users, a Docker image can be used to create a virtual installation of `R` and RStudio that can be run through your web browser.
220219
221-
Option B involves downloading an Docker image that contains an installation of `R`, RStudio Server, all of the necessary dependencies listed above, and almost all of the `R` packages used in the geospatial lessons. You will need to install the appropriate version of Docker's Community Edition software and then download and use the `rocker/geospatial` Docker image to create a container that will allow you to use `R`, RStudio, and all the required GIS tools without installing any of them locally.
220+
This option involves downloading an Docker image that contains an installation of `R`, RStudio Server, all of the necessary dependencies listed above, and almost all of the `R` packages used in the geospatial lessons. You will need to install the appropriate version of Docker's Community Edition software and then download and use the `rocker/geospatial` Docker image to create a container that will allow you to use `R`, RStudio, and all the required GIS tools without installing any of them locally.
222221
223222
Once up and running - you'll have full access to RStudio right from your browser:
224223
225224
![](/fig/docker.png)
226225
227-
Please be aware that the `R` package `rasterVis` is not included in the `rocker/geospatial` Docker image. If your instructor teaches with this package, this will be an `R` package you will need to install yourself. All other `R` packages will already be installed for you.
226+
Please be aware that the `R` package `rasterVis` is not included in the `rocker/geospatial` Docker image. If your instructor teaches with this package then you will need to install this `R` package yourself. All other `R` packages will already be installed for you.
228227
229228
> ## Downloading and Installing Docker Community Edition
230229
>
@@ -253,7 +252,7 @@ Please be aware that the `R` package `rasterVis` is not included in the `rocker/
253252
> When `docker run` is used, you can specify a folder on your computer to become accessible inside your RStudio Server instance. The following `docker run` command exposes Jane's `GitHub` directory to RStudio Server. Enter the file path where your workshop resources and data are stored:
254253
>
255254
>~~~
256-
>$ docker run -d -P --name gis /Users/jane/GitHub:/home/rstudio/GitHub rocker/geospatial
255+
>$ docker run -d -P --name gis -v /Users/jane/GitHub:/home/rstudio/GitHub -e PASSWORD=mypass rocker/geospatial
257256
>~~~
258257
>{: .language-bash}
259258
>
@@ -266,7 +265,7 @@ Please be aware that the `R` package `rasterVis` is not included in the `rocker/
266265
>~~~
267266
>{: .language-bash}
268267
>
269-
> An output, for example, of `8787/tcp -> 0.0.0.0:32768` would indicate that you should point your browser to `http://localhost:32768/`. If prompted, enter `rstudio` for both the username and the password.
268+
> An output, for example, of `8787/tcp -> 0.0.0.0:32768` would indicate that you should point your browser to `http://localhost:32768/`. If prompted, enter `rstudio` for the username and the password provided in the `docker run` command above (`mypass` in the example above).
270269
>
271270
> #### Stopping a Container
272271
> When you are done with a Docker session, make sure all of your files are saved locally on your computer **before closing your browser and Docker**. Once you have ensured all of your files are available (they should be saved at the file path designated in `docker run` above), you can stop your Docker container in the terminal:

0 commit comments

Comments
 (0)