Thanks, here is my bash script
pi@pi-OptiPlex-9020:~/SQL/w1hd$ cat maphd.sh
echo $1
gmt begin $1 png
Iparam=$(echo -I-104/40+d2023-11-18T$(echo $1 | cut -c2,3):00) # neat text out
gmt coast -Rg -JG255/40/6i -Bag -Dc -A5000 -Gwhite -SLightBlue #india
echo gmt solar -W1p -Tdc -Gblack@87 $Iparam. # the iparam prints cool solar text.
gmt solar -W1p -Tdc -Gblack@87 # $Iparam just puts out text solar data
gmt plot -Wthickest,red -Fr-105/40 $1
gmt plot -Ss0.5c -Gred -Wthinnest $1
echo “-105. 40.” | gmt plot -Sa0.5c -Gblue -Wthin
gmt end show
killall eog # this works to not display the image, A better way??? Crummy but works!
convert $1.png W1HD.10m.jpg -geometry +10+10 -composite temp2.png
convert temp2.png -font URWBookman-Demi -pointsize 134 -gravity southwest -annotate +10+10 $1 outfull.png
convert outfull.png -resize 44% $1.png
rm -f outfull.png temp2.png
#timeout 15 display outsmall.png # remove from bash script
HERE IS MY DATA FILE
pi@pi-OptiPlex-9020:~/SQL/w1hd$ cat h22.txt
-91.875 37.271 K6RFT
pi@pi-OptiPlex-9020:~/SQL/w1hd$
RUN AS ./maphd.sh h22.txt
I get a great terminator with local time. I need to set the data time to set the terminator for days ago, at a particular hour of the day.
How do i input the time date to have the display png match the time the data was taken.
There has to be a time date input. I could change the system date/time. I am certain GMT has a proper way to do this. The terminator is just super on local time.
Thanks, Bradshaw