Project

General

Profile

Bug #4259

Misleading error messages in hrsc2isis

Added by Adam Paquette over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Applications
Target version:
Impact:

Hrsc2isis will return different error messages. See the notes on this ticket for more information.

Software Version:
Test Reviewer:

Description

There are two messages that should be thrown instead of the current rdr message.

  1. If the detector id is equal to MEX_HRSC_SRC, then we should throw an error because this program cannot ingest SRC data.
  2. If the processing_level_id is greater than or equal to 3, then we should throw an error saying that the program cannot ingest map projected rdrs. (Keep the part of the message to try pds2isis)

For clarity the hasPrefix variable name should probably be changed.

History

#1 Updated by Adam Paquette over 1 year ago

  • Status changed from Acknowledged to In Progress

#4 Updated by Adam Paquette over 1 year ago

  • Status changed from In Progress to Resolved

#6 Updated by Stuart Sides about 1 year ago

  • Target version set to 214

#7 Updated by Adam Paquette about 1 year ago

  • Impact updated (diff)

Hrsc2isis was returning two error messages. The first error message will still be

**USER ERROR** File [path/filename] does not appear to be a Mars Express HRSC image.

in the instance that the image that is trying to be converted is not an HRSC image.

The second error,

**USER ERROR** [path/filename] appears to be an rdr file. Use pds2isis

has been expanded into two error messages defined below.

The first new error message is,

**USER ERROR** File cannot be read by hrsc2isis, use pds2isis.
**USER ERROR** File [path/filename] is map projected and cannot be read.

in the case that the image trying to be converted is map projected, the error is thrown since hrsc2isis cannot ingest them.

The second new message is,

**USER ERROR** File cannot be read by hrsc2isis, use pds2isis.
**USER ERROR** File [path/filename] is SRC data and cannot be read.

in the case that the image detector id is MEX_HRSC_SRC, the error is thrown since HRSC images cannot ingest SRC data.

#8 Updated by Stuart Sides 10 months ago

  • Target version changed from 214 to 3.5.1 (Sprint 1)

#9 Updated by Adam Paquette 9 months ago

  • Status changed from Resolved to Closed

#10 Updated by Stuart Sides 4 months ago

  • Target version changed from 3.5.1 (Sprint 1) to 3.5.1 (2017-08-08 Aug)

Also available in: Atom PDF