Changes between Version 1 and Version 2 of Ticket #341
- Timestamp:
- Sep 16, 2009, 2:16:57 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #341 – Description
v1 v2 2 2 3 3 Currently the code to put ASCelevations into ANUGA looks like:[[BR]] 4 convert_dem_from_ascii2netcdf(project.demname, ...)[[BR]]4 '''convert_dem_from_ascii2netcdf(project.demname, ...)[[BR]] 5 5 dem2pts(project.demname, ...)[[BR]] 6 6 domain = create_domain_...(...)[[BR]] 7 domain.set_quantity('elevation', project.demname+'.pts', ...) 7 domain.set_quantity('elevation', project.demname+'.pts', ...)''' 8 8 9 9 Hidden away under all that is the assumption that the filename passed to dem2pts() is just a root and '.dem' is *assumed* as the extension. This leads to confusion as:[[BR]]