NASA-PDS / deep-archive

PDS Open Archival Information System (OAIS) utilities, including Submission Information Package (SIP) and Archive Information Package (AIP) generators
https://nasa-pds.github.io/deep-archive/
Other
7 stars 4 forks source link

Update software to handle Document_File.directory_path_name #65

Closed jordanpadams closed 4 years ago

jordanpadams commented 4 years ago

Is your feature request related to a problem? Please describe. Another curveball example of how to specify file paths for documents.

            <Document_File>
                <file_name>image007.png</file_name>
                <directory_path_name>InSight_EastWestMGA_files</directory_path_name>
                <document_standard_id>PNG</document_standard_id>
            </Document_File>

The files can then be within that subdirectory to the current XML file location. For instance, this file is at:

urn-nasa-pds-insight_documents/document_rise/InSight_EastWestMGA.xml

so the PNG above would be at:

urn-nasa-pds-insight_documents/document_rise/InSight_EastWestMGA_files/image007.png

Example bundle at https://pds-geosciences.wustl.edu/insight/urn-nasa-pds-insight_documents/

Applicable Requirements: 🦄 #50