-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
cmtb/frontback/frontBackNEW.py
Line 127 in d7f8882
| # begin by setting up input parameters |
frontback - frontBackNEW - V2 - function: swashSimSetup
Add:
grid = inputDict['modelSettings'].get('grid', '1D')
to input parameters and add grid = grid to 162-163:
wavepacket = prepdata.prep_spec_phaseResolved(rawspec, version_prefix, grid=grid, runDuration=runtime, nf=nf,
waveTimeList=DT.datetime.strptime(wrr.dateString, wrr.dateStringFmt))
Otherwise wavepacket returns none because version_prefix must equal base AND grid must equal 1D for prep_spec_phaseResolved to prep a SWASH wavepacket.
Metadata
Metadata
Assignees
Labels
No labels