DOC: Two improvements to the documentation of CPT

Ouverte
#9,331 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
45/100
Type d'issue
Documentation
Clarté
Plutôt claire
Activité
Active
Stack technique
html, javascript
Domaine
documentation

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C
Étoiles
997
Forks
420
Merge moyen
13 h 27 min
PR mergées (30 j)
47

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de GenericMappingTools/gmt

Toutes les issues de GenericMappingTools/gmt

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.