Skip to content

Commit 5eaa158

Browse files
authored
Add note to install a bash emulator on Windows (#25)
* Add note to install a bash emulator on Windows So that they can run the final animation tutorial which assumes a bash prompt. * Fix indentation in extended animation tutorial
1 parent 4ba76f0 commit 5eaa158

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

book/intro.md

+7
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ If you prefer to run the 🧑‍🏫 tutorials with a local installation of GMT/
150150
follow along! For this AGU24 workshop, we recommend creating a virtual conda environment
151151
and installing the C and 🐍 Python libraries inside.
152152

153+
```{attention}
154+
If you are running this on Windows, we recommend installing a bash emulator (e.g.
155+
[Git for Windows](https://gitforwindows.org/)) so that you can run the command-line
156+
instructions below. A bash prompt is also a pre-requisite for the final
157+
[animation tutorial](./tut06_animation) that assumes a bash scripting environment.
158+
```
159+
153160
:::{tip} For users comfortable with using `git`, feel free to ⬇️ download or clone the
154161
repository containing the workshop materials directly using
155162
`git clone https://github.com/GenericMappingTools/agu24workshop.git`

book/tut06_animation_extended.rst

+9-8
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,16 @@ In this step I plot a map of the earth with all the quakes from 2018.
6666
- I use :gmt-module:`makecpt` to create a `CPT <https://docs.generic-mapping-tools.org/6.5/reference/cpts.html#of-colors-and-color-legends>`_ to color the earthquakes.
6767
- I used the earthquakes from the file `quakes_2018.txt <https://github.com/GenericMappingTools/gmtserver-admin/blob/master/cache/quakes_2018.txt>`_ which has 5 columns.
6868

69-
============== ========== ======== ================ ========================
70-
Longitude Latitude Depth Magnitude (x50) Date
71-
============== ========== ======== ================ ========================
72-
46.4223 -38.9126 10 260 2018-01-02T02:16:18.11
73-
169.3488 -18.8355 242.77 260 2018-01-02T08:10:00.06
74-
...
75-
============== ========== ======== ================ ========================
69+
============== ========== ======== ================ ========================
70+
Longitude Latitude Depth Magnitude (x50) Date
71+
============== ========== ======== ================ ========================
72+
46.4223 -38.9126 10 260 2018-01-02T02:16:18.11
73+
169.3488 -18.8355 242.77 260 2018-01-02T08:10:00.06
74+
...
75+
============== ========== ======== ================ ========================
76+
7677
- Note that the input file has the columns sorted as will be required by the :gmt-module:`plot` and :gmt-module:`events` modules. It was also used for `animation 08 <https://docs.generic-mapping-tools.org/6.5//animations/anim08.html>`_.
77-
Check it to see how it was downloaded and processed.
78+
Check it to see how it was downloaded and processed.
7879

7980

8081
3.3. Make master frame

0 commit comments

Comments
 (0)