Switch to using the netcdf c library instead of the c++ bindings. Its more painful, but I was having trouble appending to files with the C++ bindings, and they seem less standard -- probably harder to link against. There are aparently mutliple versions of them, so its not clear which to use. The C library is the standard