DOC: Two improvements to the documentation of CPT

Offen
#9,331 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
45/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
html, javascript
Bereich
documentation

Rechercherichtung

Start with the CPT documentation page at docs.generic-mapping-tools.org/dev/reference/cpts.html and review how its current static figures are generated and organized. The issue proposes further reading, interactive CPT browsing, and new categories, but leaves the approach open; discuss and agree on scope before implementation. Done means the documentation reflects the agreed changes and presents CPTs in the agreed categories.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Here is the link to the current documentation for CPT (https://docs.generic-mapping-tools.org/dev/reference/cpts.html). I'd like to propose the following changes.

  1. Recommend that users read the following paper (or maybe there are some other better papers/materials for further reading):

Crameri, F., G.E. Shephard, and P.J. Heron (2020), The misuse of colour in science communication, Nature Communications, 11, 5444, https://doi.org/10.1038/s41467-020-19160-7

  1. Currently, the CPTs are displayed as static images. Maybe we could implement a page like cpt-city (https://phillips.shef.ac.uk/pub/cpt-city/arendal) using JS or pure HTML (I just recalled that I made a try a few years ago using JS, which works fine, but I didn't finish it and can't find it now).

  2. Currently, the CPTs are grouped in 4 separate figures by sections (e.g., gmt, cmocean), but as a user, I usually don't care about the section name. If we follow the Crameri's paper, maybe we should show the CPTs into categories like "Diverging", "Sequencial", "Multi-Sequencial" (mostly for Earth relief, maybe just call them "Earth relief specific"), and "Cyclic".

Above are just my random thoughts, so discussions and comments are welcome.

Vorherrschende Sprache
C
Sterne
997
Forks
420
Ø Merge
13 Std. 27 Min.
Gemergte PRs (30 T.)
47

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus GenericMappingTools/gmt

Alle Issues in GenericMappingTools/gmt

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.