ICE_IO is a FORTRAN90 library which can read or write an ICE dataset, which defines a 3D grid, using the NETCDF file format.
I will remark that the FORTRAN90 version of NETCDF was very difficult to install...correctly. I have deleted eleven further sentences from this remark.
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 FORTRAN90 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 FORTRAN90 program which reads the ICE dataset information from a MESH files and rewrites it to a NETCDF file.
NETCDF, FORTRAN90 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 FORTRAN90 source codes.