Articles | Volume 8, issue 6
https://doi.org/10.5194/gmd-8-1877-2015
https://doi.org/10.5194/gmd-8-1877-2015
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 (http://www.github.com/alex-robinson/ncio), which includes an example program to illustrate the approach.

Download
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.