Skip to content
Snippets Groups Projects
Commit 3028b0ee authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Vargen: added support for CDI_PROJ_HEALPIX.

parent ac15373f
No related branches found
No related tags found
No related merge requests found
Pipeline #22903 passed
......@@ -150,7 +150,9 @@ remap_nn_reg2d_to_nonreg2d(const size_t nx, const size_t ny, const Varray<double
const auto gridsize = gridInqSize(gridID2);
Varray<double> xvals(gridsize), yvals(gridsize);
if (gridInqType(gridID2) == GRID_GME || gridInqType(gridID2) == GRID_GAUSSIAN_REDUCED) gridID2 = gridToUnstructured(gridID2, 0);
if (gridInqType(gridID2) == GRID_GME || gridInqType(gridID2) == GRID_GAUSSIAN_REDUCED ||
(gridInqType(gridID2) == GRID_PROJECTION && gridInqProjType(gridID2) == CDI_PROJ_HEALPIX))
gridID2 = gridToUnstructured(gridID2, 0);
if (gridInqType(gridID2) != GRID_UNSTRUCTURED && gridInqType(gridID2) != GRID_CURVILINEAR)
gridID2 = gridToCurvilinear(gridID2, 0);
......
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