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

update interface to gridPrint() and zaxisPrint()

parent 8944acfc
......@@ -324,12 +324,12 @@ void *Filedes(void *argument)
int opt = 0;
if ( operatorID == GRIDDES ) opt = 1;
for ( index = 0; index < ngrids; index++ )
gridPrint(vlistGrid(vlistID, index), opt);
gridPrint(vlistGrid(vlistID, index), index+1, opt);
}
else if ( operatorID == ZAXISDES )
{
for ( index = 0; index < nzaxis; index++ )
zaxisPrint(vlistZaxis(vlistID, index));
zaxisPrint(vlistZaxis(vlistID, index), index+1);
}
else if ( operatorID == VCT || operatorID == VCT2 )
{
......
......@@ -246,10 +246,10 @@ void *Importbinary(void *argument)
if ( nvars == 0 ) cdoAbort("No variables found!");
gridID = define_grid(&pfi);
if ( cdoVerbose ) gridPrint(gridID, 1);
if ( cdoVerbose ) gridPrint(gridID, gridID, 1);
zaxisID = define_level(&pfi, 0);
if ( cdoVerbose ) zaxisPrint(zaxisID);
if ( cdoVerbose ) zaxisPrint(zaxisID, zaxisID);
zaxisIDsfc = zaxisCreate(ZAXIS_SURFACE, 1);
zaxisDefLevels(zaxisIDsfc, &sfclevel);
......
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