Skip to content

Commit 4cf0682

Browse files
authored
Merge pull request #50 from rthedin/f/fixturbsimspec
FF: Fix some issues with TurbSim-drive FF case setup
2 parents 649ab9c + 04ef646 commit 4cf0682

11 files changed

+865
-587
lines changed

openfast_toolbox/fastfarm/AMRWindSimulation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ def write_sampling_params(self, out=None, format='netcdf', overwrite=False):
735735
else:
736736
# full file given
737737
outfile = out
738+
if not os.path.exists(os.path.dirname(outfile)):
739+
os.makedirs(os.path.dirname(outfile))
738740
if not overwrite:
739741
if os.path.isfile(outfile):
740742
raise FileExistsError(f"{str(outfile)} already exists! Aborting...")

openfast_toolbox/fastfarm/FASTFarmCaseCreation.py

Lines changed: 139 additions & 126 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)