Skip to content

Conversation

@JamesMcClung
Copy link
Collaborator

The simplest solution to #18. Variables such as jeh are immediately dropped after being decoded.

@codecov
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/pscpy/psc.py 98.07% <100.00%> (+0.03%) ⬆️

I think this was actually a harmless problem before, too.
It seems `==` of xarray datasets returns a bool, not an array, so the `np.all`s were redundant.
Also, dataset `==` must have included dimension names. I broke the equality of dimension names,
but not the equality of the data itself, as these tests now show.
@germasch germasch merged commit 1b14e73 into psc-code:main Mar 3, 2025
4 checks passed
@JamesMcClung JamesMcClung deleted the drop-jeh branch March 11, 2025 19:20
@JamesMcClung JamesMcClung linked an issue Mar 11, 2025 that may be closed by this pull request
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.

decode_psc duplicates data

2 participants