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

netCDF absolute time axis with units year: change month/day from 0000 to 0101

parent 4e89825a
......@@ -4,7 +4,8 @@
2014-12-05 Uwe Schulzweida
* netCDF absolute time axis with units month: change day from 0 to 1
* netCDF absolute time axis with units month: change day from 00 to 01
* netCDF absolute time axis with units year: change month/day from 0000 to 0101
2014-12-03 Uwe Schulzweida
......
......@@ -85,6 +85,7 @@ module mo_cdi
integer, parameter :: DATATYPE_TXT = 253
integer, parameter :: DATATYPE_CPX = 254
integer, parameter :: DATATYPE_UCHAR = 255
integer, parameter :: DATATYPE_LONG = 256
integer, parameter :: CHUNK_AUTO = 1
integer, parameter :: CHUNK_GRID = 2
integer, parameter :: CHUNK_LINES = 3
......@@ -3385,6 +3386,7 @@ module mo_cdi
public :: DATATYPE_TXT
public :: DATATYPE_CPX
public :: DATATYPE_UCHAR
public :: DATATYPE_LONG
public :: CHUNK_AUTO
public :: CHUNK_GRID
public :: CHUNK_LINES
......
......@@ -1211,6 +1211,7 @@ void splitTimevalue(double timevalue, int timeunit, int *date, int *time)
}
vdate = (int) timevalue*10000;
vdate += 101;
vtime = 0;
}
else
......
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