working netcdf export