Skip to content

Better presentation of wind field #6108

@leeyupeng119

Description

@leeyupeng119

Description of the desired feature
I use grdvector function to plot the wind field, I adjusted -Q and -Si parameters repeatedly, but I couldn't get satisfactory results.

Here is my final code (turn parameters again and again) and output figure,

gmt begin wind2_gmt.png
gmt coast  -JM5i -R75/140/15/55 -Baf -A4000  -W0.25p,black
gmt grdvector u.nc v.nc -Ix5 -Q4p+e+h0.1+n1k -Gblack -W0.5p -Si30k
gmt end

GMT plot

And I did the same thing with NCL (NCAR Command Language), which is a very commonly used software in atmospheric science research. And here's what NCL output,
NCL plot
By comparing the two plots, it can be found that GMT still has some limitations in drawing wind fields, the main limitations are as follows:

  1. Wind direction is not easily discernible in the weak wind speed zone, so you can't see the circulation pattern very well.
  2. There is no feature for automatically generating the legend of the reference vector.

Are you willing to help implement and maintain this feature? Yes

In my opinion, when the wind speed is very small, the stem may disappear, but there should be a certain lower limit for the reduction of the arrow, and the overall shape of the arrow should not be destroyed, so that the wind direction of each grid point can be clearly identified, which is very important in circulation analysis. In the research of meteorology, we pay attention not only to the value of the wind speed but also to the wind direction. Therefore, would you consider adding the features I mentioned above? Thanks in advance.

Maybe I am not good at using grdvector, so I have uploaded the data, welcome you to test and turning.
data_uv.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions