############################################################ ### Insert the appropriate download line into the script ### ############################################################ if [ $isbig = true ] then # curl -LO "https://svs.gsfc.nasa.gov/vis/a000000/a004800/a004874/frames/5760x3240_16x9_30p/plain/$im" # 2021 # curl -LO "https://svs.gsfc.nasa.gov/vis/a000000/a004900/a004955/frames/5760x3240_16x9_30p/plain/$im" # 2022 curl -LO "https://svs.gsfc.nasa.gov/vis/a000000/a005000/a005048/frames/5760x3240_16x9_30p/plain/$im" # 2023 wait #replace orginal file with designated background file and add background and caption with imagemagick composite -gravity center $im best.tif back.tif convert -font ubuntu -fill '#b1ada7' -pointsize 80 -gravity east -draw "text 150,1800 '$text'" back.tif back.tif else # curl -LO "https://svs.gsfc.nasa.gov/vis/a000000/a004800/a004874/frames/5760x3240_16x9_30p/plain/$im" # 2021 # curl -LO "https://svs.gsfc.nasa.gov/vis/a000000/a004900/a004955/frames/5760x3240_16x9_30p/plain/$im" # 2022 curl -LO "https://svs.gsfc.nasa.gov/vis/a000000/a005000/a005048/frames/5760x3240_16x9_30p/plain/$im" # 2023 wait #replace orginal file with designated background file and add background and caption with imagemagick composite -gravity center $im best_small.tif back.tif convert -font ubuntu -fill '#b1ada7' -pointsize 50 -gravity east -draw "text 100,1200 '$text'" back.tif back.tif fi ####################################################################### # Replace age.txt and phase.txt with 2023-age.txt and 2023-phase.txt. # # Don't forger to strip the"2023-" :-) # #######################################################################