Opened 18 years ago
Closed 14 years ago
#87 closed defect (fixed)
Refactor dem2pts
Reported by: | ole | Owned by: | hudson |
---|---|---|---|
Priority: | low | Milestone: | AnuGA ready for release |
Component: | Efficiency and optimisation | Version: | 1.0 |
Severity: | minor | Keywords: | |
Cc: |
Description (last modified by ole)
To save space and to simplify the API refactor the two functions asc2dem and dem2pts as follows:
Rename dem2pts to netcdf_dem2pts and create new function something like
def dem2pts(filename, ....): basename, ext = os.path.splitext(filename) if ext == '': ext = 'asc' #Default if ext == 'asc': asc2dem(filename, ...) netcdf_dem2pts(filename, ...) os.remove(basename + '.dem' elif ext == 'dem': netcdf_dem2pts(filename, ...)
Change History (9)
comment:1 Changed 18 years ago by ole
- Description modified (diff)
comment:2 Changed 18 years ago by ole
- Description modified (diff)
comment:3 Changed 18 years ago by anonymous
- Priority changed from normal to low
comment:4 Changed 16 years ago by ole
- Owner changed from duncan to rwilson
comment:5 Changed 15 years ago by rwilson
- Owner changed from rwilson to nhabili
comment:6 Changed 15 years ago by ole
- Owner changed from nhabili to nariman
comment:7 Changed 14 years ago by hudson
- Owner changed from nariman to hudson
comment:8 Changed 14 years ago by hudson
comment:9 Changed 14 years ago by hudson
- Resolution set to fixed
- Status changed from new to closed
Done - 1-line fix to the new dem2pts.
Note: See
TracTickets for help on using
tickets.
There is no longer any asc2dem function - is this task still valid?