Skip to content

Update profile processing routines - #215

Merged
mthielma merged 55 commits into
mainfrom
profile_processing_mt
Oct 6, 2026
Merged

mthielma merged 55 commits into
mainfrom
profile_processing_mt

Conversation

@mthielma

@mthielma mthielma commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Whats the purpose of this PR?

  • Bug fix
  • New feature
  • Documentation update
  • Other, please explain

Describe it in more detail below:
Profile processing required to merge the volume data sets before creating profiles, which was an issue when there were a lot of volume data sets. In this case, the processing became very slow. I added functions to circumvent this issue. Now the volume data sets can be passed as named tuples (in the same way as surface and point data is processed).
In addition, profile processing functions did not take into account topography data. I fixed that isse by adding the respective field in the ProfileData structure and by adding the topography data fields as input arguments to the respective functions.
I have started to add some tests. However, to test the topogrpahy, I'd need to load some topography data and I am not sure where this resides on the seafile folder.

Checklist

  • The PR title is descriptive and starts with the appropriate tag: [BUGFIX], [ADDITION], [DOC], etc.
  • New tests (either assessing the correct behaviour of new internal functions or the correctness of a tutorial) were added, or old tests were updated
  • Affected tutorials have also been updated
  • The new feature was added in a way that does not break public API
  • New documentation related to the new feature was added
  • The new code follows the contributor guidelines, in particular the Runic Style

@mthielma
mthielma requested a review from boriskaus October 5, 2026 09:31
@aelligp
aelligp force-pushed the profile_processing_mt branch from 30d6b88 to d1b634a Compare October 5, 2026 12:42
Comment thread docs/src/man/tutorial_AdriaArrayGeometryPicker.md Outdated
Comment thread src/ProfileProcessing.jl Outdated
Comment on lines +460 to +461
# we do not have this implemented
#error("horizontal profiles not yet implemented")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why comment this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This caused issues when creating horizontal profiles. I now simply add the entire topography to TopoData instead of intersecting the topography with the horizontal slice and issue a warning.

@mthielma

mthielma commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

The failing tests relate to packages outside of GMG, therefore I go ahead and merge.

@mthielma
mthielma merged commit 6431ddb into main Oct 6, 2026
17 of 21 checks passed
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