source: anuga_validation/automated_validation_tests/pixel_registration/README.txt @ 4810

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

Moved files from joaquim_luis into the autovalidation suite to check problems with pixel registration of ESRI ASCII data.
Currently, this test will fail.

File size: 873 bytes
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
10After Joaquim's fix (November 2007), this passed.
11
12The file layer01.png shows the polygons constituting this example.
Note: See TracBrowser for help on using the repository browser.