Skip to content

Problem to open a PDS4 NASA image with label in XML format #2064

@thomasappere

Description

@thomasappere

I'm using a set of procedures to open a PDS4 NASA .IMG image with label in XML format: https://github.com/Small-Bodies-Node/pds4-idl/
However, the read_pds.pro procedure crashes, returning the error: Procedure not found: IDLFFXMLDOMDOCUMENT__DEFINE
The error comes from the procedure read_xml.pro, line oDoc = obj_new('IDLffXMLDOMDocument', filename = filename, schema_checking = validation, /exclude_ignorable_whitespace, validation_mode = validation, /expand_entity_references)

The syntax is: image=read_pds('/Users/username/Downloads/filename.xml')

An example of .IMG file and its accompanying .xml label can be found here: https://pds-imaging.jpl.nasa.gov/beta/archive-explorer?mission=mars_2020&bundle=mars2020_mastcamz_ops_calibrated&uri=atlas:pds4:mars_2020:perseverance:/mars2020_mastcamz_ops_calibrated/data/sol/00049/ids/rdr/zcam/ZLF_0049_0671290293_241RAD_N0031850ZCAM05009_110050J01.IMG-

I'm using GDL Version v1.1.2_testing3-4-g62f299d7-dirty on a Mac Mini 15.6.1
I tried the same procedure on an older MacBook Pro 2012 with IDL Version 7.0.1 and it works like a charm.

Thanks a lot for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions