Commit da8c2ee1 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed function gridInqProjParamRLL() to gridInqParamRLL().

parent 27e6926a
......@@ -852,7 +852,7 @@ double gridInqYinc(int gridID);
int gridIsCircular(int gridID);
int gridIsRotated(int gridID);
void gridInqProjParamRLL(int gridID, double *xpole, double *ypole, double *angle);
void gridInqParamRLL(int gridID, double *xpole, double *ypole, double *angle);
void gridDefProjParamRLL(int gridID, double xpole, double ypole, double angle);
void gridDefXpole(int gridID, double xpole);
......
......@@ -355,7 +355,7 @@ FCALLSCFUN1 (DOUBLE, gridInqXinc, GRIDINQXINC, gridinqxinc, INT)
FCALLSCFUN1 (DOUBLE, gridInqYinc, GRIDINQYINC, gridinqyinc, INT)
FCALLSCFUN1 (INT, gridIsCircular, GRIDISCIRCULAR, gridiscircular, INT)
FCALLSCFUN1 (INT, gridIsRotated, GRIDISROTATED, gridisrotated, INT)
FCALLSCSUB4 (gridInqProjParamRLL, GRIDINQPROJPARAMRLL, gridinqprojparamrll, INT, PDOUBLE, PDOUBLE, PDOUBLE)
FCALLSCSUB4 (gridInqParamRLL, GRIDINQPROJPARAMRLL, gridinqprojparamrll, INT, PDOUBLE, PDOUBLE, PDOUBLE)
FCALLSCSUB4 (gridDefProjParamRLL, GRIDDEFPROJPARAMRLL, griddefprojparamrll, INT, DOUBLE, DOUBLE, DOUBLE)
FCALLSCSUB2 (gridDefXpole, GRIDDEFXPOLE, griddefxpole, INT, DOUBLE)
FCALLSCFUN1 (DOUBLE, gridInqXpole, GRIDINQXPOLE, gridinqxpole, INT)
......
......@@ -1798,7 +1798,7 @@ double gridInqYinc(int gridID)
}
void gridInqProjParamRLL(int gridID, double *xpole, double *ypole, double *angle)
void gridInqParamRLL(int gridID, double *xpole, double *ypole, double *angle)
{
*xpole = 0; *ypole = 0; *angle = 0;
......
......@@ -1763,7 +1763,7 @@ void cgribexDefGrid(int *isec1, int *isec2, double *fsec2, int *isec4, int gridI
angle = gridInqAngle(gridID);
}
else
gridInqProjParamRLL(gridID, &xpole, &ypole, &angle);
gridInqParamRLL(gridID, &xpole, &ypole, &angle);
ISEC2_LatSP = - (int)lround(ypole * 1000);
ISEC2_LonSP = (int)lround((xpole + 180) * 1000);
......
......@@ -2067,7 +2067,7 @@ void gribapiDefGrid(int editionNumber, grib_handle *gh, int gridID, int comptype
angle = gridInqAngle(gridID);
}
else
gridInqProjParamRLL(gridID, &xpole, &ypole, &angle);
gridInqParamRLL(gridID, &xpole, &ypole, &angle);
xpole = xpole + 180;
if ( fabs(ypole) > 0 ) ypole = -ypole; // change from north to south pole
......
......@@ -351,7 +351,7 @@ void iegDefGrid(int *gdb, int gridID)
{
double xpole = 0, ypole = 0, angle = 0;
if ( projtype == CDI_PROJ_RLL )
gridInqProjParamRLL(gridID, &xpole, &ypole, &angle);
gridInqParamRLL(gridID, &xpole, &ypole, &angle);
else
{
xpole = gridInqXpole(gridID);
......
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