From 00104f88bd08c15ff78e1d4dba63fbd3a5824847 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Tue, 15 Sep 2020 15:28:25 -0600 Subject: [PATCH] no longer turn on deflate for vars automatically --- src/clib/pio_nc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/clib/pio_nc.c b/src/clib/pio_nc.c index 7c49d5880f9..684e203e2bc 100644 --- a/src/clib/pio_nc.c +++ b/src/clib/pio_nc.c @@ -2277,12 +2277,6 @@ PIOc_def_var(int ncid, const char *name, nc_type xtype, int ndims, PLOG((3, "defined var ierr %d file->iotype %d", ierr, file->iotype)); #ifdef _NETCDF4 - /* For netCDF-4 serial files, turn on compression for this - * variable, unless this file was opened through the netCDF - * integration feature (or is a scalar). */ - if (!ierr && file->iotype == PIO_IOTYPE_NETCDF4C && !file->ncint_file && ndims) - ierr = nc_def_var_deflate(file->fh, varid, 0, 1, 1); - /* For netCDF-4 parallel files, set parallel access to collective. */ if (!ierr && file->iotype == PIO_IOTYPE_NETCDF4P) ierr = nc_var_par_access(file->fh, varid, NC_COLLECTIVE);