Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing framework #16

Open
1 of 2 tasks
dvalters opened this issue Jun 29, 2018 · 1 comment
Open
1 of 2 tasks

Testing framework #16

dvalters opened this issue Jun 29, 2018 · 1 comment

Comments

@dvalters
Copy link
Owner

dvalters commented Jun 29, 2018

It's time to have a proper testing framework for HAIL-CAESAR. Initially I'm thinking along the lines of a set of regression tests or functional integration tests for some standard test cases. Then finer-grained tests can be introduced as the code is refactored or as new functions are written etc.

Test cases with Known Good Answers (KGAs)

Start with some simple test cases that can be run as part of the code, without having to read in external input files. (Rainfall, DEM etc.)

To tick off here as they are added to the test battery:

Idealised topography

Planar surfaces, i.e. totally flat, sloping E-W, N-S. NW-SE etc. Water inputs can be coded in as constants or setting the water depths to a constant value at given points and letting the water run off. (Testing the main LISFLOOD-FP algorithm and boundary conditions)

For example, @aproeme has made these test cases in the idealised LISFLOOD code (no real topography)

Water held constant at a single central source point, checks that it is routed away from the centre correctly:

tempslope_bc

Real topography

I.e. Some standard test cases using DEM input with rainfall input. Boscastle and the Swale test cases would be good to use.

Short term, flash flood event style test cases

Longer term landscape evolution

etc..

@dvalters dvalters self-assigned this Jun 29, 2018
@dvalters dvalters added this to To Do in Testing Framework via automation Jun 29, 2018
@dvalters
Copy link
Owner Author

Some other ideas to jot down:

Serial vs Parallel

  • do we want/need bit reproducibility here?

Different configurations

  • Flood only
  • TOPMODEL
  • Erosion
  • Landsliding
  • Vegetation
  • Lateral bank erosion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant