Articles | Volume 8, issue 6
Development and technical paper
30 Jun 2015
Development and technical paper |  | 30 Jun 2015

NCIO 1.0: a simple Fortran NetCDF interface

A. Robinson and M. Perrette

Abstract. The NetCDF (Network Common Data Form) library has become an indispensable tool for data and model output management in geoscience. However for simple tasks, particularly in Fortran, the complexity of native NetCDF functionality can be cumbersome. The NCIO (NetCDF Input/Output) module has been designed as an interface to the NetCDF library with simplicity and ease of use in mind. While this implies that some NetCDF functionality is masked from the user, the subroutines provided here are adequate for basic serial reading and writing tasks of up to 6-D data arrays along with corresponding data attributes. The code is available online via a GitHub repository (, which includes an example program to illustrate the approach.

Short summary
Here we present a concise interface to the NetCDF library designed to simplify reading and writing tasks of up to 6-D arrays in Fortran programs.