Clear Filters
Clear Filters

NetCDF4 into GeoTIFF/TIFF file conversion

8 views (last 30 days)
Hello Guys, I have a problem to convert the NetCDF file into GeoTIFF/TIFF file in matlab, i don't know how to do it (syntax), there are software's available for conversion, but the problem is i have huge data-set almost 300 images in NC file format and i don't have much time to do it manually, can some one please help me... Thank you

Accepted Answer

Kelly Kearney
Kelly Kearney on 30 Jul 2015
Netcdf isn't an image format, it's a gridded data storage format. So you'll have to give us more information about the data in those files (dimensions?) for us to help. I suggest looking at the documentation for netcdf, ncread, etc. as well as geotiffwrite.
Ahsan Abbas
Ahsan Abbas on 31 Jul 2015
Edited: Ahsan Abbas on 31 Jul 2015
Actually the data set is belong from Modis Satellite "Sea Surface Temperature", it contain 9 bands sst,l2_flags,sstref,latitude and longitude etc. The dimension information for sst is shown in attached picture.
Kelly Kearney
Kelly Kearney on 31 Jul 2015
That shows me the attributes, not the dimensions. In matlab, type
ncdisp('', 'sst')
(replacing with the real name of your file), and paste the output here.

Sign in to comment.

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!