Ticket #3575 (closed defect: fixed)
Conversion of GMT grd files to AAIGrid files reverses north and south
|Reported by:||hellyj||Owned by:||ilucena|
I'm doing some grid format conversions and ran into an odd result. I think it's a problem with gdal_translate but want to mention it here in case anyone else has seen it before and can verify the problem but also to warn anyone who is doing GMT->AAIGrid transformations. Looks to me like gdal_translate is reading the *.grd file in the wrong order and inverting north and south. This doesn't happen when I use gdal_translate with geotiffs so I think it's localized to the GMT driver that it is using. When I have time I will check the code and see if I can find the problem. I've confirmed that the *.grd file is fine. I can convert it to an Arc grid using the gmt2arc script from Dawn Wright at OSU.