Skip to content

Commit db6d035

Browse files
committed
Update JONSWAP
1 parent e286525 commit db6d035

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

modules/createEVENT/stochasticWave/Jonswap.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
input_args = sys.argv[1:]
3131

32-
print( # noqa: T201
33-
'Jonswap.py - Backend-script post_process_sensors.py running: '
34-
+ str(sys.argv[0])
35-
)
36-
print( # noqa: T201
37-
'post_process_sensors.py - Backend-script post_process_sensors.py received input args: '
38-
+ str(input_args)
39-
)
32+
# print( # noqa: T201
33+
# 'Jonswap.py - Backend-script post_process_sensors.py running: '
34+
# + str(sys.argv[0])
35+
# )
36+
# print( # noqa: T201
37+
# 'post_process_sensors.py - Backend-script post_process_sensors.py received input args: '
38+
# + str(input_args)
39+
# )
4040

4141
inputFile = sys.argv[1] # noqa: N816
4242
outputPath = sys.argv[2] # noqa: N816
@@ -47,7 +47,7 @@
4747
with open(inputFile, encoding='utf-8') as BIMFile: # noqa: PTH123
4848
bim = json.load(BIMFile)
4949
for event_id in range(1):
50-
print('Running a sample simulation with JSON input parameters') # noqa: T201
50+
# print('Running a sample simulation with JSON input parameters') # noqa: T201
5151
g = 9.80665 # gravity [m/s^2]
5252
rho = 1000.0 # water density
5353

@@ -165,7 +165,7 @@
165165

166166
# if (si == seeds[-1]):
167167

168-
print('Saving wave spectra and time series') # noqa: T201
168+
# print('Saving wave spectra and time series') # noqa: T201
169169
spectra_df = pd.DataFrame()
170170

171171
spectra_df['Frequency'] = freq

0 commit comments

Comments
 (0)