Commit c6c638ae authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

netCDF absolute time axis with units month: change day from 0 to 1

parent b8a408b1
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
* Version 1.6.7 released * Version 1.6.7 released
2014-12-05 Uwe Schulzweida
* netCDF absolute time axis with units month: change day from 0 to 1
2014-12-03 Uwe Schulzweida 2014-12-03 Uwe Schulzweida
* gribapi: time dependent metadata [Feature #4720] * gribapi: time dependent metadata [Feature #4720]
......
CDI NEWS CDI NEWS
-------- --------
Version 1.6.7 (5 December 2014):
Fixed bugs:
* GRIB2 output does not work
Version 1.6.6 (27 November 2014): Version 1.6.6 (27 November 2014):
New features: New features:
......
...@@ -1194,6 +1194,7 @@ void splitTimevalue(double timevalue, int timeunit, int *date, int *time) ...@@ -1194,6 +1194,7 @@ void splitTimevalue(double timevalue, int timeunit, int *date, int *time)
else if ( timeunit == TUNIT_MONTH ) else if ( timeunit == TUNIT_MONTH )
{ {
vdate = (int) timevalue*100; vdate = (int) timevalue*100;
vdate += 1;
vtime = 0; vtime = 0;
} }
else if ( timeunit == TUNIT_YEAR ) else if ( timeunit == TUNIT_YEAR )
......
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