Commit 853a6f4b authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Changed grid substitution

parent 65e59a23
...@@ -2446,9 +2446,13 @@ static void change_grid(char *grid_file, int gridID, int vlistID) ...@@ -2446,9 +2446,13 @@ static void change_grid(char *grid_file, int gridID, int vlistID)
if ( a != b ) if ( a != b )
cdoAbort("Could not use grid from file '%s' configured via attribute 'ginfo'\n because xsize of $IFILE: '%d' is not identical to xsize of ginfo file: '%d'.", grid_file, a, b); cdoAbort("Could not use grid from file '%s' configured via attribute 'ginfo'\n because xsize of $IFILE: '%d' is not identical to xsize of ginfo file: '%d'.", grid_file, a, b);
if ( gridID != gridID2 )
{
vlistChangeGrid(vlistID, gridID, gridID2); vlistChangeGrid(vlistID, gridID, gridID2);
}
cdoPrint("Successfully substituted grid."); cdoPrint("Successfully substituted grid.");
pstreamClose(streamID2); pstreamClose(streamID2);
} }
......
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