A grdmath error

I am using gmt 6.5.0 for Windows. I want to replicate Animation 7 (spinning Earth showing crustal ages).

Things went well up to the command:
gmt grdmath intens.grd X ${MOVIE_COL1} SUB SIND 0.8 MUL ADD 0.2 SUB = s.nc

which gives the error:
grdmath [ERROR]: ${MOVIE_COL1} is not a number, operator or file name

The documentation does not give any hints about ${MOVIE_COL1} but maybe that’s not the actual problem. Any thoughts?

I try to run the animation. I couldn’t get the movie but I got other errors. Do you get any other errors or warnings?

If you want to read about ${MOVIE_COL1} you could read here:

https://docs.generic-mapping-tools.org/dev/movie.html#parameters

Also, in this paper it is explained better:

https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2024GC011545

I found the error. It was something else.

How are you running the script on Windows? Are you using Git for windows (or something like that)?

this is linux/bash variable syntax while the topic starter runs gmt on windows. The corresponding variable syntax on Windows shell is something like %MOVIE_COL1% I believe.

Anyway I have no idea whether Animation 7 can be run on Windows directly or what kind of environment is created when gmt is installed on Windows. Not a windows user (un)fortunately.

Good morning! I am running 6.5.0 on Windows with the Command Prompt. I did not get past that MOVIE_COL1 error and will look at your suggestions shortly and try again soon. Thank you both for the feedback!