ICE_IO is a FORTRAN77 library which can read or write an ICE dataset, which defines a 3D grid, using the NETCDF file format.
The flakiness of the NETCDF library required me to end up abandoning the GFORTRAN compiler and switching to the G95 compiler, which was able, for some reason, to get NETCDF to behave.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
ICE_IO is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
ICE, a data directory which contains examples of ICE files, which store icesheet grid datasets in the NETCDF format.
ICE_TO_MESH, a FORTRAN77 program which reads a NETCDF file containing an ICE dataset and rewrites the information as a MESH file.
MESH, a data directory which contains examples of MESH files, which can be used to define the geometry of a finite element mesh in 2D or 3D, using triangles, quadrilaterals, tetrahedrons or hexahedrons.
MESH_TO_ICE, a FORTRAN77 program which reads the ICE dataset information from a MESH files and rewrites it to a NETCDF file.
NETCDF, MATLAB programs which read and write NETCDF files.
NETCDF_MPAS, MATLAB programs which read and write MPAS grid data stored as NETCDF files.
You can go up one level to the FORTRAN77 source codes.