Skip to content

compat: psc_decode() handle new by-component output#42

Open
germasch wants to merge 1 commit into
psc-code:mainfrom
germasch:pr/compat
Open

compat: psc_decode() handle new by-component output#42
germasch wants to merge 1 commit into
psc-code:mainfrom
germasch:pr/compat

Conversation

@germasch

@germasch germasch commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

psc now writes its output in a by-component format, which presumably means xarray-adios2 will already handle things like the time dimension, so in theory psc_decode() won't be needed anymore, but for compatibility, this makes it so that psc_decode() can handle the new format, so that old code that calls psc_decode() doesn't break.

psc now writes its output in a by-component format, which presumably
means xarray-adios2 will already handle things like the time dimension,
so in theory psc_decode() won't be needed anymore, but for compatibility,
this makes it so that psc_decode() can handle the new format, so that
old code that calls psc_decode() doesn't break.
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.57143% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pscpy/psc.py 78.57% 3 Missing ⚠️
Files with missing lines Coverage Δ
src/pscpy/psc.py 91.66% <78.57%> (-4.63%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JamesMcClung

Copy link
Copy Markdown
Collaborator

Can this take advantage of the new psc_output_version?

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.

2 participants