Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
5a7aaaa5
Commit
5a7aaaa5
authored
Jan 17, 2017
by
Uwe Schulzweida
Browse files
cdfDefVar: removed unused test branch for szip compression.
parent
b6971a73
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdf_write.c
View file @
5a7aaaa5
...
...
@@ -534,32 +534,6 @@ int cdfDefVar(stream_t *streamptr, int varID)
}
}
if
(
streamptr
->
comptype
==
CDI_COMPRESS_SZIP
)
{
if
(
lchunk
&&
(
streamptr
->
filetype
==
CDI_FILETYPE_NC4
||
streamptr
->
filetype
==
CDI_FILETYPE_NC4C
)
)
{
#if defined (NC_SZIP_NN_OPTION_MASK)
cdfDefVarSzip
(
fileID
,
ncvarid
);
#else
static
bool
lwarn
=
true
;
if
(
lwarn
)
{
lwarn
=
false
;
Warning
(
"NetCDF4/SZIP compression not available!"
);
}
#endif
}
else
{
static
bool
lwarn
=
true
;
if
(
lwarn
)
{
lwarn
=
false
;
Warning
(
"SZIP compression is only available for NetCDF4!"
);
}
}
}
if
(
stdname
&&
*
stdname
)
cdf_put_att_text
(
fileID
,
ncvarid
,
"standard_name"
,
strlen
(
stdname
),
stdname
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment