-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transfer manifest mismatch between pds-deep-archive
and pds-deep-registry-archive
#158
Comments
@jordanpadams hate to be a pill about this, but could you include the command-line invocations for both |
@nutjob4life updated |
@jordanpadams fantastic, thanks! Here I thought it was dependent on the |
@gxtchen , you can test by downloading the files in this directory https://atmos.nmsu.edu/PDS/data/PDS4/LADEE/mission_bundle/ |
@jordanpadams @tloubrieu-jpl @nutjob4life I tried with v1.1.5 and v1.2.0. I am still seeing the different numbers. |
In the output pasted into the comment above, I'm seeing Here are my reproduction steps (let me know if I did something wrong π¬): $ cd /tmp
$ wget \
--quiet \
--execute robots=off \
--cut-dirs=2 \
--reject='index.html*' \
--no-host-directories \
--mirror \
--no-parent \
--relative \
--timestamping \
--no-check-certificate \
--recursive \
https://atmos.nmsu.edu/PDS/data/PDS4/LADEE/mission_bundle/
$ python3.9 -m venv 1.1.5
$ cd 1.1.5
$ bin/pip install --quiet --upgrade pip pds.deeparchive==1.1.5
$ bin/pds-deep-archive --version
pds-deep-archive 1.1.5
$ bin/pds-deep-archive --quiet --bundle-base-url https://atmos.nmsu.edu/PDS/data/PDS4/LADEE/ --site PDS_ATM ../PDS4/LADEE/mission_bundle/LADEE_Bundle_1101.xml
$ awk '{print length}' ladee_mission_bundle_v1.0_*_transfer_manifest_v1.0.tab | uniq -c
13 511
$ echo "511 columns is correct"
511 columns is correct
$ bin/pds-deep-registry-archive --version
pds-deep-reigstry-archive 1.1.5
$ bin/pds-deep-registry-archive --quiet --site PDS_GEO urn:nasa:pds:magellan_gxdr::1.0
$ awk '{print length}' magellan_gxdr_v1.0_*_transfer_manifest_v1.0.tab | uniq -c
109 511
$ echo "511 columns is correct"
511 columns is correct
$ cd ..
$ git clone https://github.com/NASA-PDS/deep-archive.git 1.2.0
$ python3.9 -m venv 1.2.0
$ cd 1.2.0
$ bin/pip install --quiet --upgrade pip
$ bin/pip install --quiet --editable .
$ bin/pds-deep-archive --version
pds-deep-archive 1.2.0
$ bin/pds-deep-archive --quiet --bundle-base-url https://atmos.nmsu.edu/PDS/data/PDS4/LADEE/ --site PDS_ATM ../PDS4/LADEE/mission_bundle/LADEE_Bundle_1101.xml
$ awk '{print length}' ladee_mission_bundle_v1.0_*_transfer_manifest_v1.0.tab | uniq -c
13 511
$ echo "511 columns is correct"
511 columns is correct
$ bin/pds-deep-registry-archive --version
pds-deep-reigstry-archive 1.2.0
$ bin/pds-deep-registry-archive --quiet --site PDS_GEO urn:nasa:pds:magellan_gxdr::1.0
$ awk '{print length}' magellan_gxdr_v1.0_*_transfer_manifest_v1.0.tab | uniq -c
109 511
$ echo "511 columns is correct" |
@nutjob4life you are right, I miss read Jordan's original post, he got 511 and 512. All good, thanks. |
@gxtchen whew! Thanks for confirming. Was worried I was losing my mind for a bit there π€ͺ |
Checked for duplicates
Yes - I've already checked
π Describe the bug
When I generate AIPs with both
pds-deep-archive
andpds-deep-registry-archive
, they are not same.π΅οΈ Expected behavior
I expected the files to be the same.
π To Reproduce
π₯ Environment Info
MacOSx
pds-deep-archive.git@ead418a5b2f7ec943cb821dfd2b948fa9db538e7
π©Ί Test Data / Additional context
urn:nasa:pds:magellan_gxdr::1.0
test/data/ladee_test/mission_bundle/
π¦ Related bugs
Tightly coupled with #155
βοΈ Engineering Details
When I update the
magellan
label from #155, to changerecord_length
to 513 andFile Specification Name
to 256, it validates successfully, which would indicates theFile Specification Name
field may be 1 byte too long in the table.I also tested removing an extra space, and validated successfully:
Updated label to have
<file_size unit="byte">55808</file_size>
The text was updated successfully, but these errors were encountered: