Commit 17afa9e2 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added function cdiInqProj().

parent 4d7c3253
......@@ -720,6 +720,9 @@ void gridDestroy(int gridID);
/* gridDuplicate: Duplicate a Grid */
int gridDuplicate(int gridID);
/* gridInqProj: Get the projection ID of a Grid */
int gridInqProj(int gridID);
/* gridInqType: Get the type of a Grid */
int gridInqType(int gridID);
......
......@@ -992,6 +992,13 @@ void gridInqYstdname(int gridID, char *ystdname)
ystdname[0] = 0;
}
int gridInqProj(int gridID)
{
grid_t *gridptr = gridID2Ptr(gridID);
return gridptr->proj;
}
/*
@Function gridInqType
@Title Get the type of a Grid
......
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