source: trunk/anuga_work/development/pixel_registration/README.txt @ 7924

Last change on this file since 7924 was 4820, checked in by ole, 17 years ago

Addressed ticket:217

File size: 1.1 KB
Line 
1This test verifies that ascii grids are imported correctly.
2Joaquim Luis discovered that ANUGA misinterpreted the xllcorner and yllcorner
3parameters 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
5For testing purposes, the script was modified with use_cache=False.
6
7The 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
8the boundary condition.
9
10--
11It 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
13give a proper error if the domain exceeds the boundary defined in Field_boundary.
14
15We don't want to raise an Exception, but the code now has appropriate warnings.
16This directory is therefore not really part of the validation suite after all.
17 
Note: See TracBrowser for help on using the repository browser.