Skip to content

Commit

Permalink
this should trim data correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrbortolotti committed Mar 16, 2021
1 parent 3844273 commit 9c80d9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weis/aeroelasticse/runFAST_pywrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def execute(self):
for i, channel in enumerate(openfastlib.output_channel_names):
output_dict[channel] = openfastlib.output_values[:,i]

output = OpenFASTOutput.from_dict(output_dict, self.FAST_namingOut, magnitude_channels=magnitude_channels, trim_data=(self.fst_vt['Fst']['TStart'],self.fst_vt['Fst']['TMax']))
output = OpenFASTOutput.from_dict(output_dict, self.FAST_namingOut, magnitude_channels=magnitude_channels)
output.trim_data(tmin = self.fst_vt['Fst']['TStart'], tmax=self.fst_vt['Fst']['TMax'])
case_name, sum_stats, extremes, dels = la._process_output(output)

# if save_file: write_fast
Expand Down

0 comments on commit 9c80d9b

Please sign in to comment.