Opened 19 years ago

Last modified 15 years ago

#87 closed defect

Refactor dem2pts — at Initial Version

Reported by: ole Owned by: duncan
Priority: low Milestone: AnuGA ready for release
Component: Efficiency and optimisation Version: 1.0
Severity: minor Keywords:
Cc:

Description

To save space and to simplify the API refactor the two functions asc2dem and dem2pts as follows:

Rename dem2pts to netcdf_dem2pts Create new function something like

def dem2pts(filename, ....):

basename, ext = os.path.splitext(filename) if ext == :

ext = 'asc' #Default

if ext == 'asc':

asc2dem(filename, ...) dem2pts(filename, ...) os.remove(basename + '.dem'

elif ext == 'dem':

dem2pts(filename, ...)

Change History (0)

Note: See TracTickets for help on using tickets.