Release 0.1.20: SDI metadata extraction, %sdi and %metadata magics (ref #306883) - #73
Merged
Merged
Conversation
Redmine-Hook: v1
- sdi: SdiController.get_xml(uuid) downloads a record's ISO 19115-3 XML
from the SDI (GeoNetwork) REST API and checks it; push_to_dds() uploads
it to {dds_path}/metadata/{uuid}.xml as a document (not an ingest),
comparing with the DDS copy first; resolve_series() finds a series'
current release.
- dds_documents: DocumentsClient (put/get/exists/list) for plain files in
DDS folders. The endpoints are assumptions to confirm with the DDS team.
- %sdi magic over SdiSession, built like %catalog/%ingest from the kernel
environment; DDS_BASE_URL is read from the nearest .env.
- Test notebook debugger/sdi_session_example.ipynb, run_sdi_extract() in
debug_run.py, README section, complete .env.example, and the
development plan in docs/sdi-integration-plan.md (publication to SDI
deferred).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Redmine-Hook: v1
- %sdi (SdiSession) now only reads SDI: get_xml, resolve_series. - %metadata (MetadataSession) pushes metadata files to DDS: push_to_dds (defaults to the record %sdi get_xml fetched last) and dds_base_url. DDS_BASE_URL is read from the nearest .env when the session is built. - Tests, test notebook, README and plan updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Redmine-Hook: v1
SDI metadata extraction to DDS, %sdi and %metadata magics (ref #306883)
Release to staging: SDI metadata extraction, %sdi and %metadata magics (ref #306883)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes
stagingtomainfor the 0.1.20 release. Ref #306883.What's in it
eea_datalakehouse.sdi:SdiController.get_xml(uuid)downloads and checks a record's ISO 19115-3 XML.push_to_dds()uploads it to{dds_path}/metadata/{uuid}.xmlafter comparing it with the DDS copy.resolve_series()returns a series' current release.eea_datalakehouse.dds_documents:DocumentsClient, which uploads documents and never ingests.%sdireads SDI (get_xml,resolve_series) and%metadatapushes to DDS (push_to_dds,dds_base_url;DDS_BASE_URLcomes from the nearest.env).debugger/sdi_session_example.ipynb, README "SDI metadata" section, completedebugger/.env.example, and the plan indocs/sdi-integration-plan.md.Before the first real upload
dds_documents/client.pystill need confirming with the DDS team.Tests
444 passed, 1 skipped (the live SDI test).
🤖 Generated with Claude Code