Open rmclaren opened 8 hours ago
In SensorScanAngleVariable:
if (sensor == "iasi") { float tmp; tmp = -stepAdj; // Calculate sensor scan angle for (size_t idx = 0; idx < fovnObj->size(); idx++) { if (scanpos[idx] % 2 == 1) { tmp = stepAdj; } scanang[idx] = start + static_cast<float>((fovn[idx]-1)/4) * step + tmp; } }
tmp starts being negative of stepAdj but is mutated to be equal to stepAdj with the first odd numbered scanpos. It stays that way for the rest of the for loop execution.
tmp
stepAdj
scanpos
@emilyhcliu Is the intention for the stepAdj to be negative for even numbered scan positions?
@JasonWelsh-NOAA Could you take aa look :)
In SensorScanAngleVariable:
tmp
starts being negative ofstepAdj
but is mutated to be equal tostepAdj
with the first odd numberedscanpos
. It stays that way for the rest of the for loop execution.