Commit 190cd5ec authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Merge declaration and definition.

parent 49c4e5a4
...@@ -54,10 +54,6 @@ void gen_index(int gridID1, int gridID2, int *index) ...@@ -54,10 +54,6 @@ void gen_index(int gridID1, int gridID2, int *index)
if ( gridtype1 == GRID_LONLAT || gridtype1 == GRID_GAUSSIAN ) if ( gridtype1 == GRID_LONLAT || gridtype1 == GRID_GAUSSIAN )
{ {
/*
if ( gridIsRotated(gridID1) )
cdoAbort("Rotated grids unsupported!");
*/
nlon1 = gridInqXsize(gridID1); nlon1 = gridInqXsize(gridID1);
nlat1 = gridInqYsize(gridID1); nlat1 = gridInqYsize(gridID1);
......
...@@ -828,12 +828,10 @@ void cell_bounding_boxes(remapgrid_t *grid, int remap_grid_basis) ...@@ -828,12 +828,10 @@ void cell_bounding_boxes(remapgrid_t *grid, int remap_grid_basis)
} }
else if ( remap_grid_basis == REMAP_GRID_BASIS_SRC ) else if ( remap_grid_basis == REMAP_GRID_BASIS_SRC )
{ {
long nx, ny;
if ( grid->rank != 2 ) cdoAbort("Internal problem, grid rank = %d!", grid->rank); if ( grid->rank != 2 ) cdoAbort("Internal problem, grid rank = %d!", grid->rank);
nx = grid->dims[0]; long nx = grid->dims[0];
ny = grid->dims[1]; long ny = grid->dims[1];
if ( cdoVerbose ) cdoPrint("Grid: boundbox_from_center"); if ( cdoVerbose ) cdoPrint("Grid: boundbox_from_center");
......
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