Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dg
dg
Commits
59eeb233
Commit
59eeb233
authored
Oct 20, 2016
by
Philippe Delandmeter
Committed by
Jonathan Lambrechts
Oct 21, 2016
Browse files
vector numpy badly built. Fixed
parent
893b350c
Pipeline
#1184
failed with stage
in 39 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dgpy/scripts/slimPre.py
View file @
59eeb233
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment