Re: [gdal-dev] Moving the poles

2014-03-09 Thread Laskaris
Never mind, please. I was confused about the way rotations are supposed to work in grdrotater. I got it working now. Thank you very much for your help! My problem is solved. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Moving-the-poles-tp5127897p5127999.html Sent from t

Re: [gdal-dev] Moving the poles

2014-03-09 Thread Laskaris
Thank you, Joaquim. grdrotater seems to be the program for exactly what I am trying to do. Unfortunately, I haven't been able to get it to work yet. I am using the command: grdrotater topo.nc -T78/30/-4 -Gtopo_rotated.nc If I understand correctly, this should create an output file, topo_rotated.n

Re: [gdal-dev] Moving the poles

2014-03-09 Thread jluis
Not sure if that's what you want but it worth having a look at GMT's "grdrotater" Joaquim Thank you for your reply. However, I have already tried CDO and it does not work for what I am trying to do. When you apply a rotated pole grid to a file with CDO, it does not change any of the data in

Re: [gdal-dev] Moving the poles

2014-03-09 Thread Laskaris
Thank you for your reply. However, I have already tried CDO and it does not work for what I am trying to do. When you apply a rotated pole grid to a file with CDO, it does not change any of the data in the fields. It does not do any kind of "reprojection", as it were. All it does is add info about

Re: [gdal-dev] Moving the poles

2014-03-09 Thread Etienne Tourigny
Not sure about gdal, but cdo [1] can do this on netcdf files. have a look at the docs and see the section grids. You would probably have to define a rotated pole grid, then apply that grid on your file (using setgrid), then regrid to a normal lat/lon grid using one of the grid operators like inte

[gdal-dev] Moving the poles

2014-03-08 Thread Laskaris
I am trying to do a crazy "What if...?" climate model experiment that involves changing the location of the poles. So, mind you, I am not merely trying to change the coordinate display and use a rotated pole grid. I am actually trying to locate the pole somewhere else (for instance, in Australia),