Commit 59eeb233 authored by Philippe Delandmeter's avatar Philippe Delandmeter Committed by Jonathan Lambrechts
Browse files

vector numpy badly built. Fixed

parent 893b350c
Pipeline #1184 failed with stage
in 39 minutes and 45 seconds
......@@ -475,8 +475,8 @@ def read_temporal_serie(file_name, time=None, output_netcdf=None):
return valVec
else:
num_lines = sum(1 for line in open(file_name))
valVec = np.zeros((num_lines,1))
timeVec = np.zeros((num_lines,1))
valVec = np.zeros((num_lines))
timeVec = np.zeros((num_lines))
l = f.readline()
it = 0
while l != '' and it < 1e7:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment