Skip to content

Conversation

ray-chew
Copy link
Owner

__main__.py is now cleaned, and all the initialisation and analysis steps have been moved to their respective modules or subpackages.

…tructure

there are still a lot of broken imports and references, so the code does not run yet.
…_main__.py

still untested as I have to move the analysis steps to the DA subpackage before this will run
also created a placeholder for the parallel integrator tests planned
the restructuring continues
DA and blending are not covered in the tests, will look into them after refactoring the flow solver
since I removed all initial conditions except this
@ray-chew ray-chew added the refactor and optimisation The catch-it-all label label Dec 18, 2024
@ray-chew ray-chew added this to the Refactor milestone Dec 18, 2024
@ray-chew ray-chew requested a review from tbnc December 18, 2024 17:24
@tbnc
Copy link
Collaborator

tbnc commented Jan 6, 2025

I will review.

Are the docs checks supposed to succeed?

@ray-chew
Copy link
Owner Author

ray-chew commented Jan 6, 2025

I will review.

Are the docs checks supposed to succeed?

Thank you. The checks broke due to the renaming of the subpackages. This issue has been resolved with the latest commits. But the pytests are broken now, as I am in the midst of restructuring the diagnostics module to accept more general definitions of test cases.

ray-chew added 15 commits June 5, 2025 01:12
now that we have the unstable lamb wave, the actual lamb wave test is now a long 800-time-step run. The internal long wave and travelling vortex use the integrated hydrostatic module, and the rest of the test cases use the analytical hydrostatic state (exponentially decaying pressure). These four flow solver tests took me a minute to run on my laptop, and they produce pretty large output files, especially for the long lamb wave run. Possibly have to improve this in the future.
…round

the former was the default and works for most cases, while the latter is necessary for well-balanced numerical tests.
I am excluding the data assimilation module for now.
I can think of a better approach in the future
I hope the GitHub Actions work now
ray-chew added 6 commits June 6, 2025 23:40
…e lamb test

unstable lamb test is failing on CI as the numerical instability is architecture dependent. So maybe if we relax the checks, we can ensure that the instability develops similarly but also allow for numerical differences.
@ray-chew ray-chew closed this Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor and optimisation The catch-it-all label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants