Skip to content

Commit

Permalink
Add polar and cartesian to -A description for grdbarg (#8230)
Browse files Browse the repository at this point in the history
TO be similar to grdvector and prepare for long options polar and cartesian
  • Loading branch information
PaulWessel authored Dec 30, 2023
1 parent b121fba commit 98cacce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/rst/source/supplements/windbarbs/grdbarb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Optional Arguments
.. _-A:

**-A**
The grid files contain (speed, theta) wind components instead of
(u, v) components [Default is (u, v)].
The grid files contain polar (speed, theta) wind components instead of
Cartesian (u, v) components [Default is (u, v)].

.. |Add_-B| replace:: |Add_-B_links|
.. include:: ../../explain_-B.rst_
Expand Down
2 changes: 1 addition & 1 deletion src/windbarbs/grdbarb.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ GMT_LOCAL int usage (struct GMTAPI_CTRL *API, int level) {
GMT_Usage (API, 1, "\n<gridx> <gridy> are grid files with the two wind components.");
GMT_Option (API, "J-");
GMT_Message (API, GMT_TIME_NONE, "\n OPTIONAL ARGUMENTS:\n");
GMT_Usage (API, 1, "\n-A Grids have (speed, theta) components [Default is (u, v) components].");
GMT_Usage (API, 1, "\n-A Grids have polar (speed, theta) components [Default is Cartesian (u, v) components].");
GMT_Option (API, "B-");
GMT_Usage (API, 1, "\n-C[<cpt>]");
GMT_Usage (API, -2, "Color palette file to convert wind speed to colors. Optionally, name a master cpt "
Expand Down

0 comments on commit 98cacce

Please sign in to comment.