How to use the convertors

Two conversion programs are provided to convert from ASCII to and from the netCDF file formats.

The first program, txt2hdf5 will convert an ASCII file to a netcdf format file. The type of file, either element data (PARA-BMU input) or displacement data (PARA-BMU output) is automatically detected. Invocation is thus:

 ./txt2hdf5 <txt_filename> <hdf5_filename>
This is a serial code which must be compiled for, and run in, the serial environment on HECToR.

Similarly, the second program hdf52txt will convert a netcdf format file to an ASCII file. Again, the type of file, either element data or displacement data is automatically detected. Invocation is thus:

 ./hdf52txt <hdf5_filename> <txt_filename>
Again, this is a serial code which must be compiled for, and run in, the serial environment on HECToR.