-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SensorScanAngleVariable Bug #26
Comments
@emilyhcliu Is the intention for the stepAdj to be negative for even numbered scan positions? |
@JasonWelsh-NOAA Could you take aa look :) |
@emilyhcliu Question. In the YAML mapping configuration: sensorViewAngle:
sensorScanAngle:
fieldOfViewNumber: "*/FOVN"
scanStart: -48.330
scanStep: 3.334
scanStepAdjust: 1.25
sensor: iasi Should the scanStart, scanStep, and scanStepAdjust angles really be configurable? It seems like these are just properties of IASI, (knowing the sensor is IASI should tell us this info)... |
Computation of SensorScanPosition (SensorScanPositionVariable.cpp) looks suspect to me as well: if (sensor == "iasi")
{
for (size_t idx = 0; idx < fovnObj->size(); idx++)
{
scanpos[idx] = static_cast<float>((fovnObj->getAsInt(idx) - 1) / 2 + 1);
}
} Assumes 1 based fovn? |
That doesn't look right. I'm attaching a document and it gives about 1-30
fovn. Here it is for more information: Product User Guide – IASI PCS
release 1
<https://user.eumetsat.int/s3/eup-strapi-media/Product_User_Guide_IASI_PCS_release_1_382d1df483.pdf>
Just some more information to help out.
Thanks!
Best,
Jason
…On Wed, Nov 6, 2024 at 10:03 AM rmclaren ***@***.***> wrote:
Computation of *SensorScanPosition* *SensorScanPositionVariable* looks
suspect to me as well:
if (sensor == "iasi")
{
for (size_t idx = 0; idx < fovnObj->size(); idx++)
{
scanpos[idx] = static_cast<float>((fovnObj->getAsInt(idx) - 1) / 2 + 1);
}
}
Assumes 1 bases fovn? don't think this is true...
—
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI2ZXWILV4UQPLLNH4L7DRDZ7IVTJAVCNFSM6AAAAABPH6VN26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJZHE4TGNZUGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@rmclaren @JasonWelsh-NOAA
Note: lza is in radian unit (deg2rad is to convert the angle (lza) from degree to radian) |
@rmclaren I saw a message from you earlier this morning about the scan angle calculation The start, step, and nstep of scan angle are unique for each sensor type (iasi, atms, mhs, ...etc)
|
@JasonWelsh-NOAA Thanks Jason, thats a really good reference. |
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.The text was updated successfully, but these errors were encountered: