Skip to main content

Reference implementation for representing geometries in NetCDF with the CF Conventions

Project description


Build Status Coverage Status

A Python Reference Implementation for Representing Geometries in NetCDF Following the CF Conventions

This project demonstrates how points, lines, polygons, and their multipart equivalents can be represented in NetCDF-CF. The project includes a Python reference implementation for reading and writing geometries in a netCDF file.

For more on this project, see the documentation, or get started with the tutorial.

To view the geometries specification including examples, see Chapter 7 of the CF Conventions.

You may also be interested in the R reference implementation.

Use Cases

  • Encode watershed model time series and polygons in a single file to archive model output and geometry.
  • Encode a streamflow value for each river line in the conterminous U.S. at a given point in time.


  • Tim Whiteaker
  • Ben Koziol
  • David Blodgett

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cfgeom, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size CFGeom-0.2.0-py2-none-any.whl (31.6 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size CFGeom-0.2.0.tar.gz (27.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page