Coder Social home page Coder Social logo

Comments (6)

nutjob4life avatar nutjob4life commented on June 17, 2024

Here's where my lack of familiarity with PDS concepts is showing.

Could I see a examples of bundle.xml files that have collection products with LIDs with multiple versions?

from deep-archive.

jordanpadams avatar jordanpadams commented on June 17, 2024

@nutjob4life I updated the test data on pds-dev-el7 to now include 2 data collections.

from deep-archive.

nutjob4life avatar nutjob4life commented on June 17, 2024

Thanks @jordanpadams! I can log in successfully to pds-dev-el7; point me to a specific file path that exhibits lid-only reference to multiple versions of collections? (Yes, I need my hand held.)

$ find /data -name harvest-2.0.0 -prune -o \( -iname '*bundle*.xml' -print \) 2>/dev/null
/data/home/pds4/insight_cameras/bundle.xml
/data/home/pds4/validate_regression_data/issue_42/V1900/dph_example_archive/bundle_izenberg_pdart14_meap.xml
/data/home/pds4/validate_regression_data/dph_example_archive/bundle_izenberg_pdart14_meap.xml
/data/home/pds4/testdata/dph_example_archive_VG2PLS/bundle_checksums.xml
/data/home/pds4/testdata/dph_example_archive_VG2PLS/bundle.xml
/data/home/pds4/testdata/urn-nasa-pds-kaguya_grs_spectra/bundle_kaguya_derived.xml

I should really read https://pds.nasa.gov/datastandards/documents/current-version.shtml some day, right?

from deep-archive.

jordanpadams avatar jordanpadams commented on June 17, 2024

/data/home/pds4/insight_cameras/bundle.xml

I modified the data you were using before to now use LID references and the data collection has multiple versions.

  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:insight_cameras:data</lid_reference> <<<<<<<------
    <member_status>Primary</member_status>
    <reference_type>bundle_has_data_collection</reference_type>
  </Bundle_Member_Entry>

Note: The software should throw a warning or something because there are several collections referenced in the bundle.xml that do not exist

from deep-archive.

jordanpadams avatar jordanpadams commented on June 17, 2024

@nutjob4life ☝️

from deep-archive.

nutjob4life avatar nutjob4life commented on June 17, 2024

Thanks @jordanpadams. Adding a note to @me:

A LID only reference looks like:

<Bundle_Member_Entry>
  <lid_reference>urn:nasa:pds:whatever</lid_reference>
  …
</Bundle_Member_Entry>

while a full LIDVID reference goes:

<Bundle_Member_Entry>
  <lidvid_reference>urn:nasa:pds:whatever::1.0</lidvid_reference>
  …
</Bundle_Member_Entry>

from deep-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.