GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix lack of abs() in scale_down parameter in psscale by PaulWessel · Pull Request #7816 · GenericMappingTools/gmt Conversation
Contributor
Somehow I forgot that a color bar can be given with negative length to reverse the positive direction. The new scale_down variable that adjusts annotation font size and other bar parameters involves taking sqrt of the ratio of two dimensions. One of them was in the form of This PR does the
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…aders The value can be determined via the optional argument to +z: a mean of triplet [Default] l Lower value of triplet m Median value of triplet p Modal value of triplet Upper value of triplet Somehow forgot that a color bar can be given with negative length to reverse the positive direction. THe scale_dowm variable which involves sqrt of two dimensions , one of them was MAX (a, b) and a was negative, so it picked the bar width and we got tiny fonts. This PR does teh fabs() and revises the wrong PostScript original.
joa-quim
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Your file differs a lot from mine. What does say |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe my issue with different grids having been written to .gmt. After deleting the 05m_p dir and rerun I get you grid. So I will delete earth_relief and rerun tests. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
An important question is is "What is this test testing"? If it's only the cyclic cpt it shouldn't involve any grid. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, for this case sure, but do you feel like editing hundreds of scripts to make it so? First, we need to get the tests to run from the static.generic-mapping-tools.org service with the idea that those files should not change. Working on it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I just though. If we invent a synthetic Earth we could cut it pieces to use in tests and no need for the static thing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Esteban82, the oceania server has a gmt_data_server.txt file that lists the new planets. Did you or I update it by mistake? Says updated Sept 20 (yesterday). Oh, I see the cronjob copies information/gmt_data_server.txt into oceania etc. But that cron script is outdated; we do not store that in git anymore. There are no planet data on oceania, only candidate, yet the text file lists all of them. I will work on that. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
If we create GMT_world_topo_15s.nc and tile it we will need to update hundreds of PostScript plots and scripts. I'm not ready for that for sure. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, colorbars are the source of almost all failures I see. That and the events transparency. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No, I didn't touch that file. It must have been the cronjob. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Could you try this for me: copy your -rw-r--r-- 1 j 197121 5952748 Aug 17 14:11 S90E000.earth_relief_05m_p.nc somewhere to safe, then delete those two files from your .gmt dir, then cd to your build dir and try test -R grdcyclic. Still passes after downloading the grids (are they coming from oceania or Europe?) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Are you asking me or joaquim? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, that was for Joaquim. And I was a bit hasty declaring the files are the same: Because here are the updated min/max after I wiped my earth_relief and got fresh from oceania: So we use different data and hence mine (more recent) differ and the test fails miserably. oceania has the same as candidate [Idid both] |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
And of course it makes sense that the differences only involve the oceans (new SRTM15s data). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Doing that now the tests fails just like yours (grid's is !=) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.