Making -Xc illegal for modern mode not good in movie
@PaulWessel is already working on this.
Since Jun 14, 2023.
Assessment
This issue has not been assessed yet.
Description
Running the spinning Earth movie examples now gives this error:
gmt movie 2_earth.sh -C360p -T91 -M55,pdf -N2_earth
coast [ERROR]: Centered (-Xc) and fixed (-Xf) shifts are not available in modern mode
While this makes sense for modern mode in general (infinite paper size...) it makes no sense for movie since here we actually have a specific paper size. So somehow we need to allow that when a movie script is running. Of top of my head here are some options:
- Let movie set a environmental parameter and we check for that before disallowing -Xc -Xf
- Let movie (as it converts the main.sh to the actual script that runs in parallel) detect -Xc|f and append an undocumented ! which means "accept this option even in modern mode".
- Introduce -XC and -XF for this purpose in movie scripts.
I think (2) is pretty simple to implement and does not require users to do anything different (and is backward compatible). Option (3) fails that.
Thoughts?
- Dominant language
- Jupyter Notebook
- Stars
- 46
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenericMappingTools/gmt-for-geodesy
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
GenericMappingTools/gmt-for-geodesy#40 · 3 comments ·
-
URL query downloads lingerMay be free again @PaulWessel claimed this 1267 days ago, and no pull request is open. Openquestion
GenericMappingTools/gmt-for-geodesy#35 · 3 comments · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
GenericMappingTools/gmt-for-geodesy#32 · 1 comment ·