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.

Source Distribution

CFGeom-0.2.0.tar.gz (27.0 kB view hashes)

Uploaded source

Built Distribution

CFGeom-0.2.0-py2-none-any.whl (31.6 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page