Index: Scripts/e2o-getfromwci.py =================================================================== diff -u -rfbd077ecd824c16e9e207b542e5ee2f9f9ff92dd -ra6b939e08b980c412cc05d2dc0bf707e7f49d2c4 --- Scripts/e2o-getfromwci.py (.../e2o-getfromwci.py) (revision fbd077ecd824c16e9e207b542e5ee2f9f9ff92dd) +++ Scripts/e2o-getfromwci.py (.../e2o-getfromwci.py) (revision a6b939e08b980c412cc05d2dc0bf707e7f49d2c4) @@ -7,6 +7,7 @@ # Uncomment these if needed from numpy import * +import numpy as np from scipy import * from matplotlib import * from pylab import * @@ -136,7 +137,7 @@ if len(tot) == 0: tot = p_mean.copy() else: - tot = hstack((tot, p_mean)) + tot = np.hstack((tot, p_mean)) arcnt = 0 for a in timeObj: @@ -152,7 +153,7 @@ "PCRaster", lon, lat[::-1], - flipud(p_select[arcnt, :, :]), + np.flipud(p_select[arcnt, :, :]), -999.0, ) arcnt = arcnt + 1