Vc debug assertions

The use of &vector[0] to pass a pointer to netcdf-c functions can in several places reference the first element of an empty vector. This will trigger an assertion in debug mode on Visual Studio compiled code. Code which should be valid can therefore not be debugged.