NCIO 1.0: a simple Fortran NetCDF interface
- 1Universidad Complutense de Madrid, 28040 Madrid, Spain
- 2Instituto de Geociencias, UCM-CSIC, 28040 Madrid, Spain
- 3Potsdam Institute for Climate Impact Research, 14473 Potsdam, Germany
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.