Skip to content

Added method "show" to medunda main script#74

Merged
nakkari merged 1 commit into
mainfrom
adding_show
Jun 18, 2026
Merged

Added method "show" to medunda main script#74
nakkari merged 1 commit into
mainfrom
adding_show

Conversation

@spiani

@spiani spiani commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@spiani spiani requested a review from nakkari June 18, 2026 13:03
@spiani spiani self-assigned this Jun 18, 2026
Copilot AI review requested due to automatic review settings June 18, 2026 13:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new medunda show CLI tool to display available variables and providers, supported by provider-level descriptions and a new tabulate dependency to format the output.

Changes:

  • Added an abstract Provider.get_description() API and implemented it for all existing providers.
  • Introduced medunda show variables|providers subcommands (with optional provider/frequency filtering for variables).
  • Added tabulate to project dependencies and updated the lockfile.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
src/medunda/__main__.py Adds the show CLI command and table rendering via tabulate.
src/medunda/providers/provider.py Adds new abstract get_description() provider API.
src/medunda/providers/cmems.py Implements get_description() for CMEMS providers.
src/medunda/providers/local_reanalysis.py Implements get_description() for LocalReanalysis provider.
src/medunda/providers/tar_archive.py Implements get_description() for TarArchive provider.
pyproject.toml Adds tabulate runtime dependency.
poetry.lock Regenerated lockfile, including tabulate and many other dependency updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/medunda/__main__.py Outdated
Comment thread src/medunda/__main__.py Outdated
Comment thread src/medunda/__main__.py Outdated
Comment thread src/medunda/__main__.py Outdated
Comment thread src/medunda/__main__.py
Comment thread src/medunda/__main__.py Outdated
Comment thread src/medunda/__main__.py Outdated
Comment thread src/medunda/providers/cmems.py Outdated
@nakkari nakkari merged commit 7cc5c4d into main Jun 18, 2026
4 checks passed
@nakkari nakkari deleted the adding_show branch June 18, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants