Learn how to create publication-quality maps and visualize geophysical data with the new Introduction to Generic Mapping Tools (GMT) for Geophysics self-paced course.
The course introduces Unix/Linux fundamentals and builds from basic GMT commands, mapping, and plotting to more advanced visualization techniques. The course is structured to meet you where you are, whether you are new to command-line tools or already have some experience in scientific computing. Across six modules, you’ll work with examples from seismology and geodesy while developing skills you can apply to your own scientific workflows.
The course also includes advanced GMT topics, animation, and integration with Python. All course tutorials run in GeoLab, the NSF NGF cloud-based scientific computing environment, so you can focus on learning and applying GMT without setting up the software locally.
I made the map for our marketing release. The intent was to demonstrate how GMT represents Focal Mechanisms. If you’re interested I will paste my code below.
The code example shows -Sa, which is used for the Aki and Richards convention.
From the file name and the header given in the file it seems like the focal mechanisms are given in the Global CMT convention (-Sc). But actually the focal mechanisms are given in the seismic moment tensor convention (-Sm), as visible from the column names. For details please see xref: meca — GMT 6.7.0 documentation.
Plotting the data using -Sm:
gmt begin 3_Japan_m png
gmt basemap -R125/150/30/45 -JM15c -B
gmt makecpt -Cjet -T0/600
gmt meca GCMT.dat -Sm0.3c+m+f0 -C
gmt end
Attached is the updated map that our science communications team will use in future marketing. I really appreciate the support you have already shown. I plan on doing some extensive GMT up-skilling to avoid missing these mistakes in my future maps.