Is there a way to grid file in a stereographic projection?

Hello everyone;
I’m using a stereographic projection for my maps, but I’m also using a grid data with xyz2grd.
The grid file seems to be in a Mercator projection and is not matching the -JS I’m using, even when I specify a -JS to the grdimage and grdconour.

Is there a way to grid on that projection?

Thank you for your help

Hi Rede,

The xyz2grd command reformats data into a grid but does not change the projection. You can change the projection of the xyz data points with mapproject to the -JS projection that you want before converting the data to a grid. The grid will have the projection that you used in the output of mapproject.


Hi Eric,
Thank you very much for your suggestion, I’ll try with mapproject.
Thank you