Skip to content

Modify lidvid_references in RDR4 files #19

@dglmoore

Description

@dglmoore

OPGS has requested the following modifications to the xml files that we deliver.

The RDR4 files are modified as follows. The RDA files have the trailing digit removed from the base filename without extension in the <lidvid_reference> field. The RE1 files have the trailing digit removed from the base filename without extension in the <lidvid_reference> field and the extension ".dat" added to the base filename.

The RDR5 files are unmodified. (I'm not sure why this is, but this is what we were given.)

Examples from the PDS-geosciences:

RDA File:

diff --git a/cmb_737119969rda38251010774ch00111p1.xml b/cmb_737119969rda38251010774ch00111p1.xml.revised
index 3059ba2..454eb58 100644
--- a/cmb_737119969rda38251010774ch00111p1.xml
+++ b/cmb_737119969rda38251010774ch00111p1.xml.revised
@@ -1 +1 @@
-<lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cmb_737119969eda38251010774ch00111m1::1.0</lidvid_reference>
+<lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cmb_737119969eda38251010774ch00111m::1.0</lidvid_reference>

RE1 file:

diff --git a/cmb_737120340re138251010774ch00111p1.xml b/cmb_737120340re138251010774ch00111p1.xml.revised
index 8626f13..4281728 100644
--- a/cmb_737120340re138251010774ch00111p1.xml
+++ b/cmb_737120340re138251010774ch00111p1.xml.revised
@@ -1 +1 @@
-<lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cmb_737120340ee138251010774ch00111m1::1.0</lidvid_reference>
+<lidvid_reference>urn:nasa:pds:msl_chemin_raw:data:cmb_737120340ee138251010774ch00111m.dat::1.0</lidvid_reference>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions