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
b24b73de
Commit
b24b73de
authored
Jun 04, 2014
by
Uwe Schulzweida
Browse files
netCDF: do not define attribute units for time bounds
parent
201077ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b24b73de
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
* using EXSE library version 1.3.2
* using EXSE library version 1.3.2
* using CGRIBEX library version 1.6.4
* using CGRIBEX library version 1.6.4
2014-06-04 Uwe Schulzweida
* netCDF: do not defined attribute calendar and units for time bounds
2014-05-19 Uwe Schulzweida
2014-05-19 Uwe Schulzweida
* netCDF: added support for opendap files by https
* netCDF: added support for opendap files by https
...
...
src/stream_cdf.c
View file @
b24b73de
...
@@ -1034,9 +1034,10 @@ void cdfDefTime(stream_t* streamptr)
...
@@ -1034,9 +1034,10 @@ void cdfDefTime(stream_t* streamptr)
if
(
len
)
if
(
len
)
{
{
cdf_put_att_text
(
fileID
,
time_varid
,
"units"
,
len
,
unitstr
);
cdf_put_att_text
(
fileID
,
time_varid
,
"units"
,
len
,
unitstr
);
/*
if ( taxis->has_bounds )
if ( taxis->has_bounds )
cdf_put_att_text(fileID, time_bndsid, "units", len, unitstr);
cdf_put_att_text(fileID, time_bndsid, "units", len, unitstr);
*/
}
}
if
(
taxis
->
calendar
!=
-
1
)
if
(
taxis
->
calendar
!=
-
1
)
...
...
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