Conversation
|
Should update something else? Like doc/scripts/images.dvc ? I add WIP until -Fe works well. |
|
See other comment. Docs says -Fe requires momotonically increasing data |
|
Hi @Esteban82 please remind we where we are on this one. |
|
This just add the new type of line to the figure. And it makes it a bit higher for the legend. |
|
No, wait. The docs says "-Fe requires momotonically increasing data" and the input file of the script is NOT. |
|
I think it would be good to add that curve to figure but it doesn't work for that input file, |
|
Hm, either we pick some other points that are monotonic and still allows the other splines to do some wiggling, or we just mention Fe in the caption but no line. You can decide. |
|
If not, them I will leave the figure without that line (i.e. closing this issue without merge). |
|
Note sure what -Fe is supposed to do but if it is called step-up then it is not unreasonable that it cannot go down, no? |
I use it to interpolate the cumulative sum of goals score by Messi. So it is working fine. But in my case the data was always increasing. This is NOT the case for the plot.
So, about this PR, I think it would be good to show this curve in the figure. But I don't see how. Except to make another figure (but I don't like this idea). |
I change the name of label in the script
|
Is it possible to merge? or should I update also doc/scripts/images.dvc ? |
Yes, you should do it, otherwise the tests will be broken. |
|
Do a dvc pull since I just updated 42 PS files, and git pull in master. |
|
Ok, I will have to study how to do it. |
|
See teh Contribution guide for documentation. You will need dvc of course and ability to push to the DVC server. If this was never set up for you by Max then I can ask them and I can then do this PS. Let me know. If DVC is set up for you then good for you to git this a try. Usually:
|
I have to do this within this branch? Should I update it? Or dvc has nothing to do with git? |
|
I think yes. |
|
Well, dvc add creates .git files you want in that branch |
|
I don't how to do this. I run the test and I got almost 1000 fails. and them I got this error with 4.: |
|
The only way to get 1000 failures is if you have a gmt.conf file in your home directory. We throw an immediate error on that. Did Max set up up for write access via dvc push? Cannot put stuff up in dvc cloud without being registered. I just now merged from master into GMT_Splines_add_Fe. |
|
Did you run dvc add doc/scripts/images after updating the PostScript file of that test and placed it in that dir? But if you dont have permission yet then you cannot push it. Did you have communication with Max about this? If you want I can add the PS and push it and then that test will pass? |
I think so. You can see me here "https://dagshub.com/GenericMappingTools/gmt" as a collaborator. Is it ok? |
|
I can see that you have wright permissions. |
Is it possible that I have to uncomment If so, them I would need to clarify it here https://docs.generic-mapping-tools.org/dev/devdocs/contributing.html#setting-up-your-environment, right? |
|
I've done that but the problem is that one is not always running the tests and in between one might want to plot Pluto. Does not exist on static. What I do is I defined four aliases in my .bashrc file: To run the test I just write set-static in the terminal and then ctr to run the tests (see admin/bashrc_for_gmt for the GMT bash aliases). If I need to make that pluto map i do set-candidate. Once we release everything it would be set-oceania for work and set-static for tests. |
|
I'll update the ex15.ps file now. |
|
@seisman, I am guessing this is more DVC stuff. @Esteban82 improved the GMT_splines.sh script and I merged it. I then ran all tests and this one failed due to the changes. I then placed the PS made by the test (which is the right plot) into doc/scripts/images and got The full images.dvc file is |
|
When I worked in PR #7978, running Please try either remove this line manually or upgrade your dvc. |
|
OK, my dvc is 2.56.0... |
|
Now 3.27.0, delete has: md5 and it was accepted. |

Update script to add the new method to interpolate (#7488).
I make the figure taller so the legend doesn't cover the curves.