Improving user documentation #4678
Replies: 12 comments 21 replies
-
I concur.
Walter H F Smith
Geophysicist, Laboratory for Satellite Altimetry
NOAA NCWCP code E/RA-31
5830 University Research Court, room 3752
College Park MD 20740-3818
301-683-3377 (voice, my desk)
301-683-3300 (voice, reception)
301-683-3301 (fax, reception)
[email protected]
http://www.star.nesdis.noaa.gov/star/Smith_WHF.php
… On Jan 21, 2021, at 2:45 PM, KristofKoch ***@***.***> wrote:
The current docs (-B for example) are loaded with information in comparatively few lines. This is not always easy to understand. There was some discussion in the past what to do with the man pages (where those densely packed pages originated from) and the Cookbook.
My idea is to keep the man page in their current dense form and move the example section to the Cookbook and expand it there with a lot of examples in code and graphics. Basically
• Man-Page for the power user (cheat sheet on how to call that program)
• Cookbook for in-depth explanation with lots of examples (beginner friendly)
In my eyes this would avoid the current problem of the man pages getting littered with (too few) examples which don't fit my problem and the Cookbook not tackling all aspects. The things explained in the Cookbook are great. Mostly adequate depth of detail, you see the code and the result and you can get some tips on solving special problems even when external programs are necessary.
What do you ladies and gents think @GenericMappingTools/core?
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
I fear. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of having more explanation for the many ways to use options like -B and agree that the man pages are not the best place for that explanation. I also agree that it would be helpful to see the code that produces figures in the cookbook. For example, I think it would be helpful to see this code:
above this figure in the cookbook. I disagree that the examples should be taken out of the man pages entirely, because those examples likely do help users quickly find information that they need. In addition, most software include some small number of examples in the reference documentation and I think it is good to include expected components in the man pages. For completeness, other changes that I think are necessary are adding how-to guides, revising the tutorial, and adding more cross-referencing between the man pages, how-to guides, tutorial, and cookbook. I see the amount of explanation included as the main difference between the cookbook and the how-to guides/tutorial. The cookbook can include ample information about why things might be a certain way, but the how-to guides and tutorials should be more goal oriented. |
Beta Was this translation helpful? Give feedback.
-
Any more comments on this? Maybe @PaulWessel has some thoughts as well? Hi @joa-quim, I see your point in the forum currently. Maybe the user seeking help did search the docs for "read netcdf" and had no luck? From personal experience I can say that the search function of the documentation is good if you know what you are looking for but is hard when you don't know exactly what your solution might look like. Additionally the current documentation system has a learning curve for how to find stuff. If you are interested in what that You must
Or, plan B, find a module that uses
Maybe this is a more fundamental problem with organizing the documentation. It just culminates in "users don't find the things there", as you wrote? Hi @meghanrjones, ok, maybe it is just me and my use cases that the man page examples are seldomly useful for me. But I see your point. And yes, I agree with you that the command displayed above the plot would be helpful. I would extend it and say every plot in the docs should have its command next to it. Maybe a separate page for each plot with a heavily commented command would be helpful as well? My reasoning is that the example you took is great not only for primary and secondary plot borders but also for offsets and the arrows and labels beneath it. I totally agree with your last paragraph. Especially with the cross-linking and the different orientations between different types of documentation. @leouieda once posted the link to the restructuring effort of the NumPy docs which is similar to what we are discussing here. It references "The Grand Unified Theory of Documentation" which somewhat sounds like a blueprint for our problem on hand. @meghanrjones and @joa-quim what do you think - might this be a solution for the different problems with the current docs? |
Beta Was this translation helpful? Give feedback.
-
I think that, first of all, we could reordered the information in the man-page in order to be more user-friendly. For example, instead of this (-F from basemap):
We could write something like this:
There are some arguments like -i in coast that are written this way. |
Beta Was this translation helpful? Give feedback.
-
Just another idea. I think it would be good to create a section with 2D surfaces (like the 1D array). It would be theoretical surfaces that could be helpful to test scripts for example. It should be add in grdmath manpage. If you think that it is good idea I can do it (or at least start). |
Beta Was this translation helpful? Give feedback.
-
There was a time that Paul wanted to create |
Beta Was this translation helpful? Give feedback.
-
Macros are fully operational but not supplied nor discussed in great details. I think they are looked for in current dir or .gmt etc. |
Beta Was this translation helpful? Give feedback.
-
Nice @Esteban82, I have made a lot of those things in my day. To make this more accessible to mere mortals, perhaps it is best to have a section on how to make 2-D surfaces and why one would want to. |
Beta Was this translation helpful? Give feedback.
-
gmt/grd math operators: I have another suggestion. I was seeing the last column (return) of the table of operators of gmt/grd math. There are many operators that I don't understand what they do (like ACSC, BEI, BER, DILOG). I think that in some a more detailed description could be add. Also maybe we could add a link (to wikipedia?) for more complex operators. What do you think? I offer to help. |
Beta Was this translation helpful? Give feedback.
-
I think better documentation is always a good idea.
About linking to Wikipedia, I would recommend instead linking to the DLMF:
https://dlmf.nist.gov
This is the modern, on-line version of what used to be Abramowitz and Stegun.
There are also other sources.
We need to be sure that the source we link to defines the function the way we do. I spent a lot of painful time trying to understand why Mathematica and WolframAlpha didn’t evaluate the ALF Q(nu,mu,z) the way I expected. I wasn’t able to understand it until I read F W J Olver’s book “Asymtotics and Special Functions”. If any of you are math geeks enough to want a PDF copy (too many megabytes for email) I will be happy to send it to you.
W
… On Apr 13, 2021, at 4:11 PM, Paul Wessel ***@***.***> wrote:
There are two different things we could try here. Note that the current layout was inherited from previous versions where the entire documentation was generated from lower-level include files. Now we have abandoned that and do things by hand. Possible options:
• Add more math and equations. Many of the operators do have standard mathematical symbols or expressions and we can now set that easily with <math> statements.
• As you suggest, add links to Wikipedia for more obscure functions that may require a bit of background.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
I notice that in the synopsis of the docs of some modules (e.g. movie, grdsample, grdimage) there is no link for the -x (lowercase) argument. |
Beta Was this translation helpful? Give feedback.
-
The current docs (
-B
for example) are loaded with information in comparatively few lines. This is not always easy to understand. There was some discussion in the past what to do with the man pages (where those densely packed pages originated from) and the Cookbook.My idea is to keep the man page in their current dense form and move the example section to the Cookbook and expand it there with a lot of examples in code and graphics. Basically
In my eyes this would avoid the current problem of the man pages getting littered with (too few) examples which don't fit my problem and the Cookbook not tackling all aspects. The things explained in the Cookbook are great. Mostly adequate depth of detail, you see the code and the result and you can get some tips on solving special problems even when external programs are necessary.
What do you ladies and gents think @GenericMappingTools/core?
Beta Was this translation helpful? Give feedback.
All reactions