Commit 5b56f55d authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamOpenAppen: set ncmode to 2 (bug fix)

parent b7e38a4c
2009-02-?? Uwe Schulzweida <Uwe.Schulzweida@zmaw.de> 2009-02-?? Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* add support for GRID type LCC2 (LCC PROJ.4 version) * add support for GRID type LCC2 (LCC PROJ.4 version)
* streamOpenAppen: set ncmode to 2 (bug fix)
* Version 1.3.0 released * Version 1.3.0 released
2009-01-15 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de> 2009-01-15 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
......
...@@ -879,16 +879,19 @@ int streamOpenA(const char *filename, const char *filemode, int filetype) ...@@ -879,16 +879,19 @@ int streamOpenA(const char *filename, const char *filemode, int filetype)
case FILETYPE_NC: case FILETYPE_NC:
{ {
fileID = cdfOpen(filename, filemode); fileID = cdfOpen(filename, filemode);
streamptr->ncmode = 2;
break; break;
} }
case FILETYPE_NC2: case FILETYPE_NC2:
{ {
fileID = cdfOpen64(filename, filemode); fileID = cdfOpen64(filename, filemode);
streamptr->ncmode = 2;
break; break;
} }
case FILETYPE_NC4: case FILETYPE_NC4:
{ {
fileID = cdf4Open(filename, filemode); fileID = cdf4Open(filename, filemode);
streamptr->ncmode = 2;
break; break;
} }
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment