OSGeo / grass-addons

GRASS GIS Addons Repository
https://grass.osgeo.org/grass-stable/manuals/addons/
GNU General Public License v2.0
98 stars 150 forks source link

Addons for plotting: Standardize parameters and flags #1071

Open veroandreo opened 4 months ago

veroandreo commented 4 months ago

Context

While creating a tutorial on the use of GRASS GIS addons to create plots, I found out that parameters doing the same task were sometimes named differently. Also, there were some addons providing a lot of control over the plot, and others much less so. I ended up creating a big double entry table comparing flags and parameters names and functionalities across GRASS addons for creating plots.

This issue attempts to point out which addons would need flag/parameter name standardization and which would benefit from the addition of further options already present in some but not all.

Parameter name standardization

Change flag default behavior

Flags into parameters

Add other control parameters or flags (parameter name: addons that would benefit from the added parameter / addon name: parameters)

In these latter 2, ideally standardize also how to spell boxplot (bx or boxplot) and line width (lw and linewidth).

Wishes

Happy to share the spreadsheet if anyone is interested :)

ecodiv commented 4 months ago

Good work @veroandreo. Great if you can share the spreadsheet. As I created most of those addons, I feel obliged to act upon this, but time is a bit limited. Something to take up during the community meeting, if not done before?

By the way, writing a tutorial on the plotting addons has also be on my to-do list for some time. I haven't found the time yet, so great you are working on this. Something to work on together?

veroandreo commented 4 months ago

Good work @veroandreo. Great if you can share the spreadsheet. As I created most of those addons, I feel obliged to act upon this, but time is a bit limited. Something to take up during the community meeting, if not done before?

Thanks! Sure! Link to it on your email. Yes, it could indeed be something you could tackle for the community meeting. That'd be great! Some are easy changes, and perhaps I could start, but others, especially adding missing options, I leave that to you ;-)

By the way, writing a tutorial on the plotting addons has also be on my to-do list for some time. I haven't found the time yet, so great you are working on this. Something to work on together?

Sure! The tutorial is here: https://github.com/ncsu-geoforall-lab/tutorials/blob/main/good_looking_plots_in_grass.qmd. I wrote it with quarto because I like the rendering, but that might change. In any case, feedback is welcome to enhance it!!

ecodiv commented 4 months ago

Good work @veroandreo. Great if you can share the spreadsheet. As I created most of those addons, I feel obliged to act upon this, but time is a bit limited. Something to take up during the community meeting, if not done before?

Thanks! Sure! Link to it on your email. Yes, it could indeed be something you could tackle for the community meeting. That'd be great! Some are easy changes, and perhaps I could start, but others, especially adding missing options, I leave that to you ;-)

By the way, writing a tutorial on the plotting addons has also be on my to-do list for some time. I haven't found the time yet, so great you are working on this. Something to work on together?

Sure! The tutorial is here: https://github.com/ncsu-geoforall-lab/tutorials/blob/main/good_looking_plots_in_grass.qmd. I wrote it with quarto because I like the rendering, but that might change. In any case, feedback is welcome to enhance it!!

Thanks, I'll have a look. B.t.w., quarto is my preferred notebook format for various reasons, so I hope you keep it.