[Thread Prev][Thread Next][Index]

Re: [ferret_users] How to set increment by using poly_vectors.jnl



Hi,
You'll need to define the arguments to the poly_vectors.jnl script with subsampling.  For instance in the example from the script poly_vec_demo.jnl,  instead of region specifications like this:

LET x_vec = X[GX=uwnd,X=120:180] + 0*Y[GY=uwnd,Y=20:60]
LET y_vec = 0*X[GX=uwnd,X=120:180] + Y[GY=uwnd,Y=20:60]
...

they could be

LET x_vec = X[GX=uwnd,X=120:180:6] + 0*Y[GY=uwnd,Y=20:60:4]
LET y_vec = 0*X[GX=uwnd,X=120:180:6] + Y[GY=uwnd,Y=20:60:4]
...

All of the definitions need to have a consistent delta value for all the X  and Y specifications (or I and J respectively).  The grid in this example is a 2-degree grid in x and y, so these definitions would choose every third point in Y and every second point in X.


-Ansley


On 4/21/2016 6:27 PM, 'dessy berlianty' via _OAR PMEL Ferret Users wrote:
Dear Ferret Users,
 
I am trying to plot vector following the poly_vector_demo; with increment/skip every nth-grid and filled by speed magnitude.
After some the steps, such as followings:
  • go basemap
  • go poly_vectors.jnl
  • polygon/ov/noax/nolab/key plt_x_arrow,plt_y_arrow,speed
I still couldn't find the appropriate way to create what I need, the results is as attached figure (too crowded).
I wish there would be some suggestion regarding my issue.

I would be more eager and fully appreciate for any comments and suggestions, thank you very much.

Sincerely yours,
dessy


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement