-
Notifications
You must be signed in to change notification settings - Fork 28
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
Problem with mat2grid #731
Comments
OK, I need to improve the documentation of But perhaps even better (though please try the above), just try
|
Thank you for answering so fast! I tried using the
I found an alternative to solve the issue. The first step was converting the vectors from Float32 to Float64,as you reccomended. Then, I used the transpose of the matrix using the following syntax:
Using Maybe the problem is related to the compatibility with the Julia version. Thank you so much @joa-quim ! |
No, it's not a Julia version issue for sure but cubes are a bit harder to deal with. If you can make one those files available I can have a look into make the access easier. And this is for sure a GMT.jl bug
|
Sure! I never had sent a file before. The files I have are .nc above 700 MB what is the best way to send them? email? |
Ups, 700 MB it's too big for mail. Any place where I can download one of them? |
Yes! The data I used are Sea Surface Heights gathered from the Copernicus Marine Service. Thanks a lot!! |
Thanks, will try to look tomorrow. |
Sorry, tried but don't have the days that are needed to navigate in those horrible copernicus pages that only show dozens of links that point to other pages with dozens of links and no damn data. But I was being particularly dumb yesterday, You can read any level with (level 11 in the example below)
See |
Thank you! I used |
Hi.
I am having some troubles to use mat2grid in GMT.jl 0.38.0.
My dataset is a cube read from a NetCDF with NCDatasets in the following way:
The sizes and type of the objects are:
sla => 681×132 Matrix{Float64}
lon => 681-element Vector{Float32}
lat => 132-element Vector{Float32}
I am trying to convert my data to a GMTgrid using:
However I got the following error:
I also tried using the transpose of sla
mat2grid(sla'; x=lon, y=lat)
but it doesn't workWhat I am doing wrong?
The text was updated successfully, but these errors were encountered: