Change netcdf_file to Dataset