From 1d39b1c6f0ab1a1eeae7d62bab58ca03fbe9e833 Mon Sep 17 00:00:00 2001 From: Esteban82 Date: Mon, 14 Sep 2026 13:15:32 -0300 Subject: [PATCH] Pin velo vector scale to explicit cm unit in geodesy_08 test #9092 fixed gmt movie to correctly propagate the top directory's gmt.conf into each frame before "gmt begin" runs. As a side effect, movie frames now inherit PROJ_LENGTH_UNIT from the test harness's gmt.conf (inch) instead of silently falling back to GMT's SI default (cm). The velo scale in "-Se0.50/0" had no explicit unit, so it now resolves against the wrong default and renders vectors ~2.5x too long, same class of issue already patched for trajectory2/3/5 in #9092 itself. Fixes #9204 --- test/geodesy/geodesy_08.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/geodesy/geodesy_08.sh b/test/geodesy/geodesy_08.sh index 4c7efc1a03a..bf5e65b93dd 100755 --- a/test/geodesy/geodesy_08.sh +++ b/test/geodesy/geodesy_08.sh @@ -39,7 +39,7 @@ cat << EOF > main.sh gmt begin gmt basemap -R-124.6/-123.3/40/41 -JM5i -B -BWSne -Y0.5i -X0.75i --MAP_FRAME_TYPE=plain gmt events labels.txt -L1 -Et -T\${MOVIE_COL0} -F+f12p,Helvetica-Bold,red+jBL -Dj0.1c --TIME_UNIT=d - gmt events -Z"velo -A16p+e+a40+n6k/0+h0.5 -Se0.50/0" -Ct.cpt -W1.5 -N data.txt -T\${MOVIE_COL0} -Es+r1+p1+d1+f1 -Mi1+c-0.5 -Ms2+c0.5 -Mt+c0 -L3 --TIME_UNIT=d + gmt events -Z"velo -A16p+e+a40+n6k/0+h0.5 -Se0.50c/0" -Ct.cpt -W1.5 -N data.txt -T\${MOVIE_COL0} -Es+r1+p1+d1+f1 -Mi1+c-0.5 -Ms2+c0.5 -Mt+c0 -L3 --TIME_UNIT=d gmt end EOF #gmt movie main.sh -C6ix6ix100 -Ngeodesy_08 -Fmp4 -Mm,ps -Lc0+jTR+o1c/1.5c -Lf+o2c/1.5c -Ttime.txt -Z --FORMAT_CLOCK_MAP=hh