Skip to content

Commit 86ca170

Browse files
authored
Merge branch 'main' into fam_ffarm
2 parents 8779a69 + 4cf0682 commit 86ca170

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)