update to use netcdf4