Skip to content

Commit

Permalink
Merge pull request #733 from cofinoa/cofinoa-issue601-chunking
Browse files Browse the repository at this point in the history
Update cmor.c
  • Loading branch information
mauzey1 authored Apr 29, 2024
2 parents 9b5ff7b + 937e863 commit 92e3efd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/cmor.c
Original file line number Diff line number Diff line change
Expand Up @@ -3588,7 +3588,7 @@ void cmor_define_dimensions(int var_id, int ncid,
&& (CMOR_NETCDF_MODE != CMOR_APPEND_3)) {
if (strcmp(pAxis->id, "time") == 0) {
ierr = nc_def_var_chunking(ncid, nc_vars[i], NC_CHUNKED,
&nc_dim_chunking[0]);
NULL);
} else {
ierr = nc_def_var_chunking(ncid, nc_vars[i], NC_CONTIGUOUS,
&nc_dim_chunking[0]);
Expand Down Expand Up @@ -5196,7 +5196,7 @@ void cmor_create_var_attributes(int var_id, int ncid, int ncafid,
1)))) {
ierr =
nc_def_var_chunking(ncid, cmor_vars[var_id].nc_var_id, NC_CHUNKED,
&nc_dim_chunking[0]);
NULL);
if (ierr != NC_NOERR) {
snprintf(msg, CMOR_MAX_STRING,
"NetCDFTestTables/CMIP6_chunking.json: Error (%i: %s) defining chunking\n! "
Expand Down

0 comments on commit 92e3efd

Please sign in to comment.