Commit 0b50af7c authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Implementation of option --reduce_dim for x/y axis.

parent 87543893
......@@ -6,6 +6,7 @@
2017-08-31 Uwe Schulzweida
* Implementation of option --reduce_dim for time axis
* Implementation of option --reduce_dim for x/y axis
2017-08-30 Uwe Schulzweida
......
......@@ -145,14 +145,6 @@ void *Fldstat(void *argument)
int taxisID2 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID2, taxisID2);
if ( CDO_Reduce_Dim )
{
gridID2 = gridCreate(GRID_GENERIC, 1);
gridDefXsize(gridID2, 0);
gridDefYsize(gridID2, 0);
}
else
{
double slon = 0;
double slat = 0;
gridID2 = gridCreate(GRID_LONLAT, 1);
......@@ -160,7 +152,6 @@ void *Fldstat(void *argument)
gridDefYsize(gridID2, 1);
gridDefXvals(gridID2, &slon);
gridDefYvals(gridID2, &slat);
}
int ngrids = vlistNgrids(vlistID1);
......
......@@ -123,14 +123,6 @@ void *Fldstat2(void *argument)
int taxisID3 = taxisDuplicate(taxisID1);
vlistDefTaxis(vlistID3, taxisID3);
if ( CDO_Reduce_Dim )
{
gridID3 = gridCreate(GRID_GENERIC, 1);
gridDefXsize(gridID3, 0);
gridDefYsize(gridID3, 0);
}
else
{
double slon = 0;
double slat = 0;
gridID3 = gridCreate(GRID_LONLAT, 1);
......@@ -138,7 +130,6 @@ void *Fldstat2(void *argument)
gridDefYsize(gridID3, 1);
gridDefXvals(gridID3, &slon);
gridDefYvals(gridID3, &slat);
}
int ngrids = vlistNgrids(vlistID1);
......
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