Skip to content

Conversation

@Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Aug 9, 2025

What I did

This adds a test file for data from DWD. This is extracted from a file in https://opendata.dwd.de/weather/weather_reports/synoptic/germany/. The files there contain multiple BUFR messages wrapped in GTS messages (plus an 8 byte length + 2 null bytes at the start). Since there are a lot of entries for the B and D tables from DWD (848/439), I only included the ones needed for this test.

As the test code would be similar to the JMA code, I factored out the part that actually reads the data into a module.

@codecov
Copy link

codecov bot commented Aug 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.04%. Comparing base (1d908cf) to head (37af525).
⚠️ Report is 18 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #10       +/-   ##
===========================================
- Coverage   84.61%   43.04%   -41.57%     
===========================================
  Files           5        6        +1     
  Lines         416     1136      +720     
===========================================
+ Hits          352      489      +137     
- Misses         64      647      +583     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Owner

@ciscorn ciscorn left a comment

Choose a reason for hiding this comment

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

perfect. thanks!

@ciscorn ciscorn merged commit 71b96c3 into ciscorn:main Aug 9, 2025
3 of 4 checks passed
@Nerixyz Nerixyz deleted the test/dwd-file branch August 9, 2025 13:33
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