Converting a NetCDF file to GeoTIFF using GDAL?

Your netcdf uses a rotated pole grid. GDAL is not able to handle that.

There is a ticket for it: http://trac.osgeo.org/gdal/ticket/4285 which gives some workaround.

GMT has a tool called grdrotater which should be able to work with rotated poles, but I have not yet used it.

If you are used to GRASS, you can try this workaround:

http://osgeo-org.1560.x6.nabble.com/NetCDF-rotated-pole-td4634232.html


Did you try to convert it with gdal_translate?

Normally it should work by using one of the two possibilities:

First solution: extract every subdataset manually

gdal_translate -of VRT NETCDF:"RainDays1_1961-1990_LTA_25km.nc":raindays_tmean_abs output_RD.vrt 
gdal_translate -of VRT NETCDF:"RainDays1_1961-1990_LTA_25km.nc":lat output_lat.vrt 
gdal_translate -of VRT NETCDF:"RainDays1_1961-1990_LTA_25km.nc":lon output_lon.vrt

Second solution: let gdal extract the subdatasets automatically

gdal_translate -of VRT -sds RainDays1_1961-1990_LTA_25km.nc output.vrt

The second solution will extract all subdatasets to separate files.

It may be necessary to include the

-a_srs epsg:4326

flag