Skip to content
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

caminfo - no warning/failure for images with missing original label #4817

Closed
lwellerastro opened this issue Feb 24, 2022 · 0 comments · Fixed by #4999
Closed

caminfo - no warning/failure for images with missing original label #4817

lwellerastro opened this issue Feb 24, 2022 · 0 comments · Fixed by #4999
Assignees
Labels
Products Issues which are impacting the products group

Comments

@lwellerastro
Copy link
Contributor

ISIS version(s) affected: 5.0.2

Description
caminfo does not throw a warning or error message when originallabel=true and the image has no original label information.

How to reproduce
See data under /work/users/lweller/Isis3Tests/Caminfo/OrigLabel/

caminfo from=HI395_0000_ND2.lev0.cub originallabel=true geometry=true to=info.pvl

The output file only contains the geometry information for the image but no original label information.

This image produces an error when catoriglab is run on it

catoriglab from=HI395_0000_ND2.lev0.cub to=lab.pvl
  Group = Error
    Program = catoriglab
    Class   = "USER ERROR"
    Code    = 2
    Message = "Could not find OriginalLabel or OriginalXmlLabel in input file
               [HI395_0000_ND2.lev0.cub]"
    File    = main.cpp
    Line    = 81

I think a warning at the very least is appropriate.

Additional context
This problem was encountered while working with Phobos data and was discovered while trouble-shooting post #4816

@lwellerastro lwellerastro added the Products Issues which are impacting the products group label Feb 24, 2022
@amystamile-usgs amystamile-usgs self-assigned this Jul 14, 2022
@amystamile-usgs amystamile-usgs moved this to Needs Review in FY22 Q4 Support Jul 15, 2022
Repository owner moved this from Todo to Done in ASC Software Support Jul 20, 2022
Repository owner moved this from Needs Review to Done in FY22 Q4 Support Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Products Issues which are impacting the products group
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants