# GMT\_format changed

**URL:** <https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992>\
**Category:** Q&A\
**Tags:** gmt\
**Created:** [August 14, 2021, 3:47pm UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992 "2021-08-14T15:47:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![LongNguyen031017](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/longnguyen031017/32/1389_2.png) [@LongNguyen031017](https://forum.generic-mapping-tools.org/u/LongNguyen031017)\
**Post date:** [August 14, 2021, 3:47pm UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/1 "2021-08-14T15:47:17Z")

</div>

Hi everyone,  
I get some problems with format changes automatically when I move the files into another folder.

Please, help me to overcome this situation.  
Thanks in advance.  
There are two different out put files with the same coding and files.

 ![VWS_TS_2018](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/2/204485cf6a27ac0dedd557724b64e6b26c6ad450.png) ![VWS_TS_2018](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/b/bc057ed4fb81cd28bb0af8a2eb61fc14f09d718a.png)

Coding:  
gmtset FORMAT\_DATE\_IN yyyymmdd  
gmtset FORMAT\_CLOCK\_IN hh  
gmtset TIME\_EPOCH 2000-01-01T12:00:00  
gmtset FONT\_ANNOT 40p,Time-Roman,255/0/0 FONT\_LABEL 40p  
gmtset FONT\_LABEL 40p,0/0/0 MAP\_TICK\_LENGTH 8p MAP\_TICK\_PEN 3p,255/0/0 MAP\_FRAME\_PEN 3p,255/0/0

psbasemap -R2018-02-08T00/2018-02-16T00/0/30 -JX18/12 -Bya5f1+l"@;255/0/0;@ 200-850 hPa Vertical Wind Shear (m/s)" -BW -K -P -X2.5 -Y2.5 \> VWS\_TS\_2018.ps

echo 20180208T05 2 40,5,black No Shear \>Work99  
pstext Work99 -R -J -F+f+jLB -O -V -K\>\> VWS\_TS\_2018.ps

echo 20180208T05 5 \>temp99  
echo 20180216T00 5 \>\>temp99  
psxy temp99 -R -J -W2,0/0/0,–,–,-- -O -V -K \>\> VWS\_TS\_2018.ps

echo 20180208T05 8.5 40,5,black Low shear \>Work98  
pstext Work98 -R -J -F+f+jLB -K -O -V \>\> VWS\_TS\_2018.ps

echo 20180208T05 10 \>temp98  
echo 20180216T00 10 \>\>temp98  
psxy temp98 -R -J -W2,0/0/0,–,–,-- -O -V -K \>\> VWS\_TS\_2018.ps

echo 20180208T05 12 40,5,black Shear \>Work97  
pstext Work97 -R -J -F+f+jLB -K -O -V \>\> VWS\_TS\_2018.ps

echo 20180208T05 15 \>temp97  
echo 20180216T00 15 \>\>temp97  
psxy temp97 -R -J -W2,0/0/0,–,–,-- -O -V -K \>\> VWS\_TS\_2018.ps

echo 20180208T05 17 40,5,black High Shear \>Work96  
pstext Work96 -R -J -F+f+jLB -O -V -K \>\> VWS\_TS\_2018.ps

echo 20180208T05 22 40,5,red Annulus of 200 - 800km\>VWS  
pstext VWS -R -J -F+f+jLB -O -V -K \>\> VWS\_TS\_2018.ps

echo 20180208T05 24 40,5,red - TS (2018) \>Mitag

pstext Mitag -R -J -F+f+jLB -O -V -K \>\> VWS\_TS\_2018.ps

psxy VWS\_Annulus\_200-800\_km.2018 -R -J -W2,0/0/0 -O -V -K \>\> VWS\_TS\_2018.ps  
psxy VWS\_Annulus\_200-800\_km.2018 -R -J -G255/0/0 -W1,0/0/0 -Sc0.4 -K -O -V \>\> VWS\_TS\_2018.ps

gmtset FONT\_ANNOT 40p,Time-Roman,0/0/0 FONT\_LABEL 40p MAP\_TICK\_LENGTH 8p MAP\_TICK\_PEN 3p,black MAP\_FRAME\_PEN 3p,black

psbasemap -R2018-02-08T00/2018-02-16T00/0/160 -JX18/12 -Bpxf12ha24h+l"Typhoon track points corresponding time" -Bya20f10+l"Wind speed (knots)" -BESn -Bsxa1d -P -K -O -Xa -Ya \>\> VWS\_TS\_2018.ps

psxy bwp201802\_TS\_TWO.bt1km.int -R -J -W2,0/0/0 -K -O -V \>\> VWS\_TS\_2018.ps  
psxy bwp201802\_TS\_TWO.bt1km.int -R -J -W1,0/0/0 -Ctc\_scale1.cpt -Sc0.4 -O -V \>\> VWS\_TS\_2018.ps

psconvert VWS\_TS\_2018.ps -A -Tg -E300 -P  
del VWS\_TS\_2018.ps temp97 temp98 temp99 Work96 Work97 Work98 Work99 shape shape2 shape3 shape4 temp3 temp4 VWS

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [August 14, 2021, 5:01pm UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/2 "2021-08-14T17:01:18Z")

</div>

Check your gmtset parameters. For example FONT\_LABEL 40p is a letter size too big (I think).

---

<div class="post-metadata">

**Author:** ![LongNguyen031017](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/longnguyen031017/32/1389_2.png) [@LongNguyen031017](https://forum.generic-mapping-tools.org/u/LongNguyen031017)\
**Post date:** [August 15, 2021, 3:14am UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/3 "2021-08-15T03:14:02Z")

</div>

Thanks for your reply.  
But the key problem here is why the same GMT’s coding with placing in different folder locations could change output images.

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [August 15, 2021, 3:18am UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/4 "2021-08-15T03:18:49Z")

</div>

Check this link:

> **[3. General Features — GMT 6.2.0 documentation](https://docs.generic-mapping-tools.org/6.2/cookbook/features.html#overview-and-the-gmt-conf-file)**

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [August 15, 2021, 3:49am UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/5 "2021-08-15T03:49:19Z")

</div>

You probably have a gmt.conf in one dir and not the other.

---

<div class="post-metadata">

**Author:** ![LongNguyen031017](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/longnguyen031017/32/1389_2.png) [@LongNguyen031017](https://forum.generic-mapping-tools.org/u/LongNguyen031017)\
**Post date:** [August 15, 2021, 5:12am UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/6 "2021-08-15T05:12:42Z")

</div>

So how I set gmt.conf for all of them ?

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [August 15, 2021, 6:16am UTC](https://forum.generic-mapping-tools.org/t/gmt-format-changed/1992/7 "2021-08-15T06:16:32Z")

</div>

Read about it at [https://docs.generic-mapping-tools.org/latest/cookbook/features.html#gmt-defaults](https://docs.generic-mapping-tools.org/latest/cookbook/features.html#gmt-defaults)
