Adding read/write access to NetCDF files