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

ymon<stat>: preserve time axis attributes (big fix)

parent 0e5db9af
2011-08-19 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* ymon<stat>: preserve time axis attributes (big fix) [report: Martin Juckes]
2011-08-12 Cedrick Ansorge <Cedrick.Ansorge@zmaw.de>
* eof, eoftime, eofspatial, eof3d - Empirical Orthogonal Functions:bug fix [report: Eileen Dahms and Frank Lunkeit]
......@@ -723,7 +727,7 @@ w.de>
* remapcon: bug fix for NORMALIZE_OPT 'dest' and 'none'
* Seltime: changed value of NOPERATORS (bug fix)
* Version 1.1.1 released
2008-01-24 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* using CDI library version 1.1.0
......
......@@ -11,6 +11,7 @@ Version 1.5.2 (?? September 2011):
Above this level the humidity is set to the constant 1.E-6.
Fixed bugs:
* invertlat: bug fix for CURVILINEAR grids
* ymon<stat>: preserve time axis attributes (type and calendar)
* import_binary: added support for OPTION ZREV
* expr/exprf: wrong result for expression 'constant-field' and 'constant/field' (e.g. 1-field)
This bug was introduced in CDO version 1.5.1.
......
......@@ -68,7 +68,7 @@ void *Seascount(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -84,8 +84,8 @@ void *Seaspctl(void *argument)
taxisID2 = vlistInqTaxis(vlistID2);
taxisID3 = vlistInqTaxis(vlistID3);
/* TODO - check that time axes 2 and 3 are equal */
taxisID4 = taxisCreate(TAXIS_ABSOLUTE);
taxisID4 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
......
......@@ -85,7 +85,7 @@ void *Seasstat(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -78,7 +78,7 @@ void *Timcount(void *argument)
if ( cdoOperatorF2(operatorID) == 16 ) vlistDefNtsteps(vlistID2, 1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -85,8 +85,8 @@ void timpctl(int operatorID)
taxisID2 = vlistInqTaxis(vlistID2);
taxisID3 = vlistInqTaxis(vlistID3);
/* TODO - check that time axes 2 and 3 are equal */
taxisID4 = taxisCreate(TAXIS_ABSOLUTE);
taxisID4 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
......
......@@ -91,7 +91,7 @@ void *Timselpctl(void *argument)
taxisID3 = vlistInqTaxis(vlistID3);
/* TODO - check that time axes 2 and 3 are equal */
taxisID4 = taxisCreate(TAXIS_ABSOLUTE);
taxisID4 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
......
......@@ -86,7 +86,7 @@ void *Timselstat(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -160,10 +160,6 @@ void *Timstat(void *argument)
taxisID1 = vlistInqTaxis(vlistID1);
taxis_has_bounds = taxisHasBounds(taxisID1);
taxisID2 = taxisDuplicate(taxisID1);
/*
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisDefCalendar(taxisID2, taxisInqCalendar(taxisID1));
*/
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -90,7 +90,7 @@ void *Ydaypctl(void *argument)
taxisID3 = vlistInqTaxis(vlistID3);
/* TODO - check that time axes 2 and 3 are equal */
taxisID4 = taxisCreate(TAXIS_ABSOLUTE);
taxisID4 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
......
......@@ -89,7 +89,7 @@ void *Ydaystat(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -90,7 +90,7 @@ void *Yhourstat(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -88,7 +88,7 @@ void *Ymonpctl(void *argument)
taxisID3 = vlistInqTaxis(vlistID3);
/* TODO - check that time axes 2 and 3 are equal */
taxisID4 = taxisCreate(TAXIS_ABSOLUTE);
taxisID4 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
......
......@@ -106,7 +106,7 @@ void *Ymonstat(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
......@@ -91,7 +91,7 @@ void *Yseaspctl(void *argument)
taxisID3 = vlistInqTaxis(vlistID3);
/* TODO - check that time axes 2 and 3 are equal */
taxisID4 = taxisCreate(TAXIS_ABSOLUTE);
taxisID4 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID4, taxisID4);
streamID4 = streamOpenWrite(cdoStreamName(3), cdoFiletype());
......
......@@ -91,7 +91,7 @@ void *Yseasstat(void *argument)
vlistID2 = vlistDuplicate(vlistID1);
taxisID1 = vlistInqTaxis(vlistID1);
taxisID2 = taxisCreate(TAXIS_ABSOLUTE);
taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
streamID2 = streamOpenWrite(cdoStreamName(1), cdoFiletype());
......
Supports Markdown
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