-
Notifications
You must be signed in to change notification settings - Fork 356
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
imshow in Julia is now broken because of the pad #8254
Comments
Case is deeper. 2 bands???
This case plots fine OK, the 2 bands is an older issue and probably because somewhere I changed to count-bands-from-one in GMT.jl, but that is what actually triggered the issue. A git bisect shows that it was something in "Final version of updates for 6.5: grdimage, colorbar, grdmix (#8251)" |
Please attach lixo1.tif so I can see. Is it grayscale with transparency? |
To get the file is just run the gmtwrite command that I posted. |
The file doesn't really matters. It's the fact that when imported when only 2 bands triggers the bug. And it should also not try to change the layout. |
I dont understand. gdalinfo says it has 3 bands, you say 2. If I plot what you sent (wasn't lixo1 though?) and I grdimage limo.tif -B -png t it looks exactly like the input (but 15c of course). Can you show me exactly what goes wrong and where your pad issue enters? |
Give me a CLI grdimage command that crashes and I can debug. |
You have to read the Julia messages.
Above the printing clearly says the image has only 2 bands.
Tried to save that 2 bands image again, but some other shit gets in the middle.
|
But I am not using Julia and just want a file from you that when read into GMT causes troubles. Is the problem only when using gmtread/gmtwrite and not when doing things in a module? |
I mean, if gmtread/write insisted on there being pads then that is not right since there is no projection there? |
I don't have one 2 bands file. I tried to create one above but it errored too. The problem is that grdimage is sending the image through the
|
OK, agree that projection makes no sense. Will look after dinner (like you tell me so often!) |
Plot is linear. Should not need any PAD.
The text was updated successfully, but these errors were encountered: