-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Movie automatically changes the dataserver to Oceania (or static)? #8209
Comments
I suspect until we actually update oceania your main.sh may need to set the GMT_DATA_SERVER to candidate etc. This problem will go away once we release so not willing to spend time finding a workaround for a few days. |
Ok. |
I try this again (after the 6.5 release) and I got the same error:
|
Most likely your cmake setting or environment. In cmake I can grep on GMT_DATA_SERVER and get this
static is commented out for possible guru use, but default is oceania. In terms of where GMT_DATA_SERVER appears in the code (.c,.h) I got this:
and piping that through a grep on static only gives grep GMT_DATA_SERVER *.[c?] | grep static so nothing. Suggest you try echo $GMT_DATA_SERVER and look in your .bashrc and similar files for left-over settings from our testing. Finally, I sometime have to wipe the build directory, reboot, an rebuild to get GMT to "remember" the previous shared library which might have some bad memory. Let me know if anything helps. |
Most likely your cmake setting or environment. In cmake I can grep on GMT_DATA_SERVER and get this
static is commented out for possible guru use, but default is oceania. In terms of where GMT_DATA_SERVER appears in the code (.c,.h) I got this:
and piping that through a grep on static only gives
so nothing. Suggest you try
and look in your .bashrc and similar files for left-over settings from our testing. Finally, I sometime have to wipe the build directory, reboot, an rebuild to get GMT to "remember" the previous shared library which might have some bad memory. Let me know if anything helps. |
Thanks Paul. I was able to fix it by commenting the line 208 in But now GMT changes to the Oceania server. I got this in the terminal with the above script:
If I do BTW, there was an error in the script (the It is strange to me that changes servers when I run gmt movie but now it is possible to make the animation. |
Yes, does not make any sense to me either. |
Here is a simplified version of the gmt set GMT_DATA_SERVER static
mkdir master
cd master
gmt begin
cp -r ../gmt.conf .
gmt --show-dataserver -Vd
gmt grdinfo @earth_relief_01d_g -C -Vd
gmt end
cd .. Running the bash script in a clean directory, you'll see messages like:
As you can see, GMT reads the session-level Moving the
I think we should make the same fix to the |
I dont see why we want to use static when making movies? As long as no such thing is specified anywhere we go for the default (oceania) no? You area not making movie tests for the CI, are you? |
It's not only about using th estatic server or not. The real issue is that, in movies, the local Here is another example showing how the bug can affect movies:
|
It seems that in the middle GMT changes the server. I run the script below. The first figure is generated ok. The figure within gmt movie is not because those grids don't exist in the
static server
Probably related to #7879 .
Output:
The text was updated successfully, but these errors were encountered: