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
e189adae
Commit
e189adae
authored
Mar 10, 2014
by
Uwe Schulzweida
Browse files
netCDF4 classic: existing files are converted to netCDF4 - classic flag is lost (bug fix)
parent
277007dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e189adae
...
...
@@ -5,6 +5,7 @@
2014-03-10 Uwe Schulzweida
* netCDF4 classic: existing files are converted to netCDF4 - classic flag is lost (bug fix)
* cgribexDefParam: check validity of parameter number
2014-03-04 Uwe Schulzweida
...
...
NEWS
View file @
e189adae
CDI NEWS
--------
Version 1.6.4 (20 May 2014):
New features:
Fixed bugs:
* netCDF4 classic: existing files are converted to netCDF4 - classic flag is lost
Version 1.6.3 (14 February 2014):
New features:
...
...
src/stream.c
View file @
e189adae
...
...
@@ -729,6 +729,9 @@ int cdiStreamOpenDefaultDelegate(const char *filename, const char *filemode,
return
(
CDI_ELIBNAVAIL
);
}
}
streamptr
->
filetype
=
filetype
;
return
fileID
;
}
...
...
@@ -766,7 +769,6 @@ int streamOpen(const char *filename, const char *filemode, int filetype)
if
(
streamID
<
0
)
return
(
CDI_ELIMIT
);
streamptr
->
filetype
=
filetype
;
streamptr
->
filemode
=
tolower
(
*
filemode
);
streamptr
->
filename
=
strdupx
(
filename
);
streamptr
->
fileID
=
fileID
;
...
...
@@ -818,7 +820,6 @@ static int streamOpenA(const char *filename, const char *filemode, int filetype)
streamID
=
streamptr
->
self
;
streamptr
->
filetype
=
filetype
;
streamptr
->
filemode
=
tolower
(
*
filemode
);
streamptr
->
filename
=
strdupx
(
filename
);
streamptr
->
fileID
=
fileID
;
...
...
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