Opened 12 years ago
Last modified 12 years ago
#375 closed defect
dem2pts change very slow — at Version 1
Reported by: | martins | Owned by: | ole |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Efficiency and optimisation | Version: | |
Severity: | major | Keywords: | |
Cc: |
Description (last modified by )
In dem2pts 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 (1)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Summary: | asc2dem change very slow → dem2pts change very slow |
Note: See
TracTickets for help on using
tickets.