Go to the documentation of this file.
26 inPsds->
fillMds(&gridPtr->gmds);
39 for (
int rectIdx = 0; rectIdx < inRect.
numRctngl; rectIdx++) {
41 width = inRect.
rcol[rectIdx] - inRect.
lcol[rectIdx] + 1;
44 col = inRect.
mcol[rectIdx];
58 if ((width % 2) != 0) {
59 gridPtr->ctr_grow[scanIdx][rectIdx] =
60 (gridPtr->grow[row][col] +
61 gridPtr->grow[row + 1][col]) / 2.e0;
63 gridPtr->ctr_gcol[scanIdx][rectIdx] =
64 (gridPtr->gcol[row][col] +
65 gridPtr->gcol[row + 1][col]) / 2.e0;
75 gridPtr->ctr_grow[scanIdx][rectIdx] =
76 (gridPtr->grow[row][col] +
77 gridPtr->grow[row][col + 1] +
78 gridPtr->grow[row + 1][col] +
79 gridPtr->grow[row + 1][col + 1]) / 4.e0;
81 gridPtr->ctr_gcol[scanIdx][rectIdx] =
82 (gridPtr->gcol[row][col] +
83 gridPtr->gcol[row][col + 1] +
84 gridPtr->gcol[row + 1][col] +
85 gridPtr->gcol[row + 1][col + 1]) / 4.e0;
const double ERR_FLOAT64_FILL
void calculateGridCenter(int scanIdx, const int inDet, const int inMidRow, const ViirsGeoRctnglType &inRect, VcstPolarStereographicDataSet *inPsds, T *gridPtr)
int mcol[VIIRSI_MAX_NRCTNGL]
const float FLOAT32_FILL_TEST
void fillMds(mds_type *const anMds) const
int lcol[VIIRSI_MAX_NRCTNGL]
int rcol[VIIRSI_MAX_NRCTNGL]