Compare
GeoTIFF vs netCDF
GeoTIFF uses TIFF imagery and tags to relate raster pixels to geographic coordinates and a CRS. netCDF describes scientific datasets with named dimensions, variables, and attributes, and can group multiple variables and times.
Which format should you choose?
Choose GeoTIFF to exchange a georeferenced image with GIS tools. Consider netCDF for scientific arrays with multiple variables, times, or levels and associated metadata.
Good fit for GeoTIFF
Exchanging georeferenced maps, satellite imagery, and elevation rasters
- Keeping raster pixels with coordinate reference and projection information
- Sharing imagery between GIS and Earth-science tools
Good fit for netCDF
Storing and exchanging array-based climate, weather, and Earth-science data
- Describing multidimensional data with dimensions, variables, and attributes
- Portable scientific data workflows using netCDF-aware tools
Basic information
| Field | GeoTIFF | netCDF |
|---|---|---|
| Extension | .tif, .tiff | .nc, .nc4, .cdf |
| MIME type | image/tiff | |
| Common uses | Exchanging georeferenced maps, satellite imagery, and elevation rasters | Storing and exchanging array-based climate, weather, and Earth-science data |
| How to open | Open it in GIS or remote-sensing software that supports GeoTIFF. Check CRS/EPSG, pixel-to-map transform, axis order, pixel size, NoData, bands, and compression. Re-saving in an ordinary image editor may remove geospatial tags. | Use netCDF-aware visualization or analysis software or a library. Inspect variables, dimensions, attributes, and the file variant. Check coordinate variables, units, calendar, missing values, and any CF conventions against what your reader expects. |
| Export or convert | Exporting to PNG or JPEG may discard coordinates, raster values, or bands. For GeoTIFF or Cloud Optimized GeoTIFF conversion, validate CRS, bounds, resolution, NoData, pixel values, and required tags. | When converting to CSV, HDF5, Zarr, or another format, check whether dimensions, variable types, attributes, coordinates, and time calendars are preserved. Conversion to the classic model may lose extended features; CSV cannot fully represent hierarchy, types, and attributes. |
Choose by use case
Keeping raster pixels with coordinate reference and projection information
Exchanging georeferenced maps, satellite imagery, and elevation rasters
GeoTIFFSharing imagery between GIS and Earth-science tools
Exchanging georeferenced maps, satellite imagery, and elevation rasters
GeoTIFFDescribing multidimensional data with dimensions, variables, and attributes
Storing and exchanging array-based climate, weather, and Earth-science data
netCDFPortable scientific data workflows using netCDF-aware tools
Storing and exchanging array-based climate, weather, and Earth-science data
netCDFKey point 1
GeoTIFF encodes raster-to-model transforms and CRS information with TIFF tags and GeoKeys; netCDF describes arrays as variables and dimensions, with coordinate meaning in variables, attributes, and conventions.
More on the differencesKey point 2
GeoTIFF focuses on georeferenced raster imagery. netCDF Classic and enhanced models organize scientific arrays and related metadata in a dataset.
More on the differencesMore on the differences
Use GeoTIFF for image-oriented GIS exchange. Use netCDF when the dataset model needs named axes, multiple variables, time or level dimensions, and attributes. If a netCDF grid is used in GIS, verify its coordinate variables and CRS conventions.
- GeoTIFF links pixels to model coordinates and CRS through TIFF tags and GeoKeys. netCDF stores arrays as variables over named dimensions; coordinate and CRS descriptions rely on variables, attributes, and conventions.
- GeoTIFF commonly exchanges a georeferenced raster image. netCDF can combine several variables, times, levels, and metadata; Classic and enhanced models have different capabilities.
- On conversion, check CRS and transforms, pixel-center versus pixel-corner interpretation, axis order, resolution, bands versus variables, units, time, missing values, types, and compression. Check whether netCDF-4 groups or types fit the target model.
Frequently asked questions
Does netCDF automatically preserve GeoTIFF georeferencing?
No. Map the CRS and raster transform explicitly, then verify coordinate values, axis order, pixel alignment, and metadata in the resulting dataset.