Animation weather system (gif)

I completely forgot to follow up on that !
Since I’ve made a couple of animations made from a composite analysis of many such weather systems (atmospheric rivers).

Using -JG for integrated vapor transport :

Global view of the composite over the Pacific ocean. The Inter-Tropical Convergence Zone (ITCZ) can clearly be seen, as well as the mid/high latitude of water content build up

Using -JL for integrated water volume :

Same idea, with a Lambert conic projection and a different dataset. The colormap is “logarithmic”. I also added winds anomalies at 350hPa (high atmosphere)

(Code excerpt)

pre.sh

gmt begin
gmt math -o0 -T0/\${tmax}/1 T = index.txt
gmt makecpt -Ccork -T\${lim1}/\${lim2} -H  > color.cpt
gmt end

main.sh

gmt begin
gmt grdimage ${region} ${projection} -Ccolor.cpt $NCfile"?ivt[${MOVIE_COL0}]" -B+t"${titre}" -Yc1c
gmt end

post.sh

gmt begin 
gmt coast ${region} ${projection} -Dc -Wthin -Yc1c
gmt plot -Wthinner ${Gbasin} -L -G${myred} -t25
gmt colorbar -Ccolor.cpt ${clr_style} ${clr_text}
gmt end
gmt movie main.sh -Sbpre.sh -Sfpost.sh -N${tmpdir} -C20cx20cx120 -Tindex.txt -Iinclude.sh -Pb -D11 -Fmp4 -M97

Hope this help :slight_smile: