$GMT_bin = "/home/GMT4/bin/";
$GMT_out = "/home/GPSDATA/DCAL/ATM/";
`${GMT_bin}gmtset PLOT_DEGREE_FORMAT ddd:mm`;
`${GMT_bin}gmtset PAGE_ORIENTATION  portrait`;
`${GMT_bin}gmtset PAPER_MEDIA a4+`;
`${GMT_bin}gmtset HEADER_FONT_SIZE    = 18p`;
`${GMT_bin}gmtset HEADER_FONT = 0`;
`${GMT_bin}gmtset ANNOT_FONT_SIZE_PRIMARY 10`;
`${GMT_bin}gmtset ANNOT_OFFSET_PRIMARY 0.05c`;
`${GMT_bin}gmtset ANNOT_OFFSET_SECONDARY 0.05c`;
`${GMT_bin}gmtset LABEL_FONT_SIZE 8`;
`${GMT_bin}gmtset CHAR_ENCODING  Standard+`;
`${GMT_bin}gmtset FRAME_WIDTH 0.1c`;
`${GMT_bin}pscoast -R-10/16/38/53 -JM19c -B5.0g5.0f5.0 -Df -K -A50/1 -N1 -S220/250/255 -G255/255/255 -W2/0/0/120 -N1/1/255/0/255 -Y4.9c -X1.3c > ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}surface ${GMT_out}GMT_TRO_080630.TXT -R-10/16/38/53 -G${GMT_out}TRO.GRD -I0.1/0.1  -T0.0`;
`${GMT_bin}grdimage ${GMT_out}TRO.GRD -C/home/GPSDATA/DCAL/STA/ZTD_drywet4.cpt -R-10/16/38/53 -JM  -S5  -K -O   >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}pscoast -R-10/16/38/53 -JM -N1/1/255/0/255 -Di -B5.0g5.0f5.0WES -A50/1 -W2/0/0/120 -K -O   >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}grdcontour ${GMT_out}TRO.GRD -R -JM -C0.01 -A0.05 -S100 -Wa5 -T -O -K  >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}psxy ${GMT_out}stations_all.lis -R -JM -SC0.12 -W1.5 -G250/0/0  -O -K   >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}psxy ${GMT_out}stations_ok.lis -R -JM -SC0.12 -W1.5 -G0/250/0 -O -K   >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}pstext ${GMT_out}stations_all.lis -R -JM -Y0 -Dj0.12 -G0/0/0 -O -K  >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}psscale -C/home/GPSDATA/DCAL/STA/ZTD_drywet4.cpt -D18.3c/5.5c/10c/0.4c -B:"":/:m: -A -O -K  >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}pstext ${GMT_out}tmp_ztd2.txt -R -JM -Y0 -N -S6/255/255/255 -G0/0/0 -O -K  >> ${GMT_out}ZTD_2008_063_0.ps`;
`${GMT_bin}pstext ${GMT_out}tmp_ztd3.txt -R -JM -U/0/0/ -O >> ${GMT_out}ZTD_2008_063_0.ps`;
