Skip to content

Add t to coords#38

Merged
JamesMcClung merged 4 commits intopsc-code:mainfrom
JamesMcClung:pr/t-is-coord
Mar 23, 2026
Merged

Add t to coords#38
JamesMcClung merged 4 commits intopsc-code:mainfrom
JamesMcClung:pr/t-is-coord

Conversation

@JamesMcClung
Copy link
Collaborator

There is a time attribute, but this adds t as an actual coordinate (but not dimension). This facilitates using decode_psc as the preprocessor for xarray.open_mfdataset. There isn't currently enough sample data to actually test this use case, but JamesMcClung/psc-plot#7 takes advantage of it.

@JamesMcClung JamesMcClung added the enhancement New feature or request label Mar 19, 2026
@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/pscpy/psc.py 96.07% <100.00%> (+0.07%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@germasch germasch left a comment

Choose a reason for hiding this comment

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

👍

@JamesMcClung JamesMcClung merged commit 0d64e77 into psc-code:main Mar 23, 2026
4 checks passed
@JamesMcClung JamesMcClung deleted the pr/t-is-coord branch March 23, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants