Opened 8 years ago
Closed 8 years ago
#6279 closed defect (fixed)
PDS format not recognized when label begins with ODL_VERSION_ID = ODL3
Reported by: | jbp | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.0 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | PDS |
Cc: |
Description
The PDS labels in the headers of many IMG files for Curiosity rover start with a different line than usual:
ODL_VERSION_ID = ODL3 (vs the usual PDS_VERSION_ID = PDS3).
This causes the file not to be recognized by the PDS format parser.
The error I get:
dataset = gdal.Open( imgPath, gdal.GA_ReadOnly )
RuntimeError: `NLB_503948890RAD_D0520000NCAM00565M1.IMG' not recognised as a supported file format.
If I edit the header label to use the usual PDS3 statement, it is able to load the file okay.
Here's an example IMG file that has the ODL3 header:
Change History (1)
comment:1 by , 8 years ago
Milestone: | → 2.1.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
trunk r32436 "PDS: accept 'ODL_VERSION_ID = ODL3' in header (#6279)"