Skip to content

Conversation

@JoerivanEngelen
Copy link
Contributor

@JoerivanEngelen JoerivanEngelen commented May 28, 2025

Fixes #1373

Description

Adds test plan for the 1.0 release. Two remarks:

  • The LHM stress test information is still aspecific on where to download data etc, as we are still conducting some tests here. We haven't fully arrived at a final test case here (we are still tweaking the case). When we have finished this work, we can upload it on a MinIO bucket.
  • The pixi task to generate a grid to be imported for qgis still has to be made

UPDATE:

  • I generated the pixi task to do the export for QGIS
  • The user acceptance data (LHM stress test) job is now finished. I versioned the data using DVC, so that changes to the data can be committed to the git repo, without having to push the actual data to Github. Instead, it's pushed/pulled from a Deltares MinIO storage.

Checklist

  • Links to correct issue
  • Update changelog, if changes affect users
  • PR title starts with Issue #nr, e.g. Issue #737
  • Unit tests were added
  • If feature added: Added/extended example

@JoerivanEngelen JoerivanEngelen requested review from Manangka and deltamarnix and removed request for Manangka May 28, 2025 10:24
Copy link
Contributor

@deltamarnix deltamarnix left a comment

Choose a reason for hiding this comment

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

This is just the start of the document. The setup is good enough, but details are lacking for a tester to be able to check off boxes while testing.

Copy link
Contributor

@deltamarnix deltamarnix left a comment

Choose a reason for hiding this comment

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

There are still some missing links and instructions.

same as iMOD5 (accounting for differences in row sorting.), unless there was a
conscious decision to divert from this.
* The conversion from projectfile to MODFLOW6 and MetaSWAP input files should be
done in a reasonable amount of time and should not be much slower than iMOD5.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is too vague. Add some percentages like:

Suggested change
done in a reasonable amount of time and should not be much slower than iMOD5.
compared to the same conversion process of iMOD5. Differences in performance may not exceed 5%.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, are the iMOD5 tests run for comparison on the same machine? Add instructions on how to do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added both.

JoerivanEngelen added a commit that referenced this pull request Jun 20, 2025
Fixes #1570 

# Description

- Adds pixi tasks which write away data a model dump to MDAL. This is
part of the [test plan](#1545), to be imported in QGIS and test if this
still works.
- Fixes bug where error was thrown when attempting to regrid or mask a
variable with only a layer dimension.

# Checklist
<!---
Before requesting review, please go through this checklist:
-->

- [x] Links to correct issue
- [x] Update changelog, if changes affect users
- [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [x] Unit tests were added
- [ ] **If feature added**: Added/extended example
@sonarqubecloud
Copy link

@JoerivanEngelen
Copy link
Contributor Author

UPDATE:

The user acceptance data (LHM stress test) job is now finished. I versioned the data using DVC, so that changes to the data can be committed to the git repo, without having to push the actual data to Github. Instead, it's pushed/pulled from a Deltares MinIO storage. I updated the instructions accordingly, increasing clarity a lot.

Copy link
Contributor

@deltamarnix deltamarnix left a comment

Choose a reason for hiding this comment

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

Amazing work. I think this is definitely going to help future testers to perform a whole bunch of tests.
Some things can likely still be automated, E.g., running the user acceptance tests can be done on Teamcity, and let testers only download the output to verify if it is correct?

* The tests should run without warnings from iMOD Python, unless unavoidable.
* The conversion of the transient LHM model run of 1 year on a daily timestep
(365 stress-periods) should run without memory overflow on a machine with 32
GB and write a model within 15 minutes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the tester test this by themselves, or does the output tell you?

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 output tells you that! It needs to be run on a 32 GB ram machine though, but I think the instructions are clear enough here?

Comment on lines +193 to +198
Build the documentation locally by running the following command in the root of
the repository:

.. code-block:: console

pixi run docs
Copy link
Contributor

Choose a reason for hiding this comment

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

Why should thisi be done locally? Isn't it possible to just download the files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Docs are published online only when creating a new release. This step is to test the docs before releasing, so better to do it locally I'd say.

@sonarqubecloud
Copy link

@JoerivanEngelen JoerivanEngelen added this pull request to the merge queue Aug 12, 2025
Merged via the queue into master with commit 4ff19b5 Aug 12, 2025
7 checks passed
@JoerivanEngelen JoerivanEngelen deleted the issue_#1373_add_test_plan branch August 12, 2025 16:31
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.

Write test plan of things that need to be tested for 1.0 release

3 participants