Skip to content

Commit

Permalink
Add note to install a bash emulator on Windows (#25)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
weiji14 authored Dec 5, 2024
1 parent 4ba76f0 commit 5eaa158
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
7 changes: 7 additions & 0 deletions book/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ If you prefer to run the 🧑‍🏫 tutorials with a local installation of GMT/
follow along! For this AGU24 workshop, we recommend creating a virtual conda environment
and installing the C and 🐍 Python libraries inside.

```{attention}
If you are running this on Windows, we recommend installing a bash emulator (e.g.
[Git for Windows](https://gitforwindows.org/)) so that you can run the command-line
instructions below. A bash prompt is also a pre-requisite for the final
[animation tutorial](./tut06_animation) that assumes a bash scripting environment.
```

:::{tip} For users comfortable with using `git`, feel free to ⬇️ download or clone the
repository containing the workshop materials directly using
`git clone https://github.com/GenericMappingTools/agu24workshop.git`
Expand Down
17 changes: 9 additions & 8 deletions book/tut06_animation_extended.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ In this step I plot a map of the earth with all the quakes from 2018.
- 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.
- 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.

============== ========== ======== ================ ========================
Longitude Latitude Depth Magnitude (x50) Date
============== ========== ======== ================ ========================
46.4223 -38.9126 10 260 2018-01-02T02:16:18.11
169.3488 -18.8355 242.77 260 2018-01-02T08:10:00.06
...
============== ========== ======== ================ ========================
============== ========== ======== ================ ========================
Longitude Latitude Depth Magnitude (x50) Date
============== ========== ======== ================ ========================
46.4223 -38.9126 10 260 2018-01-02T02:16:18.11
169.3488 -18.8355 242.77 260 2018-01-02T08:10:00.06
...
============== ========== ======== ================ ========================

- 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>`_.
Check it to see how it was downloaded and processed.
Check it to see how it was downloaded and processed.


3.3. Make master frame
Expand Down

0 comments on commit 5eaa158

Please sign in to comment.