-
Notifications
You must be signed in to change notification settings - Fork 29
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
Julia 1.9.3 and GMT 6.5.0, Wrapper GMT.jl Error #1254
Comments
Hi visbilika, You also said that you are new to GMT with Julia. Does it mean you are a GMT user and have GMT 6.4 installed in your computer? If yes we could try something first. |
Hi joa-quim thank you for your response, The answer for your question is: Yes, I used GMT from my computer. When I use the GMT that is already installed on my computer, it results in a And, I followed your first suggestion, I removed the library from the system, and the error changed as follows:
Any help or insight would be greatly appreciated. Thank you. |
Ah, I had not understood that first error came from a CLI run. So this is clearly a building problem. Did you build GMT or is it package installed version? Anyway, can you please post this in the GMT forum where we can hopefully get more help? This looks like a Suse libs problem.
Sorry, some confusion. I didn't suggest to do that. |
For the I have tried to empty the
So, I export
But when I try to call
I think the
Your input is greatly appreciated. Thank you. |
I'm using GMT |
How?
Keeps being strange. That I know, the LD_LIBRARY_PATH contents should not matter in the Julia side. The GMT.jl error starts in ghostscript, which is very strange again. What happens if you do this:
and than, with the CLI move to where the
Do you get a |
I have attempted this and success, as well as this part:
The end result is that I have obtained a .png file and successfully installed GMT.jl in Julia. Thank you. But, when attempting to install this plugin for wind barb plots from the following source: https://sites.google.com/site/masahigaki/gmt/gmt-windbarb?authuser=0, I encountered a new error. I would greatly appreciate your guidance on how to successfully add or install the plugin in GMT.jl. Thank you. |
But this was just a test to see if the problem was in the ghostscript in Julia. And apparently is, which I can't understand. Regarding the plugin, which looks very cool and we had never heard about it in the GMT dev, the case is not straightforward but there is some hope. I need to learn more before I can answer you. |
Do you have "masahigaki" contact? We are considering adding the Regarding its usage from GMT.jl, it needs first to be built within GMT. I have a working prototype but so far for Windows only. Are you a meteorologist that want's to make |
Dear joa-quim, thank you for your answer.
I found 'masahigaki' contact at e-mail: [email protected] and [email protected]. But I have not contacted him yet for this issues.
Yes, I am meteorologist from Indonesia, I want to plot or make For your information, I have successfully installed the Thank you so much. |
Thanks for finding masahigaki contact. To use GMT in Julia one must understand some facts. GMT.jl in unix uses a pre-build GMT binary so your However, for situations like this I created a workaround but I cannot guarantee that it still works, but please try it. FRom the notes I left in the code the recipe is the following:
Next is the question of using it. I have committed a change that introduced a GMT.jl
next, typing ``? windbarbs` should show you the, nearly nonexistent, usage help. If you get this far, you are at a blink to use it. All will be much simpler when the GMT-built-by-the-Julia-mechinery (the |
Thank you for your suggestions and advice. I have run your advice step by step, modified GMT.jl according to the changes made in its source git, and run a new GMT test. The result is an error, as shown below:
And for the second test, give an error:
So, the installation result of the I would like to ask about how to verify whether the plugins have been detected and can be loaded in GMT.jl ? When I execute this step, it results in a GMT [ERROR], as shown below:
when I checked the GMT module,
I found the following result:
There appears |
OK, several things. You probably need to update GMT.jl. ( The
Now, this is bad.
It means the barbs supplement of your GMT build is not working, and think I know why. The original code was not exporting the Ant, to finish by now. The option that runs from a table (the equivalent of Good luck |
Thank you for your advice and suggestion, I have successfully installed GMT.jl with the Thank you very much, Joa-quim. |
Glad to year that it worked. Meanwhile I have released a GMT.jl 1.6.0 that contains the In case that you produce a kind of official weather maps with windbarbs made with GMT, please consider posting one of those maps in the GMT forum under the Showcase category. |
Dear all, |
Dear joa-quim, Thank you for your response and suggestion. I have attempted to install GMT.jl 1.6.0 on both Mac and Linux environments, and I plan to plot and make windbarb map by Thank you very much. |
Dear All, |
Dear @masahigaki I would like to inquire about the
And the result of the windbarb map is shown below: Then, I tried to apply a map projection using the following syntax:
And give windbarb maps result like this: I tried to create a wind vector map using the So, I would like to ask if my script for creating the grid is accurate. Should I include a projection when generating the grid data, particularly at the syntax Your guidance would be highly appreciated. Thank you very much. |
Dear HIGAKI Masakazu (feel free to tell us how you would like to be addressed) Thank you very much for you offer to contribute to the future supplement. We really appreciate new hands as we area bit overwhelmed with all GMT stuff. To start with, it would be nice that from your shell examples you could make a couple tests to be included in GMT test set. Next it will be to adapt to the new GMT way of printing online help, but we can see it later. I don't know if you are familiar with the Github way, but if not we can help you. But for all of that please use GMT issues and the GMT forum (here is for the GMT.jl, the Julia wrapper, issues) Joaquim Luis |
Azizah, I would be delighted to know that @masahigaki is a GMT.jl practitioner and understood your question that is almost all about the GMT.jl wrapper, but maybe he didn't 😄 You don't need to write functions to read netCDF grids. Just use gmtread. When grids are in geographical coordinates and georeferenced, one can use the convenient option Finally, for questions and discussions I would prefer that they are made in the GMT forum under the GMT.jl tag. |
Hi, Azizah, Masakazu |
Dear Joaquim,
I see. I think the windbarb work is ongoing at GenericMappingTools/gmt#7808 Regards, |
Sure, you are most welcome. |
Dear Joaquim, I apologize for my previous mistake in the previous question... Thank you very much for your advice and sugesstion. I have successfully created a windbarb map using GMT.jl, the result is shown bellow: Furthermore, based on your suggestion, I will be posting questions and discussions regarding GMT.jl on the GMT forum. Your help has been greatly appreciated. Thank you very much. |
Hi,
I am new to GMT with Julia, I have installed Julia 1.9.3 and GMT 6.5.0 in an openSUSE Linux environment.
But there is an error from Wrapper GMT.jl. The following is the error:
Then I switched directly from compiled Julia, with an error like this.
Any help insight and solution would be much appreciated. Thank you.
The text was updated successfully, but these errors were encountered: