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
wtlib
WindEnergyToolbox
Commits
7f696a5f
Commit
7f696a5f
authored
8 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
prepost.h2_vs_hs2: ch_name changed to unique_ch_name in windIO.ch_df
parent
cd59846b
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/h2_vs_hs2.py
+2
-2
2 additions, 2 deletions
wetb/prepost/h2_vs_hs2.py
with
2 additions
and
2 deletions
wetb/prepost/h2_vs_hs2.py
+
2
−
2
View file @
7f696a5f
...
...
@@ -727,7 +727,7 @@ class MappingsH2HS2(object):
msg
=
'
HAWC2 sensor type
"
%s
"
is missing, are they defined?
'
raise
ValueError
(
msg
%
sensortype
)
sel
.
sort_values
([
'
radius
'
],
inplace
=
True
)
tors_e_channels
=
sel
.
ch_name
.
tolist
()
tors_e_channels
=
sel
.
unique_
ch_name
.
tolist
()
# find the current case in the statistics DataFrame
case
=
fname
.
replace
(
'
.htc
'
,
''
)
...
...
@@ -737,7 +737,7 @@ class MappingsH2HS2(object):
# join the stats with the channel descriptions DataFrames, have the
# same name on the joining column
df_tors_e
.
set_index
(
'
channel
'
,
inplace
=
True
)
sel
.
set_index
(
'
ch_name
'
,
inplace
=
True
)
sel
.
set_index
(
'
unique_
ch_name
'
,
inplace
=
True
)
# joining happens on the index, and for which the same channel has been
# used: the unique HAWC2 channel naming scheme
...
...
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