Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian Pavese
WindEnergyToolbox
Commits
43de7cde
Commit
43de7cde
authored
8 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
prepost.windIO: also add msg_extra to pre-defined column names
parent
c6468079
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wetb/prepost/windIO.py
+1
-0
1 addition, 0 deletions
wetb/prepost/windIO.py
with
1 addition
and
0 deletions
wetb/prepost/windIO.py
+
1
−
0
View file @
43de7cde
...
@@ -429,6 +429,7 @@ class LogFile(object):
...
@@ -429,6 +429,7 @@ class LogFile(object):
# str and float datatypes for
# str and float datatypes for
msg_cols
=
[
'
msg_%i
'
%
i
for
i
in
range
(
30
)]
msg_cols
=
[
'
msg_%i
'
%
i
for
i
in
range
(
30
)]
msg_cols
.
extend
([
'
msg_%i
'
%
i
for
i
in
range
(
100
,
105
,
1
)])
msg_cols
.
extend
([
'
msg_%i
'
%
i
for
i
in
range
(
100
,
105
,
1
)])
msg_cols
.
append
(
'
msg_extra
'
)
dtypes
.
update
({
k
:
str
for
k
in
msg_cols
})
dtypes
.
update
({
k
:
str
for
k
in
msg_cols
})
# make the message/str columns long enough
# make the message/str columns long enough
min_itemsize
=
{
'
msg_%i
'
%
i
:
100
for
i
in
range
(
30
)}
min_itemsize
=
{
'
msg_%i
'
%
i
:
100
for
i
in
range
(
30
)}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment