nextsimhub / domain_decomp

Domain decomposition tool for the nextSIM-DG next-generation sea ice model.
Apache License 2.0
1 stars 0 forks source link

test: add integration test #63

Closed TomMelt closed 1 month ago

TomMelt commented 1 month ago

add an integration test for the domain decomp binary.

This test check effectively runs the decomp tool on test grid files test_1.nc and test_2.nc. Then it checks the output metadata files match references ones provided in test_[1,2]/ref_partition_*_3.cdl

Example commands that the test runs:

mpirun -n 3 ../decomp -g test_1.nc -x x -y y -m mask -o 'yx'
mpirun -n 3 ../decomp -g test_2.nc -x m -y n -m land_mask -o 'yx'
TomMelt commented 1 month ago

@jwallwork23 , what do you think of this 8bae01a :eyes: