Skip to content

Commit

Permalink
Move ofTools into ROSCO_toolbox folder for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jan 6, 2021
1 parent 3aab5c8 commit 7cd186c
Show file tree
Hide file tree
Showing 27 changed files with 19 additions and 19 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os, itertools
import numpy as np
from ofTools.util.FileTools import save_yaml
from ROSCO_toolbox.ofTools.util.FileTools import save_yaml

def save_case_matrix_direct(case_list, dir_matrix):
### assumes all elements of the list are dict for that case that has the same keys!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import os, sys, copy, itertools
import multiprocessing as mp

from ofTools.case_gen.CaseGen_General import CaseGen_General, save_case_matrix, save_case_matrix_yaml
from ofTools.fast_io.pyIECWind import pyIECWind_extreme, pyIECWind_turb
from ROSCO_toolbox.ofTools.case_gen.CaseGen_General import CaseGen_General, save_case_matrix, save_case_matrix_yaml
from ROSCO_toolbox.ofTools.fast_io.pyIECWind import pyIECWind_extreme, pyIECWind_turb

try:
from mpi4py import MPI
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
import multiprocessing as mp
# sys.path.insert(0, os.path.abspath(".."))

from ofTools.fast_io.FAST_reader import InputReader_Common, InputReader_OpenFAST, InputReader_FAST7
from ofTools.fast_io.FAST_writer import InputWriter_Common, InputWriter_OpenFAST, InputWriter_FAST7
from ofTools.fast_io.FAST_wrapper import FastWrapper
from ofTools.fast_io.FAST_post import FAST_IO_timeseries
from ROSCO_toolbox.ofTools.fast_io.FAST_reader import InputReader_Common, InputReader_OpenFAST, InputReader_FAST7
from ROSCO_toolbox.ofTools.fast_io.FAST_writer import InputWriter_Common, InputWriter_OpenFAST, InputWriter_FAST7
from ROSCO_toolbox.ofTools.fast_io.FAST_wrapper import FastWrapper
from ROSCO_toolbox.ofTools.fast_io.FAST_post import FAST_IO_timeseries

import numpy as np

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import print_function
from ofTools.fast_io.output_processing import output_processing
from ROSCO_toolbox.ofTools.fast_io.output_processing import output_processing
import ROSCO_toolbox

def FAST_IO_timeseries(fname):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from functools import reduce
import operator

from ofTools.fast_io.FAST_vars import FstModel
from ROSCO_toolbox.ofTools.fast_io.FAST_vars import FstModel
from ROSCO_toolbox.utilities import read_DISCON, load_from_txt
from ROSCO_toolbox import turbine as ROSCO_turbine
ROSCO = True
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from numpy import zeros, array
import numpy as np
from ofTools.fast_io.FAST_vars_out import FstOutput, Fst7Output
from ROSCO_toolbox.ofTools.fast_io.FAST_vars_out import FstOutput, Fst7Output

# This variable tree contains all parameters required to create a FAST model
# for FAST versions 7 and 8.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import numpy as np
from functools import reduce

from ofTools.fast_io.FAST_reader import InputReader_Common, InputReader_OpenFAST, InputReader_FAST7
from ofTools.fast_io.FAST_vars import FstModel
from ROSCO_toolbox.ofTools.fast_io.FAST_reader import InputReader_Common, InputReader_OpenFAST, InputReader_FAST7
from ROSCO_toolbox.ofTools.fast_io.FAST_vars import FstModel

from ROSCO_toolbox.utilities import write_rotor_performance, write_DISCON
ROSCO = True
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from itertools import takewhile
import struct

from ofTools.util import spectral
from ROSCO_toolbox.ofTools.util import spectral

class output_processing():
'''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import os, sys
# import matplotlib.pyplot as plt

from ofTools.fast_io.turbsim_io.turbsim_writer import TurbsimBuilder
from ofTools.fast_io.turbsim_io.turbsim_wrapper import Turbsim_wrapper
from ofTools.fast_io.turbsim_io.turbsim_vartrees import turbsiminputs
from ROSCO_toolbox.ofTools.fast_io.turbsim_io.turbsim_writer import TurbsimBuilder
from ROSCO_toolbox.ofTools.fast_io.turbsim_io.turbsim_wrapper import Turbsim_wrapper
from ROSCO_toolbox.ofTools.fast_io.turbsim_io.turbsim_vartrees import turbsiminputs

# from AeroelasticSE.Turbsim_mdao.pyturbsim_wrapper import pyTurbsim_wrapper

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from ofTools.fast_io.turbsim_io.turbsim_vartrees import turbsiminputs
from ofTools.fast_io.turbsim_io.turbulence_spectrum import turb_specs
from ofTools.fast_io.turbsim_io.wind_profile_writer import write_wind
from ROSCO_toolbox.ofTools.fast_io.turbsim_io.turbsim_vartrees import turbsiminputs
from ROSCO_toolbox.ofTools.fast_io.turbsim_io.turbulence_spectrum import turb_specs
from ROSCO_toolbox.ofTools.fast_io.turbsim_io.wind_profile_writer import write_wind
import os
import numpy as np
import random
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7cd186c

Please sign in to comment.