Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dtu-10mw-rwt
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
HAWC Reference Models
dtu-10mw-rwt
Merge requests
!8
Resolve "Delete extra files in utils"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Delete extra files in utils"
delete_extra_utils
into
master
Overview
0
Commits
1
Pipelines
2
Changes
4
Merged
Jenni Rinker
requested to merge
delete_extra_utils
into
master
4 years ago
Overview
0
Commits
1
Pipelines
2
Changes
4
Expand
Closes
#12 (closed)
Edited
4 years ago
by
Jenni Rinker
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3a887520
1 commit,
4 years ago
4 files
+
0
−
52
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
utils/1-make_htc_files.py deleted
100644 → 0
+
0
−
19
Options
# -*- coding: utf-8 -*-
"""
Create HAWCStab2 and step-wind files from base (turbulent) htc
"""
from
refutils
import
turb_to_hs2
,
turb_to_step
mod_dir
=
'
../dtu-10mw-rwt/
'
basename
=
'
DTU_10MW_RWT
'
htc_base
=
mod_dir
+
f
'
htc/
{
basename
}
.htc
'
kwargs
=
{}
# default kwargs in functions are for DTU 10 MW, no need to update
# HAWCSTAB2
hs2_path
=
mod_dir
+
f
'
{
basename
}
_hs2.htc
'
turb_to_hs2
(
htc_base
,
hs2_path
,
**
kwargs
)
# STEP WIND
step_path
=
mod_dir
+
f
'
htc/
{
basename
}
_step.htc
'
turb_to_step
(
htc_base
,
step_path
,
**
kwargs
)
Loading