Skip to content

Commit

Permalink
Remove setting of zstandard and quantize values in cmor_variables.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mauzey1 committed Aug 12, 2024
1 parent 256375b commit 3463ac0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Src/cmor_variables.c
Original file line number Diff line number Diff line change
Expand Up @@ -1902,9 +1902,6 @@ void cmor_init_var_def(cmor_var_def_t * var, int table_id)
var->shuffle = 0;
var->deflate = 1;
var->deflate_level = 1;
var->zstandard_level = 3;
var->quantize_mode = 0;
var->quantize_nsd = 1;
var->generic_level_name[0] = '\0';
}

Expand Down Expand Up @@ -2137,18 +2134,6 @@ int cmor_set_var_def_att(cmor_var_def_t * var, char att[CMOR_MAX_STRING],

var->deflate_level = atoi(val);

} else if (strcmp(att, VARIABLE_ATT_ZSTANDARDLEVEL) == 0) {

var->zstandard_level = atoi(val);

} else if (strcmp(att, VARIABLE_ATT_QUANTIZEMODE) == 0) {

var->quantize_mode = atoi(val);

} else if (strcmp(att, VARIABLE_ATT_QUANTIZENSD) == 0) {

var->quantize_nsd = atoi(val);

} else if (strcmp(att, VARIABLE_ATT_MODELINGREALM) == 0) {

strncpy(var->realm, val, CMOR_MAX_STRING);
Expand Down

0 comments on commit 3463ac0

Please sign in to comment.