You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Vector · GIS vector

netCDF — Network Common Data Form (vector features)

Scientific array format that can store point, line and polygon features using CF geometry and UGRID mesh conventions.

Type
Vector · GIS vector
Extension
.nc
Converter
Read & write
Coordinate system
Any (EPSG, ESRI, custom)
Layers
Multiple

What is a netCDF file?

netCDF (Network Common Data Form) is a self-describing, machine-independent binary format for array-oriented scientific data, developed and maintained by Unidata at UCAR. It is mainly used for gridded climate, ocean and atmospheric data, but conventions built on top of it allow feature-type content to be stored. The CF conventions define discrete sampling geometries for point, time series, profile and trajectory data, and later CF versions add encodings for simple point, line and polygon geometries. The separate UGRID convention describes unstructured meshes.

Vector features are expressed through dimensions, coordinate variables and attributes rather than as dedicated geometry records. Coordinate reference systems are declared with CF grid mapping variables. Support for these geometry encodings varies considerably between applications. As a result, netCDF is better suited to the scientific exchange of observation and model data than to general-purpose vector editing.

netCDF files with vector content usually come from climate, ocean, hydrology or meteorology teams that exchange observation or model output. Geometries are stored as arrays plus attributes, so the result depends on whether the sender followed the CF conventions. Before using a file, check which convention it uses, which variables hold coordinates, and whether a grid mapping variable defines the coordinate reference system.

Typical uses

  • Exchanging station, profile or trajectory observations between research groups.
  • Storing point time series such as sensor or buoy measurements with metadata.
  • Archiving scientific datasets that combine features with self-describing attributes.
  • Converting CF-encoded geometries to formats better suited to GIS editing.
Files: netCDF-4/HDF5 containers can store feature-like structures (CF/UGRID conventions).

Sample netCDF files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena places st-helena-places.nc

Places (CF point features)

58 places of Saint Helena (20 settlements, 17 peaks, 21 points of interest) with name, category, elevation from Copernicus DEM and OSM id. netCDF-4 with CF-1.8 point geometries.

  • places · Point · 58
  • EPSG:4326
  • 29.2 kB
Attributes (7)
idIntegernameStringcategoryStringkindStringelevationIntegersummaryStringosm_idString
10Jamestowntownsettlement36Capital and only port of Saint Helena293673697
22Diana's Peakpeakpeak809Highest point of Saint Helena4254622180
47Longwood Housemuseumpoi544Napoleon's residence in exile, 1815-182135798100
46Jacob's Ladderlandmarkpoi74Staircase of 699 steps from Jamestown up to Ladder Hill146163201
53Saint Helena Airportairportpoi326Island airport, scheduled flights since 2017166589674

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena basemap st-helena-basemap.nc

Basemap (one group per layer)

Places, roads, waterways and land cover as CF-1.8 simple geometries, one netCDF-4 group per layer.

  • places · Point · 58
  • roads · LineString · 110
  • waterways · LineString · 117
  • landcover · MultiPolygon · 190
  • EPSG:4326
  • 330 kB
Attributes (3)
nameStringarea_km2Realosm_idString
Saint Helena122.914868269

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

Many .nc files hold only gridded arrays and contain no feature geometries. Vector content appears only when the file follows a feature encoding such as CF discrete sampling geometries or CF geometry containers, and not every application reads these.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.