get netcdf example working