Line | |
---|
1 | This test verifies that ascii grids are imported correctly. |
---|
2 | Joaquim Luis discovered that ANUGA misinterpreted the xllcorner and yllcorner |
---|
3 | parameters and devised this test to reveal the problem. See sourceforge mailing thread: http://sourceforge.net/mailarchive/forum.php?thread_name=4727D555.7010208%40ualg.pt&forum_name=anuga-user |
---|
4 | |
---|
5 | For testing purposes, the script was modified with use_cache=False. |
---|
6 | |
---|
7 | The error manifests itself when the dem (sub_region.asc, sub_region.prj) and the polygons (shallow.csv, out_rect.csv) in turned into a domain and the boundary condition defined in br_swan.sww is applied. With wrong pixel registration, the domain will be out by 0.5*cellsize and therefor outside the area covered by |
---|
8 | the boundary condition. |
---|
9 | |
---|
10 | -- |
---|
11 | It turned out that this test didn't reveal the registration problem after all |
---|
12 | (see sourceforge postings Nov 2007), but rather that ANUGA didn't |
---|
13 | give a proper error if the domain exceeds the boundary defined in Field_boundary. |
---|
14 | |
---|
15 | We don't want to raise an Exception, but the code now has appropriate warnings. |
---|
16 | This directory is therefore not really part of the validation suite after all. |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.