Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for grib idx & reinflate #528

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

emfdavid
Copy link
Contributor

@emfdavid emfdavid commented Nov 19, 2024

Add chunky test files and copy over unit test approach.

Builds on #523

TODO:

  • Get tests working by editing fixtures/code
  • Modify to use pytest instead of unittest
  • Squash commits to avoid extra git blobs

@martindurant
Copy link
Member

Well that's a lot .... :)

@emfdavid
Copy link
Contributor Author

Well that's a lot .... :)

All part of my plan to become top contributor...

"u\/instant\/isobaricInPa\/u\/0.5.0.0",
"u\/instant\/isobaricInPa\/u\/0.6.0.0",
"u\/instant\/isobaricInPa\/u\/0.7.0.0"
"u\/instant\/isobaricInPa\/u\/.zattrs"
]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is unexpected.
Will require further investigation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The old test fixture parquet files had the step column as an int rather than a timedelta. This caused havoc with the indexing.

@emfdavid emfdavid changed the title Add tests for discussion Add tests for grib idx & reinflate Nov 27, 2024
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