# netCDF raster — Network Common Data Form

> netCDF raster (Network Common Data Form): Self-describing binary format for multidimensional scientific arrays such as climate, ocean and atmospheric grids. Specs, software and free sample files; convert netCDF raster to 50 formats online.

- Page: https://beta.mygeodata.cloud/formats/netcdf-raster

> netCDF files can also contain vector data. [Read about netCDF](https://beta.mygeodata.cloud/formats/netcdf) — Scientific array format that can store point, line and polygon features using CF geometry and UGRID mesh conventions. [Convert netCDF](https://beta.mygeodata.cloud/converter/netcdf)



## What is a netCDF raster file?

Network Common Data Form (netCDF) is a self-describing, machine-independent format for array-oriented scientific data. It is developed and maintained by Unidata, a program of the University Corporation for Atmospheric Research (UCAR). It is widely used in meteorology, oceanography and climate science for model output, reanalysis products and satellite-derived grids, where variables vary along dimensions such as longitude, latitude, vertical level and time.

A single .nc file holds named dimensions, variables and attributes. The classic and 64-bit offset variants use a simple binary layout, while netCDF-4 is built on HDF5 and adds groups, chunking and deflate compression. In GIS the gridded variables are read as raster bands, often as stacks over time or vertical levels, with integer or floating-point values. Georeferencing is not part of the core format. It relies on the Climate and Forecast (CF) metadata conventions, which describe coordinate variables and map projections through grid_mapping attributes.

NetCDF files usually come from meteorological agencies, oceanographic institutes and climate research groups, which distribute model output, reanalysis data and satellite grids. A single file can hold many variables and time or level steps, so check which variable and slice you need before loading it. Georeferencing depends on CF metadata, so files with missing or unusual grid_mapping attributes may appear misplaced.

### Technical details

| | |
|---|---|
| Full name | Network Common Data Form |
| Data type | Raster · Scientific & multidimensional |
| File extension | .nc |
| Files | Single file |
| Media type | — |
| Bands | One or many variables/bands; often time/level stacks. |
| Pixel types | 8/16/32-bit integer, 32/64-bit float |
| Compression | Internal chunking/deflate (netCDF-4) |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | QGIS, ArcGIS Pro, GDAL/OGR, Panoply, xarray, NCO |
| Specification | https://www.unidata.ucar.edu/software/netcdf |

### Specifications & references

- https://www.unidata.ucar.edu/software/netcdf
- https://cfconventions.org/cf-conventions/cf-conventions.html
- https://gdal.org/en/stable/drivers/raster/netcdf.html

### Sample netCDF raster files — free download

- [Elevation (CF netCDF-4)](https://beta.mygeodata.cloud/static/landing/samples/v1/netcdf/st-helena-dem.nc) — Copernicus DEM GLO-30 elevation model of Saint Helena (0–812 m), a surface model including trees and buildings; sea = 0 m. 631×505 px, 1 arc-second (≈30 m) grid, WGS 84. netCDF-4 (CF), DEFLATE. (467.5 kB, EPSG:4326)
- [Sentinel-2 multispectral (6 variables)](https://beta.mygeodata.cloud/static/landing/samples/v1/netcdf/st-helena-sentinel2-bands.nc) — Six Sentinel-2 L2A surface-reflectance bands of Saint Helena (B02 blue, B03 green, B04 red, B08 near infrared, B11 and B12 shortwave infrared) at 20 m, UInt16, reflectance = DN / 10000. netCDF-4 (CF), one variable per band. (3.9 MB, EPSG:32730)

### Convert netCDF raster to other formats

- [netCDF raster to TIF](https://beta.mygeodata.cloud/converter/netcdf-raster-to-tif)
- [netCDF raster to JPG](https://beta.mygeodata.cloud/converter/netcdf-raster-to-jpg)
- [netCDF raster to HFA](https://beta.mygeodata.cloud/converter/netcdf-raster-to-hfa)
- [netCDF raster to PNG](https://beta.mygeodata.cloud/converter/netcdf-raster-to-png)
- [netCDF raster to XYZ](https://beta.mygeodata.cloud/converter/netcdf-raster-to-xyz)
- [netCDF raster to GRD](https://beta.mygeodata.cloud/converter/netcdf-raster-to-grd)
- [netCDF raster to JP2](https://beta.mygeodata.cloud/converter/netcdf-raster-to-jp2)
- [netCDF raster to DEM](https://beta.mygeodata.cloud/converter/netcdf-raster-to-dem)
- [netCDF raster to BIL](https://beta.mygeodata.cloud/converter/netcdf-raster-to-bil)
- [netCDF raster to KMZ raster](https://beta.mygeodata.cloud/converter/netcdf-raster-to-kmz-raster)
- [netCDF raster to GeoPDF raster](https://beta.mygeodata.cloud/converter/netcdf-raster-to-geopdf-raster)
- [netCDF raster to MBTiles raster](https://beta.mygeodata.cloud/converter/netcdf-raster-to-mbtiles-raster)
- [netCDF raster to GIF](https://beta.mygeodata.cloud/converter/netcdf-raster-to-gif)
- [netCDF raster to RST](https://beta.mygeodata.cloud/converter/netcdf-raster-to-rst)
- [netCDF raster to ENVI](https://beta.mygeodata.cloud/converter/netcdf-raster-to-envi)
- [netCDF raster to AAIGrid](https://beta.mygeodata.cloud/converter/netcdf-raster-to-aaigrid)
- [netCDF raster to BMP](https://beta.mygeodata.cloud/converter/netcdf-raster-to-bmp)
- [netCDF raster to GPKG raster](https://beta.mygeodata.cloud/converter/netcdf-raster-to-gpkg-raster)

## Frequently asked questions

### Why does my netCDF file load in the wrong place or upside down?

Georeferencing is not part of the core format and comes from CF coordinate variables and grid_mapping attributes. If these are missing or non-standard, or latitude is stored in descending order, software may place or flip the grid incorrectly. Check the coordinate variables and the projection attributes.

### Why does a netCDF file open as many bands?

Each combination of variable, time step and vertical level is read as a separate raster band. A file with a long time series can therefore contain hundreds of bands. Select only the variable and time range you need to keep the result manageable.

### What is the difference between netCDF classic and netCDF-4?

Classic and 64-bit offset files use a simple binary layout. NetCDF-4 is built on HDF5 and adds groups, chunking and deflate compression. Both use the .nc extension, so older software may fail to read netCDF-4 files.

### What is a netCDF raster file?

Network Common Data Form (netCDF) is a self-describing, machine-independent format for array-oriented scientific data. It is developed and maintained by Unidata, a program of the University Corporation for Atmospheric Research (UCAR). It is widely used in meteorology, oceanography and climate science for model output, reanalysis products and satellite-derived grids, where variables vary along dimensions such as longitude, latitude, vertical level and time.

A single .nc file holds named dimensions, variables and attributes. The classic and 64-bit offset variants use a simple binary layout, while netCDF-4 is built on HDF5 and adds groups, chunking and deflate compression. In GIS the gridded variables are read as raster bands, often as stacks over time or vertical levels, with integer or floating-point values. Georeferencing is not part of the core format. It relies on the Climate and Forecast (CF) metadata conventions, which describe coordinate variables and map projections through grid_mapping attributes.

### How do I open a netCDF raster file?

netCDF raster files can be opened in QGIS, ArcGIS Pro, GDAL/OGR, Panoply and xarray. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert netCDF raster to?

Popular conversions are TIF, JPG, HFA, PNG, XYZ and GRD. In total the Converter writes netCDF raster data to 50 formats.

### How do I create a netCDF raster file?

Convert existing data to netCDF raster — for example from TIF, JPG, GRIB, HFA and PNG. Upload the file, choose netCDF raster as output and download the result.

### Is a netCDF file vector or raster?

A netCDF file can store raster data or vector data, depending on how it was created. This page describes the raster variant; the other variant has separate specifications and conversion options.

