From 5eaa15896c173ee4611a9db9a6d4c6dc7ce7d70e Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:11:20 +1300 Subject: [PATCH] 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 --- book/intro.md | 7 +++++++ book/tut06_animation_extended.rst | 17 +++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/book/intro.md b/book/intro.md index 4625186..1857e15 100644 --- a/book/intro.md +++ b/book/intro.md @@ -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` diff --git a/book/tut06_animation_extended.rst b/book/tut06_animation_extended.rst index 62a043a..45df146 100644 --- a/book/tut06_animation_extended.rst +++ b/book/tut06_animation_extended.rst @@ -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 `_ to color the earthquakes. - I used the earthquakes from the file `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 `_. - 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