Skip to content

Skip non-existent data in exporter#2132

Merged
fsimonis merged 3 commits intoprecice:developfrom
fsimonis:remove-missing-data-from-exporter
Feb 22, 2025
Merged

Skip non-existent data in exporter#2132
fsimonis merged 3 commits intoprecice:developfrom
fsimonis:remove-missing-data-from-exporter

Conversation

@fsimonis
Copy link
Copy Markdown
Member

@fsimonis fsimonis commented Nov 13, 2024

Main changes of this PR

This PR skips non-existent data when exporting.

Motivation and additional information

Non-exisiting data (received mesh, non-exchanged data) was exported as 0, even though it doesn't really exist.
It is now omitted from the export.

@MakisH this breaks reference results of the system tests.

Author's checklist

  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • I added a changelog file with make changelog if there are user-observable changes since the last release.
  • I added a test to cover the proposed changes in our test suite.
  • For breaking changes: I documented the changes in the appropriate porting guide.
  • I stuck to C++17 features.
  • I stuck to CMake version 3.22.1.
  • I squashed / am about to squash all commits that should be seen as one.

@fsimonis fsimonis mentioned this pull request Nov 14, 2024
9 tasks
@fsimonis fsimonis requested a review from MakisH November 15, 2024 16:15
@fsimonis fsimonis added this to the Version 3.2.0 milestone Nov 15, 2024
@fsimonis fsimonis marked this pull request as draft November 15, 2024 16:15
@uekerman
Copy link
Copy Markdown
Member

Let's please add an integration test here.

@fsimonis
Copy link
Copy Markdown
Member Author

I just realized that the exporter tests don't define data at all. So it's all mesh-only.

@uekerman
Copy link
Copy Markdown
Member

But an integration should be easy. Clear what I mean? If not, I could also add one.

@fsimonis
Copy link
Copy Markdown
Member Author

@uekerman Yes clear, but this should be added to develop before this PR.

@fsimonis
Copy link
Copy Markdown
Member Author

@uekerman Added tests in #2147

@fsimonis fsimonis added the bug preCICE does not behave the way we want and we should look into it (and fix it if possible) label Feb 17, 2025
@MakisH
Copy link
Copy Markdown
Member

MakisH commented Feb 21, 2025

@fsimonis nothing to wait here anymore from the system tests side. We have figured out the rest of the regressions.

Unfortunately, I cannot trigger the system tests on this PR, as the branch is on a fork and we currently don't support that. Just merge when the usual criteria are fulfilled, and I will update the reference results later, if needed.

@fsimonis fsimonis marked this pull request as ready for review February 22, 2025 14:10
@fsimonis fsimonis merged commit 2c9459a into precice:develop Feb 22, 2025
19 checks passed
@fsimonis fsimonis deleted the remove-missing-data-from-exporter branch February 22, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug preCICE does not behave the way we want and we should look into it (and fix it if possible)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants