Skip to content
Snippets Groups Projects
Commit 445f57d2 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Add support for spectral grids via cdi-pio.

parent 566d2f27
No related branches found
No related tags found
No related merge requests found
......@@ -286,9 +286,12 @@ cdiPioQueryVarDims(int varShape[3], int vlistID, int varID)
varShape[0] = gridInqXsize(gridID);
varShape[1] = gridInqYsize(gridID);
break;
case GRID_SPECTRAL:
varShape[0] = 2;
varShape[1] = gridInqSize(gridID) / 2;
break;
case GRID_GENERIC:
case GRID_LCC:
case GRID_SPECTRAL:
case GRID_GME:
case GRID_CURVILINEAR:
case GRID_UNSTRUCTURED:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment