Opened 12 years ago

Last modified 12 years ago

#375 closed defect

asc2dem change very slow — at Initial Version

Reported by: martins Owned by: ole
Priority: normal Milestone:
Component: Efficiency and optimisation Version:
Severity: major Keywords:
Cc:

Description

In asc2dem there is a change to an iterative process which takes an order of magnitude longer to complete, starting from line 241:

if upper_index == lower_index + newcols:

# Seems to be an error with the windows version of # Netcdf. The following gave errors #points[lower_index:upper_index, :] = tpoints #elevation[lower_index:upper_index] = telev # so used the following for index in range(newcols):

points[index+lower_index, :] = tpoints[index,:] elevation[index+lower_index] = telev[index]

Not sure what the netcdf problem is but maybe this is not the way to deal with it?

Change History (0)

Note: See TracTickets for help on using tickets.