Changes between Version 2 and Version 3 of Ticket #341


Ignore:
Timestamp:
Sep 16, 2009, 2:19:31 PM (15 years ago)
Author:
rwilson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #341 – Description

    v2 v3  
    1616
    1717Similarly, 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]]
     19dem2pts(project.demname, ...)'''
    2020
    2121This could look like:[[BR]]
    22 asc2dem(project.demname, ...)[[BR]]
    23 dem2pts(project.demname, ...)
     22'''asc2dem(project.demname, ...)[[BR]]
     23dem2pts(project.demname, ...)'''
    2424
    2525or
    26 convert_asc_to_dem(project.demname, ...)[[BR]]
    27 convert_dem_to_pts(project.demname, ...)
     26'''convert_asc_to_dem(project.demname, ...)[[BR]]
     27convert_dem_to_pts(project.demname, ...)'''
    2828
    2929I 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.