Commit 76b3d786 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

netCDF4: changed default file name suffix from nc4 to nc

parent 4f0ead98
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
* Version 1.6.4 released * Version 1.6.4 released
* using CGRIBEX library version 1.6.4 * using CGRIBEX library version 1.6.4
2014-03-20 Uwe Schulzweida
* netCDF4: changed default file name suffix from nc4 to nc
* GRIB2: changed default file name suffix fromg g2 to grb
2014-03-10 Uwe Schulzweida 2014-03-10 Uwe Schulzweida
* netCDF4 classic: existing files are converted to netCDF4 - classic flag is lost (bug fix) * netCDF4 classic: existing files are converted to netCDF4 - classic flag is lost (bug fix)
......
...@@ -522,7 +522,8 @@ int streamInqByteorder(int streamID) ...@@ -522,7 +522,8 @@ int streamInqByteorder(int streamID)
char *streamFilesuffix(int filetype) char *streamFilesuffix(int filetype)
{ {
static char *fileSuffix[] = {"", ".grb", ".g2", ".nc", ".nc", ".nc4", ".nc4", ".srv", ".ext", ".ieg"}; // static char *fileSuffix[] = {"", ".grb", ".g2", ".nc", ".nc", ".nc4", ".nc4", ".srv", ".ext", ".ieg"};
static char *fileSuffix[] = {"", ".grb", ".grb", ".nc", ".nc", ".nc", ".nc", ".srv", ".ext", ".ieg"};
int size = (int) (sizeof(fileSuffix)/sizeof(char *)); int size = (int) (sizeof(fileSuffix)/sizeof(char *));
if ( filetype > 0 && filetype < size ) if ( filetype > 0 && filetype < size )
......
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