modified netcdf example