2

How would I convert NetCDF files to Geotiff format? The data I am using is air temperature data that comes from the Climatic Research Institute and I want to display it on ENVI. I am not familiar with writing codes or scripts.

1
  • I tried this but got the error: "...but without any dimensions >=2" Jan 12 '20 at 14:46
6

GDAL supports NetCDF: http://www.gdal.org/frmt_netcdf.html

gdal_translate input.cdf output.tif
3
  • Would you know how I can download the GDAL translate software? there is a huge list of files that appear when I click on the download option Jul 8 '15 at 10:44
  • If you are on Windows, I guess the easiest way is OSGeo4W's bundle: trac.osgeo.org/osgeo4w/wiki/NewUserIntroduction On Linux you can simply install it from your repositories. On Mac I don't have a clue. Jul 8 '15 at 14:25
  • With Mac, you can use brew or conda.
    – snowman2
    Jan 12 '20 at 15:55
1

If you don't like coding but need an UI, you could check

as mentioned in these posts. Never tried them myself though.

1
  • Hi @nikhil-kumar: why not adding your modification to the post as a comment? That makes it more obvious that this is your annotation.
    – ulrich
    Nov 24 '21 at 10:00
-1

Convert NetCDF into GeoTiff using gdal utility

Follow the command > gdal_translate -a_srs EPSG:4326 NETCDF:File_Name.nc:Band_Name -of ‘Gtiff’ Output_FileName.geotiff

2
  • 3
    This is exactly a repost of the top answer, except with more confusing (and unexplained) options in the call.
    – Jon
    May 21 '18 at 16:11
  • 1
    And potentially wrong as it assigns a CRS to the data that might not be correct. Nov 24 '21 at 8:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.