-
Notifications
You must be signed in to change notification settings - Fork 171
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
"lronaccal" produce level 1 data of zero values #3474
Comments
Hi @YuqiiQian, Do you have the LRO data area local? You can run spiceinit without the LRO kernels. via the web service, but the calibration programs have to load local kernels to determine things like the distance to the sun. You can check by seeing what is in
|
This chunk of the code loads the Moon position kernels if your calibrate to IoF. You can check your local data area for the listed kernels. If you calibrate to radiance then it doesn't need the distance to the Sun which explains why that works. |
Thanks so much @jessemapel . I didn't realized that I need local kernels to calculate IOF. So I still need to download kernels to local machine even if I use ISIS3 SPICE web service if I want to calculate IOF? However, if I just want to calculate radiance then ISIS3 SPICE web service is enough. For example, the code below doesn't work well because I don't have local kernels but works well for radiance (Yes, I retrieved map projected radiance map through web service):
Thanks a lot! |
Yes this is correct. Modifying the calibration programs to not require local kernels is something that has been talked about several time. See #1790 for example. |
ISIS version(s) affected: 3.8.0 in WSL
Description
Hi,
I find a really weird issue when I use "lronaccal" command in calculating IOF (after "lronac2isis" and "spiceinit"). The produced cub seems not correct. Every pixel is zero. I have checked tens of LRO NAC EDR images, and this issue happens every time. However, it seems everything is fine if I choose "radiance" option.
For example if I run "lronaccal from=M107206533LE.lev0.cub to=M107206533LE.lev1_IOF.cub". The values of all pixels of the produced level 1 cub are zero. However if I run "lronaccal from=M107206533LE.lev0.cub to=M107206533LE.lev1_radiance.cub radiometrictype=radiance", it seems the produced cub is fine and correct.
Check this link of the screenshot and the data used lev0.data after lronac2isis and spicenint
How to reproduce
Run "lronaccal from=example.lev0.cub to=example.lev1_IOF.cub"
The text was updated successfully, but these errors were encountered: