Changes between Version 2 and Version 3 of Ticket #341
- Timestamp:
- Sep 16, 2009, 2:19:31 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #341 – Description
v2 v3 16 16 17 17 Similarly, a consistent function naming convention would be nice. In runcairns.py we see this to convert an ASC file to a DEM file:[[BR]] 18 convert_dem_from_ascii2netcdf(project.demname, ...)[[BR]]19 dem2pts(project.demname, ...) 18 '''convert_dem_from_ascii2netcdf(project.demname, ...)[[BR]] 19 dem2pts(project.demname, ...)''' 20 20 21 21 This could look like:[[BR]] 22 asc2dem(project.demname, ...)[[BR]]23 dem2pts(project.demname, ...) 22 '''asc2dem(project.demname, ...)[[BR]] 23 dem2pts(project.demname, ...)''' 24 24 25 25 or 26 convert_asc_to_dem(project.demname, ...)[[BR]]27 convert_dem_to_pts(project.demname, ...) 26 '''convert_asc_to_dem(project.demname, ...)[[BR]] 27 convert_dem_to_pts(project.demname, ...)''' 28 28 29 29 I general, a rethink on the 'user' code more from the aspect of 'a user just trying to run ANUGA' instead of an 'ANUGA developer' is called for.