Skip to content
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

MDTranslator ISO19115-2 to DCATUS: keyword #4876

Closed
1 task
rshewitt opened this issue Sep 3, 2024 · 0 comments
Closed
1 task

MDTranslator ISO19115-2 to DCATUS: keyword #4876

rshewitt opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
H2.0/Harvest-Transform Transform Logic for Harvesting 2.0

Comments

@rshewitt
Copy link
Contributor

rshewitt commented Sep 3, 2024

User Story

In order to transform ISO19115-2 documents into DCATUS using mdtranslator, datagov wants to add processing for keyword

Acceptance Criteria

  • GIVEN the DCATUS keyword field
    AND how the DCATUS writer expects to find the data within the internal metadata object
    WHEN the associated ISO19115-2 reader ruby modules are created
    THEN keyword should be transformed from ISO19115-2 to DCATUS

Background

  • related to #4862
  • We process 291017 ISO19115-2 datasets. We want all our datasets to be in DCATUS.
  • This reader is not intended to be feature complete according to the ISO19115-2 standard. All we're looking to read is as much as the DCATUS writer expects.
  • ISO19115-3 development workflow

Security Considerations (required)

None

Sketch

  • field mapping relationship ISO19115-2 -> MDJSON -> DCATUS
    • .//gmd:MD_DataIdentification//gmd:descriptiveKeywords
    • intObj[:metadata][:resourceInfo][:keywords]
    • keyword
  • add processing in resourceInfo to read keywords from gmd:MD_DataIdentification
  • create a transformation test demonstrating how the value went from the ISO19115-2 document into the DCATUS json
  • create a response object message test verifying when required elements are missing
@rshewitt rshewitt self-assigned this Sep 3, 2024
@rshewitt rshewitt added the H2.0/Harvest-Transform Transform Logic for Harvesting 2.0 label Sep 3, 2024
@hkdctol hkdctol closed this as completed Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
H2.0/Harvest-Transform Transform Logic for Harvesting 2.0
Projects
Status: 🗄 Closed
Development

No branches or pull requests

2 participants