Please note that things would have been much more robust having the data buffer and the dimensions, sizes and so on as arrays because the different languages (Fortran, C) would read them in a self-consistent manner. I do not know if you will consider a clean-up action at a certain point. See you, Armando