mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Made nccopy aware of USE_CDF5 flag.
This commit is contained in:
parent
143fb237f9
commit
3c410f5257
@ -1428,8 +1428,12 @@ copy(char* infile, char* outfile)
|
||||
create_mode |= NC_64BIT_OFFSET;
|
||||
break;
|
||||
case NC_FORMAT_CDF5:
|
||||
create_mode |= NC_64BIT_DATA;
|
||||
break;
|
||||
#ifdef USE_CDF5
|
||||
create_mode |= NC_64BIT_DATA;
|
||||
#else
|
||||
error("netCDF library built without CDF5 support, can't create CDF5 files");
|
||||
break;
|
||||
#endif
|
||||
#ifdef USE_NETCDF4
|
||||
case NC_FORMAT_NETCDF4:
|
||||
create_mode |= NC_NETCDF4;
|
||||
|
Loading…
Reference in New Issue
Block a user