Skip to content

Commit 28eb3a9

Browse files
committed
Fix sign convention for longiotudinal wake from HEADTAIL tables
1 parent 8b34376 commit 28eb3a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xwakes/read_headtail_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def read_headtail_file(wake_file, wake_file_columns):
3636
if component != 'time':
3737
assert component in valid_wake_components
3838
if component == 'longitudinal':
39-
conversion_factor = 1E12
39+
conversion_factor = -1E12
4040
else:
4141
conversion_factor = 1E15
4242

@@ -45,4 +45,4 @@ def read_headtail_file(wake_file, wake_file_columns):
4545

4646
df = pd.DataFrame(data=dict_components)
4747

48-
return df
48+
return df

0 commit comments

Comments
 (0)