Re: grdvector with GMT5

Cyril Langlois <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Hi,

>> 
>> First : attached are the maps I obtain with the grdvector options -Si150 and -Si300, respectively : the second one (-Mercator2, with -Si300) shows two unexpected yellow lines, which I suppose to be head vectors inordinately stretched (?)
>> 
> I see the 360 wrap around problem; will have a look.
Thanks.
> 
>> (grdvector command is : gmt grdvector nuvel1.vy.1.5.grd nuvel1.vx.1.5.grd  -T -R -J -I23 -Si150 -Q0.25+e+n2  -Wthick,black -Gorange --MAP_VECTOR_SHAPE=0.25 -O -K -V >> $carte)
>> 
>> Second, the -I option : these Nuvel-1 vectors grids have x_inc and y_inc set to 1, but the vectors are drawn only when setting -I30. Using any other value gives the error message : 
>> «  New y grid spacing (14.5) is not a multiple of actual grid spacing (1) » (here for -I15)
>> 
> This I cannot reproduce.  When I try
> 
> grdvector nuvel1.vy.1.5.grd nuvel1.vx.1.5.grd  -T -R-35/325/-70/75 -JM145/0/18c -I15 -Si150 -Q0.25+e+n2  -Wthick,black -Gorange --MAP_VECTOR_SHAPE=0.25  -V > t.ps
> it works fine.  If I give something not a multiple of one, e.g. 7.5, then I get the expected message:
> grdvector: Error: New y grid spacing (7.5) is not a multiple of actual grid spacing (1)
> 
> Are you sure you updated to the latest revision (r12527 as of right now)?  Am I not running the command you used?
> 
> -p
> 
No, sorry, I’ve not upgraded. I used the GMT5.1.0 official OSX bundle release.
Using -I15, my error message says : "New y grid spacing (14.5) is not a multiple of actual grid spacing (1) »
And the problem appears for other multiples of one (I’ve tried 10, 15, 20, 25…)
The script is attached below, but I don’t see any difference with your command.

Cyril



Dr. Cyril LANGLOIS
Professeur agrégé - enseignant de Sciences de la Terre 
[email protected]
Tél. portable : 06 89 05 68 22
Tél. bureau : 04 72 72 85 28
§ --------------------------- §
Préparation à l'Agrégation SV-STU
Ecole Normale Supérieure de Lyon -  Site Monod
46, allée d'Italie
69364 Lyon cedex 07
§ --------------------------- §


To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.