DOI-USGS / ISIS3

Integrated Software for Imagers and Spectrometers v3. ISIS3 is a digital image processing software package to manipulate imagery collected by current and past NASA and International planetary missions.
https://isis.astrogeology.usgs.gov
Other
194 stars 164 forks source link

Error informaiton with LRO-NAC Radiometric calibration (command lronaccal) #5231

Closed casinsar closed 1 year ago

casinsar commented 1 year ago

I use lronaccal convert the pixel values from DN in the EDR into irradiance units. lronaccal from=M1147481669LE.raw.cub to=M1147481669LE.cal.cub The error I received was: error no existing files found with a numerical version matching [NACL_LinearizationCoefficients.????.txt in [Isisdata/lro/calibration The ISIS version is 7.0.0. How to fix it.

     Thanks
      David
AustinSanders commented 1 year ago

Hi @casinsar , can you verify that the linearization coefficients file listed in the error message is present in your data area?

casinsar commented 1 year ago

Dear Austin, As you said in previous email, how can I verify my data containing the linearization coefficients.

    Best wishes

          David

Austin Sanders @.***> 于2023年6月27日周二 00:23写道:

Hi @casinsar https://github.com/casinsar , can you verify that the linearization coefficients file listed in the error message is present in your data area?

— Reply to this email directly, view it on GitHub https://github.com/DOI-USGS/ISIS3/issues/5231#issuecomment-1607818799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6MYMRU46MRTX53TOYDPXTXNGZP5ANCNFSM6AAAAAAZTPNAGY . You are receiving this because you were mentioned.Message ID: @.***>

-- Feng Liu, PhD Institute of Geomechanics, Chinese Academy of Geological Sciences No. 11 South Minzudaxue Road, Haidian District, Beijing, 100081, China Tel: +86 10 8881 5103

AustinSanders commented 1 year ago

@casinsar Many programs in ISIS require additional data (described here). In order to use lronaccal, you'll need at least the lro data from the isis data area, though you may need the base data as well. If you haven't already downloaded the necessary data, then that will be the next step. Installation instructions are found on the provided link.

If you have downloaded the necessary mission-specific data, then you'll need to inspect the data that you downloaded and look for NACL_LinearizationCoefficients.????.txt within ../Isisdata/lro/calibration, where /Isisdata/ is whichever directory you set as the destination for the ISIS data download.

Note that the question marks in the filename are simply wildcards, so you may find something like NACL_LinearizationCoefficients.0006.txt, which will provide the necessary coefficients for the calibration that you are attempting to perform.

casinsar commented 1 year ago

Dear Austin, Thank you for your patience. According to you suggestion, I download full package of files named lro. The size of tha lro package is 289 GB. I found there are four subfolders and other files in the file folder /Isisdata/calibration. There are several files named NACL_LinearizationCoefficients.0006. However file formate is *.cub. I can not find the file similar to NACL_LinearizationCoefficients.0006.txt.

    Best wishes

       Feng Liu

Austin Sanders @.***> 于2023年6月28日周三 04:43写道:

@casinsar https://github.com/casinsar Many programs in ISIS require additional data (described here https://github.com/DOI-USGS/ISIS3/blob/dev/README.md#The-ISIS-Data-Area). In order to use lronaccal, you'll need at least the lro data from the isis data area, though you may need the base data as well. If you haven't already downloaded the necessary data, then that will be the next step. Installation instructions are found on the provided link.

If you have downloaded the necessary mission-specific data, then you'll need to inspect the data that you downloaded and look for NACL_LinearizationCoefficients.????.txt within ../Isisdata/lro/calibration, where /Isisdata/ is whichever directory you set as the destination for the ISIS data download.

Note that the question marks in the filename are simply wildcards, so you may find something like NACL_LinearizationCoefficients.0006.txt, which will provide the necessary coefficients for the calibration that you are attempting to perform.

— Reply to this email directly, view it on GitHub https://github.com/DOI-USGS/ISIS3/issues/5231#issuecomment-1610184298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6MYMQOQJYG3Y2MLTJVQ43XNNAWXANCNFSM6AAAAAAZTPNAGY . You are receiving this because you were mentioned.Message ID: @.***>

-- Feng Liu, PhD Institute of Geomechanics, Chinese Academy of Geological Sciences No. 11 South Minzudaxue Road, Haidian District, Beijing, 100081, China Tel: +86 10 8881 5103

AustinSanders commented 1 year ago

That is very strange. Can you inspect the file to verify that it is formatted as a .cub? I'm not sure why it would be downloading as a .cub file. I see NACL_LinearizationOffsets.0006.cub, but the linearization coefficients files should all be .txt files.

Can you verify the size of the coefficients files? They should be ~200kb. Also, it may be worth trying to rerun lronaccal now that you've set up your data area.

casinsar commented 1 year ago

Dear Austin, Thank you very much for your reply. I fix the problem. I download the full packages about LROC NAC again. I found the missed files used to calibration. Maybe the low speed of internet caused the lost of key files.

Best wishes

Austin Sanders @.***> 于2023年6月29日周四 01:52写道:

That is very strange. Can you inspect the file to verify that it is formatted as a .cub? I'm not sure why it would be downloading as a .cub file. I see NACL_LinearizationOffsets.0006.cub, but the linearization coefficients files should all be .txt files.

Can you verify the size of the coefficients files? They should be ~200kb. Also, it may be worth trying to rerun lronaccal now that you've set up your data area.

— Reply to this email directly, view it on GitHub https://github.com/DOI-USGS/ISIS3/issues/5231#issuecomment-1611845179, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6MYMRCKNGEHKWLA272QRDXNRVPRANCNFSM6AAAAAAZTPNAGY . You are receiving this because you were mentioned.Message ID: @.***>

-- Feng Liu, PhD Institute of Geomechanics, Chinese Academy of Geological Sciences No. 11 South Minzudaxue Road, Haidian District, Beijing, 100081, China Tel: +86 10 8881 5103

AustinSanders commented 1 year ago

Great! Happy calibrating 😄

zyjyjyo commented 10 months ago

Hello, I have encountered the exact same issue as you. I received an error message when running the "lronaccal" command (the error message is identical to yours). Like you, I only have a .cub file and not a .txt file. I tried running the "downloadIsisData lro $ISISDATA" command again, but it still didn't resolve the issue. Could you please provide specific details on how you managed to solve it?

zyjyjyo commented 10 months ago

@casinsar