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

NetCDF: addes support for non global Gaussian grids.

parent 2db5cbf4
2020-01-10 Uwe Schulzweida
* NetCDF: addes support for non global Gaussian grids
2019-11-20 Uwe Schulzweida 2019-11-20 Uwe Schulzweida
* Replaced gridInqXstdname()/gridInqYstdname() by cdiInqKeyString() with CDI_KEY_STDNAME * Replaced gridInqXstdname()/gridInqYstdname() by cdiInqKeyString() with CDI_KEY_STDNAME
......
...@@ -2447,6 +2447,11 @@ bool cdf_read_coordinates(struct cdfLazyGrid *restrict lazyGrid, ncvar_t *ncvar, ...@@ -2447,6 +2447,11 @@ bool cdf_read_coordinates(struct cdfLazyGrid *restrict lazyGrid, ncvar_t *ncvar,
if ( ncvar->cellarea != CDI_UNDEFID ) if ( ncvar->cellarea != CDI_UNDEFID )
cdf_load_cellarea(size, ncvar, &grid->area, &lazyGrid->cellAreaGet); cdf_load_cellarea(size, ncvar, &grid->area, &lazyGrid->cellAreaGet);
if (gridtype == GRID_GAUSSIAN)
{
if (ncvar->numLPE > 0) grid->np = ncvar->numLPE;
}
break; break;
} }
case GRID_GAUSSIAN_REDUCED: case GRID_GAUSSIAN_REDUCED:
......
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