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

Resolve #124 #127

Closed nutjob4life closed 2 years ago

nutjob4life commented 2 years ago

🗒️ Summary

Merge this if you dare to resolve #124 which works around a problem with P-lines in tab files being duplicated, such as in the lab.hydrocarbon_spectra data:

$ suspicious=lab.hydrocarbon_spectra/data/collection_lab.hydrocarbon_spectra_data_inventory.csv
$ sort $suspicious | uniq -d
P,urn:nasa:pds:lab.hydrocarbon_spectra:data:ethane_1p20pa_he_13p44kpa_291p95k::1.0
$ echo "uh oh that lidvid appears multiple times \U+1F626"
uh oh that lidvid appears multiple times 😦

Now, that might be a problem with the data provider? Are duplicate P-lines even allowed in tab files? 🤔

Anyway, that won't bother the PDS Deep Archive anymore 😅

⚙️ Test Data and/or Report

Not needed thanks to the pre-commit hook 😛

♻️ Related Issues

nutjob4life commented 2 years ago

Thanks @collinss-jpl!