From 98cacce9f7d7b8076856fea432d2f12b49584fc5 Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Sat, 30 Dec 2023 17:55:33 +0100 Subject: [PATCH] Add polar and cartesian to -A description for grdbarg (#8230) TO be similar to grdvector and prepare for long options polar and cartesian --- doc/rst/source/supplements/windbarbs/grdbarb.rst | 4 ++-- src/windbarbs/grdbarb.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/rst/source/supplements/windbarbs/grdbarb.rst b/doc/rst/source/supplements/windbarbs/grdbarb.rst index c5c09f59b0c..6419de78d1f 100644 --- a/doc/rst/source/supplements/windbarbs/grdbarb.rst +++ b/doc/rst/source/supplements/windbarbs/grdbarb.rst @@ -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_ diff --git a/src/windbarbs/grdbarb.c b/src/windbarbs/grdbarb.c index 2e0f85ca4cf..126e62d4c04 100644 --- a/src/windbarbs/grdbarb.c +++ b/src/windbarbs/grdbarb.c @@ -110,7 +110,7 @@ GMT_LOCAL int usage (struct GMTAPI_CTRL *API, int level) { GMT_Usage (API, 1, "\n 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[]"); GMT_Usage (API, -2, "Color palette file to convert wind speed to colors. Optionally, name a master cpt "