Hello everyone,
I made a grid with the functions pygmt.blockmean and pygmt.xyz2grd (just like this tutorial : https://www.pygmt.org/latest/gallery/histograms/blockm.html#sphx-glr-gallery-histograms-blockm-py )
And I would like to have the coordinates of the grid or at least the blocks. I know that I can print and save in a csv the data obtained with these functions but they don’t give me the right answer.
By plotting the data obtained by the function pygmt.blockmean, I have coordinates of the main point in each block. And with pygmt.xyz2grd, I have coordinates that make a diagonal of a part of the grid.
However, I need to have the coordinates of each block (at least the top left corner of each block).
Thank you for your answers !